vicon jittering, opengl no draw_refresh if no ovly for last frame
[goodguy/history.git] / cinelerra-5.1 / guicast / bclistboxitem.h
index bb9bc126d6851d8d553347e4fa1d419bd39a5367..78db9d663e68f8b4f9afe838baf4c24eef54f90c 100644 (file)
@@ -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;