Change cursors used in control line edit mode
Panning cursor is the open hand icon and draw cursor is the crosshair icon.
This commit is contained in:
parent
a56c1fbb07
commit
2804480585
@ -32,7 +32,7 @@ using namespace rtengine;
|
|||||||
ControlLineManager::ControlLineManager():
|
ControlLineManager::ControlLineManager():
|
||||||
EditSubscriber(ET_OBJECTS),
|
EditSubscriber(ET_OBJECTS),
|
||||||
canvas_area(new Rectangle()),
|
canvas_area(new Rectangle()),
|
||||||
cursor(CSCrosshair),
|
cursor(CSHandOpen),
|
||||||
draw_mode(false),
|
draw_mode(false),
|
||||||
drawing_line(false),
|
drawing_line(false),
|
||||||
edited(false),
|
edited(false),
|
||||||
@ -285,9 +285,9 @@ bool ControlLineManager::mouseOver(int modifierKey)
|
|||||||
|
|
||||||
if (cur_obj == 0) { // Canvas
|
if (cur_obj == 0) { // Canvas
|
||||||
if (draw_mode && modifierKey & GDK_CONTROL_MASK) {
|
if (draw_mode && modifierKey & GDK_CONTROL_MASK) {
|
||||||
cursor = CSPlus;
|
|
||||||
} else {
|
|
||||||
cursor = CSCrosshair;
|
cursor = CSCrosshair;
|
||||||
|
} else {
|
||||||
|
cursor = CSHandOpen;
|
||||||
}
|
}
|
||||||
} else if (cur_obj < 0) { // Nothing
|
} else if (cur_obj < 0) { // Nothing
|
||||||
cursor = CSArrow;
|
cursor = CSArrow;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user