forked from IQ.Lvbs/IQ.Pilot
IQ.Pilot Release Commit @ 0b96bd5
This commit is contained in:
25
iqpilot/tools/cabana/ui/inistate.h
Normal file
25
iqpilot/tools/cabana/ui/inistate.h
Normal file
@@ -0,0 +1,25 @@
|
||||
#pragma once
|
||||
#include <string>
|
||||
|
||||
struct GLFWwindow;
|
||||
|
||||
namespace inistate {
|
||||
|
||||
struct MainWindowState {
|
||||
int pos[2] = {0, 0};
|
||||
int size[2] = {0, 0};
|
||||
bool maximized = false;
|
||||
bool has_geometry = false;
|
||||
float video_splitter_ratio = -1.0f;
|
||||
bool messages_visible = true;
|
||||
bool video_visible = true;
|
||||
};
|
||||
|
||||
extern MainWindowState main_window;
|
||||
|
||||
void addSettingsHandler();
|
||||
void load();
|
||||
void applyWindowGeometry(GLFWwindow *window);
|
||||
std::string save();
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user