X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Ftitler%2Ftitlerwindow.h;h=0a5122b485470e6a4f3ca16c9a4d5229b3b1eea9;hp=def051b8670215b54b0b5099db9ab914d3e43edf;hb=9a16c85641dee9f15136f40c8a3195d88d45513f;hpb=38781123230e8017af7b11621a78f63fa33a764e 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; };