kopia lustrzana https://github.com/AlexandreRouma/SDRPlusPlus
20 wiersze
751 B
C
20 wiersze
751 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);
|
|
} |