X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Ftimebar.h;h=3032aa0b9f04f46d41166401ab1187939c76e6f8;hp=54d952c45c5bf252377141da084b4f0adfedcc3b;hb=2e48b660e37eb5c661264d601211e16cb6cd6e89;hpb=d60a59baa6cfe24c0fb153ed9e150a834ba29feb diff --git a/cinelerra-5.1/cinelerra/timebar.h b/cinelerra-5.1/cinelerra/timebar.h index 54d952c4..3032aa0b 100644 --- a/cinelerra-5.1/cinelerra/timebar.h +++ b/cinelerra-5.1/cinelerra/timebar.h @@ -48,6 +48,7 @@ class PresentationGUI; #define TIMEBAR_DRAG_LEFT 2 #define TIMEBAR_DRAG_RIGHT 3 #define TIMEBAR_DRAG_CENTER 4 +#define TIMEBAR_DRAG_LABEL 5 class LabelGUI : public BC_Toggle { @@ -64,9 +65,12 @@ public: virtual int handle_event(); static int get_y(MWindow *mwindow, TimeBar *timebar); void reposition(int flush = 1); + void update_value(); + int test_drag_label(int press); Label *label; int button_press_event(); + int button_release_event(); MWindow *mwindow; VWindowGUI *gui; TimeBar *timebar; @@ -189,6 +193,7 @@ public: // Operation started by a buttonpress int current_operation; + LabelGUI *drag_label; private: int get_preview_pixels(int &x1, int &x2);