Shkyera Engine
Easy to use, game engine for Python
Loading...
Searching...
No Matches
Style.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "imgui.h"
4
5#include <string>
6
7namespace shkyera::style {
8
9void loadFonts(const std::string& path);
10
11/******** FONTS ********/
12extern ImFont* SMALL_FONT;
13extern ImFont* NORMAL_FONT;
14extern ImFont* BIG_FONT;
15extern ImFont* HUGE_FONT;
16
17/******** COLORS *********/
18extern const ImVec4 BACKGROUND_COLOR;
19extern const ImVec4 TEXT_COLOR;
20extern const ImVec4 DISABLED_TEXT_COLOR;
21extern const ImVec4 ACCENT_COLOR;
22extern const ImVec4 STRONG_ACCENT_COLOR;
23extern const ImVec4 GREY;
24extern const ImVec4 LIGHT_GREY;
25extern const ImVec4 DARK_ACCENT;
26extern const ImVec4 BLACK;
27
28} // namespace shkyera::style
Definition Style.cpp:3
ImFont * BIG_FONT
Definition Style.cpp:15
const ImVec4 BACKGROUND_COLOR
Definition Style.cpp:19
const ImVec4 BLACK
Definition Style.cpp:27
const ImVec4 LIGHT_GREY
Definition Style.cpp:25
const ImVec4 DISABLED_TEXT_COLOR
Definition Style.cpp:21
const ImVec4 GREY
Definition Style.cpp:24
ImFont * NORMAL_FONT
Definition Style.cpp:14
const ImVec4 DARK_ACCENT
Definition Style.cpp:26
ImFont * SMALL_FONT
Definition Style.cpp:13
ImFont * HUGE_FONT
Definition Style.cpp:16
const ImVec4 ACCENT_COLOR
Definition Style.cpp:22
const ImVec4 TEXT_COLOR
Definition Style.cpp:20
void loadFonts(const std::string &path)
Definition Style.cpp:5
const ImVec4 STRONG_ACCENT_COLOR
Definition Style.cpp:23