Example #1
0
  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]);
  }
Example #2
0
  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);
  }
Example #3
0
  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();
  }
Example #4
0
 virtual void Show(const PixelRect &rc) override {
   quit.MoveAndShow(GetButtonRect(rc));
   logo.MoveAndShow(rc);
 }
 virtual void Show(const PixelRect &rc) override {
   Layout layout(rc);
   demo_button.MoveAndShow(layout.demo);
   save_button.MoveAndShow(layout.save);
 }