|
@@ -145,10 +145,13 @@ int main(int, char**)
|
|
ImGui_ImplDX11_Init(g_pd3dDevice, g_pd3dDeviceContext);
|
|
ImGui_ImplDX11_Init(g_pd3dDevice, g_pd3dDeviceContext);
|
|
|
|
|
|
// Setup Style
|
|
// Setup Style
|
|
- ImGui::GetStyle().WindowRounding = 0.0f;
|
|
|
|
ImGui::StyleColorsDark();
|
|
ImGui::StyleColorsDark();
|
|
//ImGui::StyleColorsClassic();
|
|
//ImGui::StyleColorsClassic();
|
|
|
|
|
|
|
|
+ ImGuiStyle& style = ImGui::GetStyle();
|
|
|
|
+ style.WindowRounding = 0.0f; // When viewports are enabled it is preferable to disable WinodwRounding
|
|
|
|
+ style.Colors[ImGuiCol_WindowBg].w = 1.0f; // When viewports are enabled it is preferable to disable WindowBg alpha
|
|
|
|
+
|
|
// Load Fonts
|
|
// Load Fonts
|
|
// - If no fonts are loaded, dear imgui will use the default font. You can also load multiple fonts and use ImGui::PushFont()/PopFont() to select them.
|
|
// - If no fonts are loaded, dear imgui will use the default font. You can also load multiple fonts and use ImGui::PushFont()/PopFont() to select them.
|
|
// - AddFontFromFileTTF() will return the ImFont* so you can store it if you need to select the font among multiple.
|
|
// - AddFontFromFileTTF() will return the ImFont* so you can store it if you need to select the font among multiple.
|