new styles

This commit is contained in:
Ryzerth
2020-08-17 02:39:56 +02:00
parent 53ec38766a
commit b56aab8f74
7 changed files with 105 additions and 17 deletions

View File

@ -83,6 +83,7 @@ int main() {
return 1;
}
// Setup Dear ImGui context
IMGUI_CHECKVERSION();
ImGui::CreateContext();
@ -98,7 +99,7 @@ int main() {
config::load("config.json");
config::startAutoSave();
style::setDefaultStyle();
style::setDarkStyle();
spdlog::info("Loading icons");
icons::load();
@ -135,7 +136,7 @@ int main() {
glfwGetFramebufferSize(window, &display_w, &display_h);
glViewport(0, 0, display_w, display_h);
glClearColor(0.0666f, 0.0666f, 0.0666f, 1.0f);
//glClearColor(0.90f, 0.90f, 0.90f, 1.0f);
//glClearColor(0.9f, 0.9f, 0.9f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT);
ImGui_ImplOpenGL3_RenderDrawData(ImGui::GetDrawData());