r5sdk/r5dev/sdklauncher/base_surface.h
Kawe Mazidjatari 41ebc431b2 Finish downloading of game and sdk files
Moved entire logic to dedicated wrappers.
2023-07-28 14:50:46 +02:00

50 lines
828 B
C++

#pragma once
#include "advanced_surface.h"
class CBaseSurface : public Forms::Form
{
public:
CBaseSurface();
virtual ~CBaseSurface()
{
};
protected:
static void OnInstallClick(Forms::Control* Sender);
static void OnAdvancedClick(Forms::Control* Sender);
static void OnSupportClick(Forms::Control* Sender);
static void OnJoinClick(Forms::Control* Sender);
private:
enum class eMode
{
NONE = -1,
HOST,
SERVER,
CLIENT,
};
enum class eVisibility
{
PUBLIC,
HIDDEN,
};
// Game.
UIX::UIXGroupBox* m_BaseGroup;
UIX::UIXButton* m_ManageButton;
UIX::UIXButton* m_RepairButton;
UIX::UIXButton* m_DonateButton;
UIX::UIXButton* m_JoinButton;
UIX::UIXButton* m_AdvancedButton;
// When this is false, the installer will
// download the HD textures as well (STARPAK's).
bool m_bPartialInstall;
};