projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
asset menu size fixups, new picons+prefs, more timecode del, stretch scrollbars,...
[goodguy/history.git]
/
cinelerra-5.1
/
cinelerra
/
labelpopup.C
diff --git
a/cinelerra-5.1/cinelerra/labelpopup.C
b/cinelerra-5.1/cinelerra/labelpopup.C
index ee25db46670e0b7b02e7cf4c247e9118e3843a23..65128cf7446be67aee878fd6bbacce9058e99410 100644
(file)
--- a/
cinelerra-5.1/cinelerra/labelpopup.C
+++ b/
cinelerra-5.1/cinelerra/labelpopup.C
@@
-75,8
+75,11
@@
LabelPopupEdit::~LabelPopupEdit()
int LabelPopupEdit::handle_event()
{
AssetPicon *result = (AssetPicon*)gui->asset_list->get_selection(0,0);
int LabelPopupEdit::handle_event()
{
AssetPicon *result = (AssetPicon*)gui->asset_list->get_selection(0,0);
- if( result && result->label )
- gui->awindow->label_edit->start(result->label);
+ if( result && result->label ) {
+ int cur_x, cur_y;
+ gui->get_abs_cursor_xy(cur_x, cur_y, 0);
+ gui->awindow->label_edit->start(result->label, cur_x, cur_y);
+ }
return 1;
}
return 1;
}
@@
-144,8
+147,8
@@
LabelListMenu:: ~LabelListMenu()
void LabelListMenu::create_objects()
{
void LabelListMenu::create_objects()
{
- add_item(format = new AWindowListFormat(mwindow));
- add_item(new AWindowListSort(mwindow));
+ add_item(format = new AWindowListFormat(mwindow
, gui
));
+ add_item(new AWindowListSort(mwindow
, gui
));
}
void LabelListMenu::update()
}
void LabelListMenu::update()