Initial commit

This commit is contained in:
daoge_cmd
2026-03-01 12:16:08 +08:00
parent def8cb4153
commit b691c43c44
19437 changed files with 4363922 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
#pragma once
#include "Screen.h"
using namespace std;
class Options;
class ControlsScreen : public Screen
{
private:
Screen *lastScreen;
protected:
wstring title;
private:
Options *options;
int selectedKey;
static const int BUTTON_WIDTH = 70;
static const int ROW_WIDTH = 160;
public:
ControlsScreen(Screen *lastScreen, Options *options);
private:
int getLeftScreenPosition();
public:
void init();
protected:
void buttonClicked(Button *button);
void keyPressed(wchar_t eventCharacter, int eventKey);
public:
void render(int xm, int ym, float a);
};