refresh frame fix, dblclk proxy viewer fix, vicon refresh fix for awdw resize, fix...
[goodguy/history.git] / cinelerra-5.1 / guicast / bclistbox.h
index e0654105acf39b007dae887f99372a3d8723c5a9..78c4315b79137e3d8da4e6fc2b8c579e6514834a 100644 (file)
@@ -27,7 +27,7 @@
 #include "bcscrollbar.h"
 #include "bcsubwindow.h"
 #include "bctoggle.h"
-#include "colors.h"
+#include "bccolors.h"
 
 #define BCPOPUPLISTBOX_W 25
 #define BCPOPUPLISTBOX_H 25
@@ -197,7 +197,9 @@ public:
 // Must be called in the constructor.
        void set_use_button(int value);
        void set_is_suggestions(int value);
-
+       void set_scroll_repeat();
+       void unset_scroll_repeat();
+       int scroll_repeat;
 
 // change the contents
        int update(ArrayList<BC_ListBoxItem*> *data,
@@ -322,6 +324,8 @@ public:
 // Draw the list items
        int draw_items(int flash, int bg_draw=0);
 
+       int get_cursor_item();
+
 private:
        void delete_columns();
        void set_columns(const char **column_titles,
@@ -505,7 +509,7 @@ private:
 // Size of the popup if there is one
        char **column_titles;
        int *column_width;
-       int default_column_width[1];
+       int default_column_width[32];
        int columns;
        int master_column;
        int search_column;
@@ -586,6 +590,7 @@ private:
 // More state variables
        int button_highlighted;
        int list_highlighted;
+       int packed_icons;
 // item cursor is over.  May not exist in tables.
 // Must be an index since this is needed to change the database.
        int highlighted_item;