Commit Graph

8 Commits

Author SHA1 Message Date
Lawrence Lee
5f88cf240e Use enums for on-preview geometry 2021-05-30 11:51:49 -07:00
Lawrence Lee
56e634da81 Improve control lines dragging behavior
Fix control line not updating when dragging and allow dragging when
starting with the mouse cursor outside the preview image area.
2021-05-23 21:45:23 -07:00
Lawrence Lee
051d69331f Fix control line and spot removal spot highlight
Return the geometry color to normal (white) when exiting edit mode.
2021-05-23 12:10:40 -07:00
Lawrence Lee
3ade11c970 Leave control lines in good state on commit
When exiting perspective control line editing mode while dragging a
control line, set the geometry and control line state to the appropriate
state corresponding to when lines are not being dragged.
2021-05-22 18:17:30 -07:00
Lawrence Lee
1b7ddf2b31 Fix perspective and local adjustments cursor icons
Correctly override the getCursor virtual function.
2021-05-14 22:20:25 -07:00
Lawrence Lee
2804480585 Change cursors used in control line edit mode
Panning cursor is the open hand icon and draw cursor is the crosshair
icon.
2020-07-20 16:55:14 -07:00
Lawrence Lee
ef405eeb1d Apply astyle to rtgui/controllines.* 2020-07-12 15:44:58 -07:00
Lawrence Lee
06caf40598 Move control lines code to new files 2020-07-12 15:19:10 -07:00