int GraphicCanvas::freq_to_y(int freq,
ArrayList<GraphicPoint*> *points,
int GraphicCanvas::freq_to_y(int freq,
ArrayList<GraphicPoint*> *points,
GraphicSize::GraphicSize(GraphicGUI *window, GraphicEQ *plugin, int x, int y)
GraphicSize::GraphicSize(GraphicGUI *window, GraphicEQ *plugin, int x, int y)
- : BC_PopupMenu(x, y, 100, "4096", 1)
+ : BC_PopupMenu(x, y, xS(120), "4096", 1)
// int y1 = y;
add_subwindow(freq_title = new BC_Title(x, y, _("Frequency:")));
x += freq_title->get_w() + margin;
// int y1 = y;
add_subwindow(freq_title = new BC_Title(x, y, _("Frequency:")));
x += freq_title->get_w() + margin;
- add_subwindow(freq_text = new FreqTextBox(plugin, this, x, y, 100));
+ add_subwindow(freq_text = new FreqTextBox(plugin, this, x, y, xS(100)));
x += freq_text->get_w() + margin;
add_subwindow(level_title = new BC_Title(x, y, _("Level:")));
x += level_title->get_w() + margin;
x += freq_text->get_w() + margin;
add_subwindow(level_title = new BC_Title(x, y, _("Level:")));
x += level_title->get_w() + margin;
- add_subwindow(value_text = new ValueTextBox(plugin, this, x, y, 100));
+ add_subwindow(value_text = new ValueTextBox(plugin, this, x, y, xS(100)));
x += value_text->get_w() + margin;
add_subwindow(reset = new GraphicReset(plugin, this, x, y));
x += value_text->get_w() + margin;
add_subwindow(reset = new GraphicReset(plugin, this, x, y));