X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Ftitler%2Ftitlerwindow.h;h=0a5122b485470e6a4f3ca16c9a4d5229b3b1eea9;hb=c0fe374d9f9ab1653e9cc2edb41afb076eeae69f;hp=def051b8670215b54b0b5099db9ab914d3e43edf;hpb=3ad39dda113124e7e1bb11a808541e6311417863;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/titler/titlerwindow.h b/cinelerra-5.1/plugins/titler/titlerwindow.h index def051b8..0a5122b4 100644 --- a/cinelerra-5.1/plugins/titler/titlerwindow.h +++ b/cinelerra-5.1/plugins/titler/titlerwindow.h @@ -29,6 +29,7 @@ class TitleWindow; class TitleInterlace; #include "colorpicker.h" +#include "dragcheckbox.h" #include "filexml.h" #include "mutex.h" #include "titler.h" @@ -89,7 +90,7 @@ public: void create_objects(); int resize_event(int w, int h); - int grab_event(XEvent *event); + void update_drag(); void update_color(); void update_justification(); void update_stats(); @@ -233,11 +234,15 @@ public: TitleMain *client; TitleWindow *window; }; -class TitleDrag : public BC_CheckBox +class TitleDrag : public DragCheckBox { public: TitleDrag(TitleMain *client, TitleWindow *window, int x, int y); int handle_event(); + void update_gui(); + Track *get_drag_track(); + int64_t get_drag_position(); + TitleMain *client; TitleWindow *window; };