First operational implementation of Displays View

This commit is contained in:
Bruno Herbelin
2022-12-29 00:39:51 +01:00
parent fb6a95078d
commit 784ac996d3
15 changed files with 1073 additions and 650 deletions

View File

@@ -60,9 +60,10 @@ struct WindowConfig
std::string name;
int x,y,w,h;
bool fullscreen;
bool scaled;
std::string monitor;
WindowConfig() : name(""), x(15), y(15), w(1280), h(720), fullscreen(false), monitor("") { }
WindowConfig() : name(""), x(15), y(15), w(1280), h(720), fullscreen(false), scaled(false), monitor("") { }
};
@@ -336,6 +337,7 @@ struct Application
windows[0].w = 1600;
windows[0].h = 900;
windows[1].name = "Output " APP_TITLE;
windows[2].name = "Fullscreen " APP_TITLE;
}
};