vicon jittering, opengl no draw_refresh if no ovly for last frame
[goodguy/history.git] / cinelerra-5.1 / guicast / bclistboxitem.h
index 4ec0e475c16a6b539ed58ca7d1e5ed4b71818e74..78db9d663e68f8b4f9afe838baf4c24eef54f90c 100644 (file)
@@ -24,7 +24,7 @@
 
 #include "arraylist.h"
 #include "bcpixmap.inc"
-#include "colors.h"
+#include "bccolors.h"
 #include "vframe.h"
 
 
@@ -81,6 +81,7 @@ public:
        void set_icon_vframe(VFrame *p) { icon_vframe = p; }
        void set_color(int v) { color = v; }
        int get_color() { return color; }
+       virtual VFrame *get_vicon_frame() { return 0; }
 
        void copy_from(BC_ListBoxItem *item);
        BC_ListBoxItem& operator=(BC_ListBoxItem& item) {
@@ -99,10 +100,13 @@ public:
 // Return if it's expanded
        int get_expand() { return expand; }
        void set_expand(int value) { expand = value; }
+// alpha sort on text
+       static void sort_items(ArrayList<BC_ListBoxItem*> &items);
 
 private:
        int initialize();
        void set_in_view(int v) { in_view = v; }
+       static int compare_item_text(const void *a, const void *b);
 
        BC_Pixmap *icon;
        VFrame *icon_vframe;