void Show(const PixelRect &rc) override { const Layout layout(rc, geometry); RowFormWidget::Show(layout.form); copy_button.MoveAndShow(layout.copy_button); paste_button.MoveAndShow(layout.paste_button); close_button.MoveAndShow(layout.close_button); for (unsigned i = 0; i < previews.size(); ++i) previews[i].MoveAndShow(layout.info_boxes.positions[i]); }
void Show(const PixelRect &rc) override { const Layout layout(rc); info.MoveAndShow(layout.info); details_button.MoveAndShow(layout.details_button); previous_button.MoveAndShow(layout.previous_button); next_button.MoveAndShow(layout.next_button); close_button.MoveAndShow(layout.close_button); chart.MoveAndShow(layout.main); Update(); Timer::Schedule(2500); }
virtual void Show(const PixelRect &rc) override { Layout layout(rc); expert.SetState(CommonInterface::GetUISettings().dialog.expert); expert.MoveAndShow(layout.expert); if (borrowed2) button2.MoveAndShow(layout.button2); else button2.Move(layout.button2); if (borrowed1) button1.MoveAndShow(layout.button1); else button1.Move(layout.button1); }
void Show(const PixelRect &rc) override { const Layout layout(rc, waypoint); if (allow_navigation) goto_button.MoveAndShow(layout.goto_button); if (!images.empty()) { magnify_button.MoveAndShow(layout.magnify_button); shrink_button.MoveAndShow(layout.shrink_button); } if (allow_navigation) { previous_button.MoveAndShow(layout.previous_button); next_button.MoveAndShow(layout.next_button); } close_button.MoveAndShow(layout.close_button); info_dock.Move(layout.main); details_panel.Move(layout.main); details_text.Move(layout.details_text); #ifdef HAVE_RUN_FILE if (!waypoint.files_external.empty()) file_list.Move(layout.file_list); #endif commands_dock.Move(layout.main); if (!images.empty()) image_window.Move(layout.main); UpdatePage(); }
virtual void Show(const PixelRect &rc) override { Layout layout(rc); demo_button.MoveAndShow(layout.demo); save_button.MoveAndShow(layout.save); }
virtual void Show(const PixelRect &rc) override { quit.MoveAndShow(GetButtonRect(rc)); logo.MoveAndShow(rc); }