SDRPlusPlus/core/src/gui/style.h

22 lines
420 B
C
Raw Normal View History

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