Searched refs:currentSegment (Results 1 - 2 of 2) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/samples/docview/
H A Dview.cpp229 static DoodleSegment *currentSegment = (DoodleSegment *) NULL; local
238 if (currentSegment && event.LeftUp())
240 if (currentSegment->lines.GetCount() == 0)
242 delete currentSegment;
243 currentSegment = (DoodleSegment *) NULL;
250 doc->GetCommandProcessor()->Submit(new DrawingCommand(_T("Add Segment"), DOODLE_ADD, doc, currentSegment));
253 currentSegment = (DoodleSegment *) NULL;
259 if (!currentSegment)
260 currentSegment = new DoodleSegment;
267 currentSegment
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/samples/docvwmdi/
H A Dview.cpp208 static DoodleSegment *currentSegment = (DoodleSegment *) NULL; local
217 if (currentSegment && event.LeftUp())
219 if (currentSegment->lines.GetCount() == 0)
221 delete currentSegment;
222 currentSegment = (DoodleSegment *) NULL;
229 doc->GetCommandProcessor()->Submit(new DrawingCommand(_T("Add Segment"), DOODLE_ADD, doc, currentSegment));
232 currentSegment = (DoodleSegment *) NULL;
238 if (!currentSegment)
239 currentSegment = new DoodleSegment;
246 currentSegment
[all...]

Completed in 196 milliseconds