tweak zoom/fullscr to remember cwdw scale after fullscr
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / formatpresets.C
index 2ec72fb99fadbe858e4e6617b5edd13be265b589..bb27ba0c0054e7e8eea45bb1e1293b5b87545c93 100644 (file)
@@ -26,7 +26,6 @@
 #include "mwindow.h"
 #include "new.h"
 #include "setformat.h"
-#include "interlacemodes.h"
 
 
 FormatPresets::FormatPresets(MWindow *mwindow,
@@ -67,7 +66,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,
@@ -130,10 +129,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;
@@ -158,7 +154,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<BC_ListBoxItem*>*)&gui->preset_items, // Each column has an ArrayList of BC_ListBoxItems.
                0,  // Titles for columns.  Set to 0 for no titles