X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fguicast%2Fbclistbox.h;h=f5994d53aa935322c0f522aa98bcd541d9666c23;hb=b55798fc64eee00c6fab3b4763e791befb7275f9;hp=5ea18865e6679f41e05d261f9fa1d3364265eda6;hpb=3ac8199743f244669cc87ceef9c3cd23710552f3;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/guicast/bclistbox.h b/cinelerra-5.1/guicast/bclistbox.h index 5ea18865..f5994d53 100644 --- a/cinelerra-5.1/guicast/bclistbox.h +++ b/cinelerra-5.1/guicast/bclistbox.h @@ -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 @@ -106,8 +106,6 @@ public: int allow_drag = 0); // Allow user to drag icons around virtual ~BC_ListBox(); - friend class BC_ListBoxToggle; - int initialize(); // User event handler for new selections @@ -199,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 *data, @@ -507,7 +507,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;