2024-02-25 14:46:47 +00:00
|
|
|
#pragma once
|
2023-06-20 04:33:09 +00:00
|
|
|
|
|
|
|
#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;
|
2023-11-28 17:04:45 +00:00
|
|
|
List<float> m_cameraSpeedList;
|
2023-06-20 04:33:09 +00:00
|
|
|
|
|
|
|
JsonObject m_localChanges;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|