add BC_SCALE env var for hi def monitors, cleanup theme data
[goodguy/cinelerra.git] / cinelerra-5.1 / guicast / bctextbox.C
index 78e6fa42a0eea4c282c6dc19d30cea26050d91b4..128d514b92a0d5edbf2c1e8467946964753bb124 100644 (file)
@@ -2571,6 +2571,7 @@ int BC_PopupTextBox::handle_event()
 const char *BC_PopupTextBox::get_text() { return textbox->get_text(); }
 const wchar_t *BC_PopupTextBox::get_wtext() { return textbox->get_wtext(); }
 int BC_PopupTextBox::get_number() { return list_item; }
+void BC_PopupTextBox::set_number(int v) { list_item = v; }
 int BC_PopupTextBox::get_x() { return x; }
 int BC_PopupTextBox::get_y() { return y; }
 int BC_PopupTextBox::get_w() { return textbox->get_w() + listbox->get_w(); }
@@ -2860,12 +2861,8 @@ void BC_TumbleTextBox::reposition_window(int x, int y)
        this->x = x;
        this->y = y;
 
-       textbox->reposition_window(x,
-               y,
-               text_w,
-               1);
-       tumbler->reposition_window(x + textbox->get_w(),
-               y);
+       textbox->reposition_window(x, y, text_w, 1);
+       tumbler->reposition_window(x + textbox->get_w(), y);
 //     if(flush) parent_window->flush();
 }