void PluginShow::update(int x, int y, Plugin *plugin) { BC_Toggle::set_value(plugin->show, 0); reposition_window(x, y); this->plugin = plugin; in_use = 1; }
int MButtons::resize_event() { reposition_window(mwindow->theme->mbuttons_x, mwindow->theme->mbuttons_y, mwindow->theme->mbuttons_w, mwindow->theme->mbuttons_h); draw_top_background(get_parent(), 0, 0, get_w(), get_h()); flash(0); }
int VTimeBar::resize_event() { reposition_window(mwindow->theme->vtimebar_x, mwindow->theme->vtimebar_y, mwindow->theme->vtimebar_w, mwindow->theme->vtimebar_h); update(0); return 1; }
void ManualGotoWindow::reset_data(double position) { lock_window(); reposition_window( mwindow->gui->get_abs_cursor_x(1) - 250 / 2, mwindow->gui->get_abs_cursor_y(1) - 80 / 2); set_entered_position_sec(position); signtitle->update("="); activate(); show_window(); unlock_window(); }
void ZoomBar::resize_event() { hide_window(0); reposition_window(mwindow->theme->mzoom_x, mwindow->theme->mzoom_y, mwindow->theme->mzoom_w, mwindow->theme->mzoom_h); draw_top_background(get_parent(), 0, 0, get_w(), get_h()); // int x = 3, y = 1; // sample_zoom->reposition_window(x, y); // x += sample_zoom->get_w(); // amp_zoom->reposition_window(x, y); // x += amp_zoom->get_w(); // track_zoom->reposition_window(x, y); flash(0); show_window(0); }
int BC_Title::reposition(int x, int y) { reposition_window(x, y, w, h); draw(0); return 0; }
void LabelGUI::reposition(int flush) { reposition_window(translate_pixel(mwindow, pixel), BC_Toggle::get_y()); }
int ZoomBar::resize_event(int w, int h) { // don't change anything but y and width reposition_window(0, h - this->get_h(), w, this->get_h()); return 0; }