From b691c43c44ff180d10e7d4a9afc83b98551ff586 Mon Sep 17 00:00:00 2001 From: daoge_cmd <3523206925@qq.com> Date: Sun, 1 Mar 2026 12:16:08 +0800 Subject: Initial commit --- Minecraft.Client/OptionsScreen.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Minecraft.Client/OptionsScreen.h (limited to 'Minecraft.Client/OptionsScreen.h') diff --git a/Minecraft.Client/OptionsScreen.h b/Minecraft.Client/OptionsScreen.h new file mode 100644 index 00000000..69a2ffa7 --- /dev/null +++ b/Minecraft.Client/OptionsScreen.h @@ -0,0 +1,23 @@ +#pragma once +#include "Screen.h" +class Options; +using namespace std; + +class OptionsScreen : public Screen +{ +private: + static const int CONTROLS_BUTTON_ID = 100; + static const int VIDEO_BUTTON_ID = 101; + Screen *lastScreen; +protected: + wstring title; +private: + Options *options; +public: + OptionsScreen(Screen *lastScreen, Options *options); + virtual void init(); +protected: + virtual void buttonClicked(Button *button); +public: + virtual void render(int xm, int ym, float a); +}; \ No newline at end of file -- cgit v1.2.3