projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add missed language decl
[goodguy/history.git]
/
cinelerra-5.1
/
guicast
/
bclistbox.C
diff --git
a/cinelerra-5.1/guicast/bclistbox.C
b/cinelerra-5.1/guicast/bclistbox.C
index 6468b89fa4537bbfe9fb24ddbdc59252e62f3b2c..1b5c66fdb077c5dc1826bdf6827c711cda96fe6e 100644
(file)
--- a/
cinelerra-5.1/guicast/bclistbox.C
+++ b/
cinelerra-5.1/guicast/bclistbox.C
@@
-732,9
+732,10
@@
void BC_ListBox::calculate_last_coords_recursive(
// Lowest right icon coordinate.
current_icon_x = item->icon_x;
if(current_icon_x > *icon_x) *icon_x = current_icon_x;
// Lowest right icon coordinate.
current_icon_x = item->icon_x;
if(current_icon_x > *icon_x) *icon_x = current_icon_x;
- if(current_icon_x + get_item_w(item) > *next_icon_x)
+ if(current_icon_x + get_item_w(item) > *next_icon_x)
{
*next_icon_x = current_icon_x + get_item_w(item);
*next_icon_x = current_icon_x + get_item_w(item);
-
+ *next_icon_y = 0;
+ }
current_icon_y = item->icon_y + get_item_h(item);
if(current_icon_y > *next_icon_y)
*next_icon_y = current_icon_y;
current_icon_y = item->icon_y + get_item_h(item);
if(current_icon_y > *next_icon_y)
*next_icon_y = current_icon_y;
@@
-2419,9
+2420,8
@@
int BC_ListBox::get_cursor_item(ArrayList<BC_ListBoxItem*> *data,
}
}
}
}
}
}
- else
+ else
if( gui ) {
// Text is treed
// Text is treed
- {
// Cursor is inside items rectangle
if(cursor_x >= 0 &&
cursor_x < (yscrollbar ?
// Cursor is inside items rectangle
if(cursor_x >= 0 &&
cursor_x < (yscrollbar ?