X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fbitspopup.C;h=83048639f3c22792e012e71ab594a2accb60eda8;hp=8528ec77dc31c88a77875a5b45f586740269c22a;hb=3b4b6f588c4f2643316afcbc486ca6a35c16a431;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1 diff --git a/cinelerra-5.1/cinelerra/bitspopup.C b/cinelerra-5.1/cinelerra/bitspopup.C index 8528ec77..83048639 100644 --- a/cinelerra-5.1/cinelerra/bitspopup.C +++ b/cinelerra-5.1/cinelerra/bitspopup.C @@ -24,15 +24,9 @@ #include "file.h" -BitsPopup::BitsPopup(BC_WindowBase *parent_window, - int x, - int y, - int *output, - int use_ulaw, - int use_adpcm, - int use_float, - int use_32linear, - int use_8linear) +BitsPopup::BitsPopup(BC_WindowBase *parent_window, int x, int y, int *output, + int use_ulaw, int use_adpcm, int use_float, int use_32linear, + int use_8linear) { this->parent_window = parent_window; this->output = output; @@ -79,17 +73,8 @@ int BitsPopup::get_h() } BitsPopupMenu::BitsPopupMenu(BitsPopup *popup, int x, int y) - : BC_ListBox(x, - y, - 120, - 100, - LISTBOX_TEXT, - &popup->bits_items, - 0, - 0, - 1, - 0, - 1) + : BC_ListBox(x, y, xS(120), yS(100), LISTBOX_TEXT, + &popup->bits_items, 0, 0, 1, 0, 1) { this->popup = popup; } @@ -102,7 +87,7 @@ int BitsPopupMenu::handle_event() } BitsPopupText::BitsPopupText(BitsPopup *popup, int x, int y) - : BC_TextBox(x, y, 120, 1, File::bitstostr(*popup->output)) + : BC_TextBox(x, y, xS(120), 1, File::bitstostr(*popup->output)) { this->popup = popup; }