update cin.po, goog xlat update xx.po
[goodguy/history.git] / cinelerra-5.1 / guicast / bcwindowbase.h
index 4d0e45679bfc9b3fd436849f19c657de301c23bc..994da7b0dc87d45d1a9641a0a6a2edb7a25736b3 100644 (file)
 #ifndef BCWINDOWBASE_H
 #define BCWINDOWBASE_H
 
-#if defined(HAVE_CONFIG_H)
-#include "config.h"
-#endif
-
-//#define HAVE_LIBXXF86VM
-
 // Window types
 #define MAIN_WINDOW 0
 #define SUB_WINDOW 1
@@ -483,6 +477,7 @@ public:
        void slide_right(int distance);
        void slide_up(int distance);
        void slide_down(int distance);
+       void flicker(int n=3, int ms=66);
 
        int cycle_textboxes(int amount);
 
@@ -571,7 +566,7 @@ private:
        int trigger_tooltip();
        int untrigger_tooltip();
        void draw_tooltip();
-       int arm_repeat(int64_t duration);
+       static XEvent *new_xevent();
 // delete all repeater opjects for a close
        int unset_all_repeaters();
 
@@ -586,6 +581,7 @@ private:
 
 // Recursive event dispatchers
        int dispatch_resize_event(int w, int h);
+       int dispatch_flash();
        int dispatch_focus_in();
        int dispatch_focus_out();
        int dispatch_motion_event();
@@ -604,7 +600,7 @@ private:
        int dispatch_expose_event();
 
 // Get the port ID for a color model or return -1 for failure
-       int grab_port_id(BC_WindowBase *window, int color_model);
+       int grab_port_id(int color_model);
 
        int find_next_textbox(BC_WindowBase **first_textbox, BC_WindowBase **next_textbox, int &result);
        int find_prev_textbox(BC_WindowBase **last_textbox, BC_WindowBase **prev_textbox, int &result);
@@ -699,6 +695,7 @@ private:
 #ifndef SINGLE_THREAD
 // Array of repeaters for multiple repeating objects.
        ArrayList<BC_Repeater*> repeaters;
+       int arm_repeat(int64_t duration);
 #endif
 // Text for tooltip if one exists
        const char *tooltip_text;
@@ -713,7 +710,7 @@ private:
 // If this subwindow has already shown a tooltip since the last EnterNotify
        int tooltip_done;
        int options;
-
+       int flash_enabled;
 
 
 // Font sets