USER FORUM
(you are viewing a thread; or go back to list of threads)
What is behind Line command? (by cean)
Hi,
When draw a Line, which function save the point?
Regards,
Cean
In graphicswin.cpp, this part code is:
case Command::DATUM_POINT: s = _("click to place datum point"); goto c;
.
.
.
c:
SS.GW.pending.operation = GraphicsWindow::Pending::COMMAND;
SS.GW.pending.command = id;
SS.GW.pending.description = s;
SS.ScheduleShowTW();
SS.GW.Invalidate(); // repaint toolbar
break;
When draw a Line, which function save the point?
Regards,
Cean
In graphicswin.cpp, this part code is:
case Command::DATUM_POINT: s = _("click to place datum point"); goto c;
.
.
.
c:
SS.GW.pending.operation = GraphicsWindow::Pending::COMMAND;
SS.GW.pending.command = id;
SS.GW.pending.description = s;
SS.ScheduleShowTW();
SS.GW.Invalidate(); // repaint toolbar
break;
(no subject) (by cean)
case Command::LINE_SEGMENT: s = _("click first point of line segment"); goto c;
Post a reply to this comment: