Better handling of the autoresize feature of the curve editors. Not ideal yet, but way better.

This commit is contained in:
Hombre
2011-04-05 01:16:18 +02:00
parent 5d008fdcf7
commit 4cd7c22940
12 changed files with 87 additions and 71 deletions

View File

@@ -30,7 +30,7 @@ MyCurve::MyCurve () : listener(NULL) {
buttonPressed = false;
snapTo = ST_None;
colorProvider = NULL;
sized = false;
sized = RS_Pending;
set_extension_events(Gdk::EXTENSION_EVENTS_ALL);
add_events(Gdk::EXPOSURE_MASK | Gdk::POINTER_MOTION_MASK | Gdk::POINTER_MOTION_HINT_MASK | Gdk::ENTER_NOTIFY_MASK | Gdk::LEAVE_NOTIFY_MASK | Gdk::BUTTON_PRESS_MASK | Gdk::BUTTON_RELEASE_MASK | Gdk::BUTTON1_MOTION_MASK);