clip folder bug on reload, expander user folder drag/drop segv, remove libfdk src...
[goodguy/history.git] / cinelerra-5.1 / guicast / bclistbox.h
index ba3819ae1b173bc9e0094bdb5bc9a205101bc0d0..6bdd2c041a35e0d202310a27b9c199d3bc7e864d 100644 (file)
@@ -193,6 +193,11 @@ public:
        int is_active();
        int expander_active();
 
+// get item no at current cursor position
+       int get_cursor_item_no();
+// get top data item no, and item at current cursor position
+       int get_cursor_data_item_no(BC_ListBoxItem **item_return=0);
+
        int translation_event();
        int repeat_event(int64_t duration);
        BC_DragWindow* get_drag_popup();
@@ -333,7 +338,6 @@ public:
 // Draw the list items
        int draw_items(int flash, int bg_draw=0);
        int is_highlighted();
-       int get_cursor_item();
 
 private:
        void delete_columns();
@@ -441,7 +445,8 @@ private:
 // Points *item_return to the first item in the row or 0 if no item was found.
 // if it's nonzero.  Returns -1 if no item was found.  Clamps the y coordinate
 // only if the current operation is not SELECT, so scrolling is possible.
-// expanded - 1 if items in this table should be tested for cursor coverage
+// expanded = 1 if items in this table should be tested for cursor coverage
+// expanded = -1 returns only the top level master column index/item
        int get_cursor_item(ArrayList<BC_ListBoxItem*> *data,
                int cursor_x,
                int cursor_y,