mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
25 lines
461 B
C++
25 lines
461 B
C++
#pragma once
|
|
|
|
#include <zwidget/core/widget.h>
|
|
|
|
class LauncherWindow;
|
|
class PushButton;
|
|
|
|
class LauncherButtonbar : public Widget
|
|
{
|
|
public:
|
|
LauncherButtonbar(LauncherWindow* parent);
|
|
void UpdateLanguage();
|
|
|
|
double GetPreferredHeight() const;
|
|
|
|
private:
|
|
void OnGeometryChanged() override;
|
|
void OnPlayButtonClicked();
|
|
void OnExitButtonClicked();
|
|
|
|
LauncherWindow* GetLauncher() const;
|
|
|
|
PushButton* PlayButton = nullptr;
|
|
PushButton* ExitButton = nullptr;
|
|
};
|