37 lines
507 B
C++
37 lines
507 B
C++
|
#ifndef STAR_GRAPHICS_MENU_HPP
|
||
|
#define STAR_GRAPHICS_MENU_HPP
|
||
|
|
||
|
#include "StarPane.hpp"
|
||
|
|
||
|
namespace Star {
|
||
|
|
||
|
STAR_CLASS(GraphicsMenu);
|
||
|
|
||
|
class GraphicsMenu : public Pane {
|
||
|
public:
|
||
|
GraphicsMenu();
|
||
|
|
||
|
void show() override;
|
||
|
void dismissed() override;
|
||
|
|
||
|
void toggleFullscreen();
|
||
|
|
||
|
private:
|
||
|
static StringList const ConfigKeys;
|
||
|
|
||
|
void initConfig();
|
||
|
void syncGui();
|
||
|
|
||
|
void apply();
|
||
|
void applyWindowSettings();
|
||
|
|
||
|
List<Vec2U> m_resList;
|
||
|
List<float> m_zoomList;
|
||
|
|
||
|
JsonObject m_localChanges;
|
||
|
};
|
||
|
|
||
|
}
|
||
|
|
||
|
#endif
|