mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-28 09:05:38 +00:00
30 lines
529 B
C
30 lines
529 B
C
|
#ifndef _SETTINGSMENU_H_
|
||
|
#define _SETTINGSMENU_H_
|
||
|
|
||
|
#include "../GuiComponent.h"
|
||
|
#include "ComponentListComponent.h"
|
||
|
#include <vector>
|
||
|
#include "SwitchComponent.h"
|
||
|
#include "TextComponent.h"
|
||
|
|
||
|
class GuiSettingsMenu : public GuiComponent
|
||
|
{
|
||
|
public:
|
||
|
GuiSettingsMenu(Window* window);
|
||
|
~GuiSettingsMenu();
|
||
|
|
||
|
bool input(InputConfig* config, Input input) override;
|
||
|
|
||
|
private:
|
||
|
void loadStates();
|
||
|
void applyStates();
|
||
|
|
||
|
ComponentListComponent mList;
|
||
|
|
||
|
SwitchComponent mDrawFramerateSwitch;
|
||
|
|
||
|
std::vector<GuiComponent*> mLabels;
|
||
|
};
|
||
|
|
||
|
#endif
|