projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rework histogram_bezier, init wm icon set_icon(gg), update de.po+msg/txt
[goodguy/history.git]
/
cinelerra-5.1
/
guicast
/
bclistbox.h
diff --git
a/cinelerra-5.1/guicast/bclistbox.h
b/cinelerra-5.1/guicast/bclistbox.h
index ce867ef88ecc196efd0dfd3b6d9f2c79a881a11f..6bdd2c041a35e0d202310a27b9c199d3bc7e864d 100644
(file)
--- a/
cinelerra-5.1/guicast/bclistbox.h
+++ b/
cinelerra-5.1/guicast/bclistbox.h
@@
-191,6
+191,12
@@
public:
int activate(int x, int y, int w=-1, int h=-1);
int deactivate();
int is_active();
int activate(int x, int y, int w=-1, int h=-1);
int deactivate();
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);
int translation_event();
int repeat_event(int64_t duration);
@@
-332,7
+338,6
@@
public:
// Draw the list items
int draw_items(int flash, int bg_draw=0);
int is_highlighted();
// Draw the list items
int draw_items(int flash, int bg_draw=0);
int is_highlighted();
- int get_cursor_item();
private:
void delete_columns();
private:
void delete_columns();
@@
-440,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.
// 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,
int get_cursor_item(ArrayList<BC_ListBoxItem*> *data,
int cursor_x,
int cursor_y,