mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 08:43:59 +00:00
29 lines
537 B
C++
29 lines
537 B
C++
#pragma once
|
|
#include <string>
|
|
|
|
#include "Screen.h"
|
|
|
|
class Options;
|
|
|
|
class OptionsScreen : public Screen {
|
|
private:
|
|
static const int CONTROLS_BUTTON_ID = 100;
|
|
static const int VIDEO_BUTTON_ID = 101;
|
|
Screen* lastScreen;
|
|
|
|
protected:
|
|
std::string title;
|
|
|
|
private:
|
|
Options* options;
|
|
|
|
public:
|
|
OptionsScreen(Screen* lastScreen, Options* options);
|
|
virtual void init() override;
|
|
|
|
protected:
|
|
virtual void buttonClicked(Button* button) override;
|
|
|
|
public:
|
|
virtual void render(int xm, int ym, float a) override;
|
|
}; |