Something went wrong. Try again.
art software for the rest of us
drawing paint image sdl art
Something went wrong. Try again.
C
1234567891011121314#pragma once#include <imgui.h>#include <unordered_map>
class Style { std::unordered_map<ImGuiStyleVar, float> stylesFloat; std::unordered_map<ImGuiStyleVar, ImVec2> stylesVec2; std::unordered_map<ImGuiCol, ImVec4> colors;public: Style(std::unordered_map<ImGuiStyleVar, float> stylesFloat, std::unordered_map<ImGuiStyleVar, ImVec2> stylesVec2, std::unordered_map<ImGuiCol, ImVec4> colors); void Push(); void Pop();
};