X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fcwindow.h;h=449cc468ccc2b68c93305285d73def8d812a7d8e;hp=e6a9b9448a572d9f57e3f5d5e72a13e7fd85bfca;hb=ddfda6a8cc59bda4dc734973c1c5fecaa31ea487;hpb=47f71d004db08fb289428240fb87ce97c64382d2 diff --git a/cinelerra-5.1/cinelerra/cwindow.h b/cinelerra-5.1/cinelerra/cwindow.h index e6a9b944..449cc468 100644 --- a/cinelerra-5.1/cinelerra/cwindow.h +++ b/cinelerra-5.1/cinelerra/cwindow.h @@ -49,6 +49,7 @@ public: int timebar = 0); void run(); Track* calculate_affected_track(); + Track* calculate_mask_track(); // Get keyframe for editing in the CWindow. // create - if 0 forces automatic creation to be off // if 1 uses automatic creation option to create @@ -71,6 +72,7 @@ public: void refresh_frame(int change_type, EDL *edl, int dir=1); int destination; + int mask_track_id; MWindow *mwindow; CWindowGUI *gui; @@ -78,14 +80,18 @@ public: CPlayback *playback_engine; }; -class CWindowRemoteHandler : public RemoteHandler +class CWindowKeyEvHandler : public RemoteHandler { - int last_key; public: + CWindowKeyEvHandler(RemoteControl *remote_control); + ~CWindowKeyEvHandler(); + int remote_key(int key); int remote_process_key(RemoteControl *remote_control, int key); + int is_keytv() { return 1; } - CWindowRemoteHandler(RemoteControl *remote_control); - ~CWindowRemoteHandler(); + int key, last_key; + RemoteControl *remote_control; + MWindow *mwindow; }; #endif