コード例 #1
0
ファイル: dlgSimulatorPrompt.cpp プロジェクト: DRIZO/xcsoar
  /* virtual methods from class Widget */
  virtual void Prepare(ContainerWindow &parent,
                       const PixelRect &rc) override {
    WindowStyle style;
    style.Hide();
    style.ControlParent();

    w.Create(parent, rc, style);
    SetWindow(&w);
  }
コード例 #2
0
ファイル: KoboMenu.cpp プロジェクト: XCSoar/XCSoar
void
KoboMenuWidget::Prepare(ContainerWindow &parent,
                        const PixelRect &rc)
{
    WindowStyle style;
    style.Hide();
    style.ControlParent();

    w.Create(parent, rc, style);
    SetWindow(&w);
}