void AssetEditWindow::show_info_detail()
{
int cur_x, cur_y;
- get_abs_cursor_xy(cur_x, cur_y, 0);
+ get_abs_cursor(cur_x, cur_y, 0);
detail_dialog->start((Asset*)asset_edit->indexable, cur_x, cur_y);
}
-
-
-AssetEditFormat::AssetEditFormat(AssetEditWindow *fwindow, char* default_, int y)
- : FormatPopup(fwindow->mwindow->plugindb, 90, y)
-{
- this->fwindow = fwindow;
-}
-AssetEditFormat::~AssetEditFormat()
-{
-}
-int AssetEditFormat::handle_event()
-{
- Asset *asset = fwindow->asset_edit->changed_params;
- asset->format = File::strtoformat(get_selection(0, 0)->get_text());
- return 1;
-}
-
-
-
-
DetailAssetButton::DetailAssetButton(AssetEditWindow *fwindow, int x, int y)
: BC_GenericButton(x, y, _("Detail"))
{