X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;ds=sidebyside;f=cinelerra-5.1%2Fguicast%2Fbcwindowbase.h;h=cd4dcd08bb766d5c5862531be2272fe074e47089;hb=1d4f5d708de0d8ec19300b417354a3374d00ed47;hp=ca73b39e61c696d37648cf3243243475ece56daa;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/guicast/bcwindowbase.h b/cinelerra-5.1/guicast/bcwindowbase.h index ca73b39e..cd4dcd08 100644 --- a/cinelerra-5.1/guicast/bcwindowbase.h +++ b/cinelerra-5.1/guicast/bcwindowbase.h @@ -173,6 +173,7 @@ public: friend class BC_Tumbler; friend class BC_Window; friend class BC_WindowEvents; + friend class Shuttle; // Main loop int run_window(); @@ -250,6 +251,7 @@ public: int lock_window(const char *location = 0); int unlock_window(); int get_window_lock(); + int break_lock(); BC_MenuBar* add_menubar(BC_MenuBar *menu_bar); BC_WindowBase* add_subwindow(BC_WindowBase *subwindow); @@ -310,6 +312,7 @@ public: int get_dragging(); wchar_t* get_wkeystring(int *length = 0); int get_keypress(); + int get_keysym() { return keysym; } #ifdef X_HAVE_UTF8_STRING char* get_keypress_utf8(); #endif @@ -583,7 +586,7 @@ private: XFontSet get_fontset(int font); XFontSet get_curr_fontset(void); void set_fontset(int font); - int dispatch_event(XEvent *event); + int dispatch_event(); int get_key_masks(unsigned int key_state);