mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-11-10 20:57:41 +01:00
20 lines
754 B
C
20 lines
754 B
C
|
#pragma once
|
||
|
#include <imgui.h>
|
||
|
|
||
|
void setImguiStyle(ImGuiIO& io) {
|
||
|
ImGui::GetStyle().WindowRounding = 0.0f;
|
||
|
ImGui::GetStyle().ChildRounding = 0.0f;
|
||
|
ImGui::GetStyle().FrameRounding = 0.0f;
|
||
|
ImGui::GetStyle().GrabRounding = 0.0f;
|
||
|
ImGui::GetStyle().PopupRounding = 0.0f;
|
||
|
ImGui::GetStyle().ScrollbarRounding = 0.0f;
|
||
|
|
||
|
io.Fonts->AddFontFromFileTTF("../res/fonts/Roboto-Medium.ttf", 16.0f);
|
||
|
|
||
|
ImGui::StyleColorsDark();
|
||
|
//ImGui::StyleColorsLight();
|
||
|
|
||
|
//ImGui::GetStyle().Colors[ImGuiCol_Header] = ImVec4(0.235f, 0.235f, 0.235f, 1.0f);
|
||
|
//ImGui::GetStyle().Colors[ImGuiCol_HeaderHovered] = ImVec4(0.235f, 0.235f, 0.235f, 1.0f);
|
||
|
//ImGui::GetStyle().Colors[ImGuiCol_HeaderActive] = ImVec4(0.235f, 0.235f, 0.235f, 1.0f);
|
||
|
}
|