2020-08-16 01:39:05 +00:00
|
|
|
#pragma once
|
2020-11-30 20:17:36 +00:00
|
|
|
#include <imgui.h>
|
2020-12-22 21:39:24 +00:00
|
|
|
#include <string>
|
2020-08-16 01:39:05 +00:00
|
|
|
|
|
|
|
namespace style {
|
2020-11-30 20:17:36 +00:00
|
|
|
extern ImFont* baseFont;
|
|
|
|
extern ImFont* bigFont;
|
|
|
|
extern ImFont* hugeFont;
|
|
|
|
|
2022-02-13 16:25:23 +00:00
|
|
|
extern float uiScale;
|
|
|
|
|
2020-12-22 21:39:24 +00:00
|
|
|
bool setDefaultStyle(std::string resDir);
|
2021-06-23 19:45:38 +00:00
|
|
|
bool loadFonts(std::string resDir);
|
2020-08-16 01:39:05 +00:00
|
|
|
void beginDisabled();
|
|
|
|
void endDisabled();
|
2020-09-19 10:48:34 +00:00
|
|
|
void testtt();
|
2021-08-31 16:39:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
namespace ImGui {
|
2021-10-02 23:48:44 +00:00
|
|
|
void LeftLabel(const char* text);
|
2022-01-21 19:22:13 +00:00
|
|
|
void FillWidth();
|
2020-08-16 01:39:05 +00:00
|
|
|
}
|