ffmpeg seek fixes, asset only pastes, plugin info, remove vocoder, misc fixes
[goodguy/history.git] / cinelerra-5.1 / guicast / bclistbox.h
index 7a61af7120ff551de5fc6fd724421339f66b365d..442a8245f5c7e43ae09efa699c066fcfb216d37d 100644 (file)
@@ -45,6 +45,7 @@ public:
                          int position);
        ~BC_ListBoxYScroll();
        int handle_event();
+       int update_length(int64_t length, int64_t position, int64_t handlelength, int flush);
 private:
        BC_ListBox *listbox;
 };
@@ -58,6 +59,7 @@ public:
                          int position);
        ~BC_ListBoxXScroll();
        int handle_event();
+       int update_length(int64_t length, int64_t position, int64_t handlelength, int flush);
 private:
        BC_ListBox *listbox;
 };
@@ -189,13 +191,15 @@ public:
        virtual int drag_motion_event();
        virtual int drag_stop_event();
 
-       int deactivate();
 // After popping up a menu call this to interrupt the selection process
        void deactivate_selection();
 
 // take_focus - used by the suggestion box to keep it from taking focus from the
 // textbox
        int activate(int take_focus = 1);
+       int activate(int x, int y, int w=-1, int h=-1);
+       int deactivate();
+       int is_active();
 
        int translation_event();
        int repeat_event(int64_t duration);
@@ -251,6 +255,9 @@ public:
        void set_justify(int value);
        int get_w() { return is_popup ? BCPOPUPLISTBOX_W : popup_w; }
        int get_h() { return is_popup ? BCPOPUPLISTBOX_H : popup_h; }
+       int gui_tooltip(const char *text) {
+               return is_popup && gui ? gui->show_tooltip(text, gui->get_w(),0, -1,-1) : -1;
+       }
        int get_view_w() { return view_w; }
        int get_view_h() { return view_h; }
        int get_row_height() { return row_height; }
@@ -273,6 +280,9 @@ public:
 
 
        void reset_query();
+       int get_show_query() { return show_query; }
+       void set_show_query(int v) { show_query = v; }
+
        int reposition_window(int x,
                int y,
                int w = -1,
@@ -501,7 +511,7 @@ private:
        BC_ListBoxYScroll *yscrollbar;
        ArrayList<BC_ListBoxToggle*> expanders;
        char query[BCTEXTLEN];
-
+       int show_query;
 
 // Window containing the listbox
        BC_WindowBase *gui;
@@ -532,7 +542,6 @@ private:
        int list_background;
 
 
-
 // Popup button
        BC_Pixmap *button_images[4];
 // Expander