X-Git-Url: https://cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fformatpresets.C;h=5a452a210b7fc5f67a43411e2f47d69faf7bb62f;hb=bd7011a86f60b4ef1abf11e2667373eba3a98c99;hp=ab9678235a6fa86bdc5196c220016e2f9bd2b387;hpb=9668279ccef86a9cc9138aaa1a659f158698f829;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/formatpresets.C b/cinelerra-5.1/cinelerra/formatpresets.C index ab967823..5a452a21 100644 --- a/cinelerra-5.1/cinelerra/formatpresets.C +++ b/cinelerra-5.1/cinelerra/formatpresets.C @@ -2,6 +2,7 @@ /* * CINELERRA * Copyright (C) 2008 Adam Williams + * Copyright (C) 2003-2016 Cinelerra CV contributors * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -66,7 +67,7 @@ void FormatPresets::create_objects() gui_base->add_subwindow(new BC_Title(x, y, _("Presets:"))); int x1 = x; - y += 20; + y += yS(20); gui_base->add_subwindow(text = new FormatPresetsText(mwindow, @@ -129,10 +130,7 @@ FormatPresetsText::FormatPresetsText(MWindow *mwindow, FormatPresets *gui, int x, int y) - : BC_TextBox(x, - y, - 200, - 1, + : BC_TextBox(x, y, xS(200), 1, gui->get_preset_text(gui->get_edl())) { this->gui = gui; @@ -157,7 +155,7 @@ FormatPresetsPulldown::FormatPresetsPulldown(MWindow *mwindow, FormatPresets *gui, int x, int y) - : BC_ListBox(x, y, 200, 250, + : BC_ListBox(x, y, xS(200), yS(250), LISTBOX_TEXT, // Display text list or icons (ArrayList*)&gui->preset_items, // Each column has an ArrayList of BC_ListBoxItems. 0, // Titles for columns. Set to 0 for no titles