add resource wdw folder expanders, fix plugin close deadlock detect
[goodguy/history.git] / cinelerra-5.1 / guicast / bclistboxitem.h
index a77519a95f09bfaca1553e249820a5d28b98aef5..229b31ef3dcb25d40fddbe3d53341ec3f6cbffaf 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) {
@@ -91,6 +92,7 @@ public:
 
 // The item with the sublist must be in column 0.  Only this is searched by
 // BC_ListBox.
+       int sublist_active() { return sublist && expand ? 1 : 0; }
 // Mind you, sublists are ignored in icon mode.
        ArrayList<BC_ListBoxItem*>* new_sublist(int columns);
        ArrayList<BC_ListBoxItem*>* get_sublist() { return sublist; }