From 381c7428c1b0ad1ec69f8ba2f44753e01b2a0050 Mon Sep 17 00:00:00 2001 From: ocornut Date: Sat, 31 Jan 2015 20:08:43 +0000 Subject: [PATCH] Examples: changed default background color. --- examples/directx11_example/main.cpp | 2 +- examples/directx9_example/main.cpp | 2 +- examples/opengl3_example/main.cpp | 2 +- examples/opengl_example/main.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/directx11_example/main.cpp b/examples/directx11_example/main.cpp index 8563f072..c5d1eead 100644 --- a/examples/directx11_example/main.cpp +++ b/examples/directx11_example/main.cpp @@ -550,7 +550,7 @@ int WINAPI wWinMain(HINSTANCE hInst, HINSTANCE, LPWSTR, int) bool show_test_window = true; bool show_another_window = false; - ImVec4 clear_col(0.8f, 0.6f, 0.6f, 1.0f); + ImVec4 clear_col = ImColor(114, 144, 154); // Enter the message loop MSG msg; diff --git a/examples/directx9_example/main.cpp b/examples/directx9_example/main.cpp index 98ab9d28..1c5e630e 100644 --- a/examples/directx9_example/main.cpp +++ b/examples/directx9_example/main.cpp @@ -310,7 +310,7 @@ int WINAPI wWinMain(HINSTANCE hInst, HINSTANCE, LPWSTR, int) bool show_test_window = true; bool show_another_window = false; - ImVec4 clear_col(0.8f, 0.6f, 0.6f, 1.0f); + ImVec4 clear_col = ImColor(114, 144, 154); // Enter the message loop MSG msg; diff --git a/examples/opengl3_example/main.cpp b/examples/opengl3_example/main.cpp index e56f105b..8ee8c8cb 100644 --- a/examples/opengl3_example/main.cpp +++ b/examples/opengl3_example/main.cpp @@ -327,7 +327,7 @@ int main(int argc, char** argv) bool show_test_window = true; bool show_another_window = false; - ImVec4 clear_col(0.8f, 0.6f, 0.6f, 1.0f); + ImVec4 clear_col = ImColor(114, 144, 154); while (!glfwWindowShouldClose(window)) { diff --git a/examples/opengl_example/main.cpp b/examples/opengl_example/main.cpp index fbce41c6..e589981f 100644 --- a/examples/opengl_example/main.cpp +++ b/examples/opengl_example/main.cpp @@ -237,7 +237,7 @@ int main(int argc, char** argv) bool show_test_window = true; bool show_another_window = false; - ImVec4 clear_col(0.8f, 0.6f, 0.6f, 1.0f); + ImVec4 clear_col = ImColor(114, 144, 154); while (!glfwWindowShouldClose(window)) {