mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 00:42:08 +00:00
37 lines
760 B
C++
37 lines
760 B
C++
#pragma once
|
|
|
|
#include <zwidget/core/widget.h>
|
|
#include "tarray.h"
|
|
#include "zstring.h"
|
|
|
|
class TabWidget;
|
|
class LauncherBanner;
|
|
class LauncherButtonbar;
|
|
class PlayGamePage;
|
|
class SettingsPage;
|
|
struct WadStuff;
|
|
|
|
class LauncherWindow : public Widget
|
|
{
|
|
public:
|
|
static int ExecModal(WadStuff* wads, int numwads, int defaultiwad, int* autoloadflags);
|
|
|
|
LauncherWindow(WadStuff* wads, int numwads, int defaultiwad, int* autoloadflags);
|
|
void UpdateLanguage();
|
|
|
|
void Start();
|
|
void Exit();
|
|
|
|
private:
|
|
void OnClose() override;
|
|
void OnGeometryChanged() override;
|
|
|
|
LauncherBanner* Banner = nullptr;
|
|
TabWidget* Pages = nullptr;
|
|
LauncherButtonbar* Buttonbar = nullptr;
|
|
|
|
PlayGamePage* PlayGame = nullptr;
|
|
SettingsPage* Settings = nullptr;
|
|
|
|
int ExecResult = -1;
|
|
};
|