2021-02-17 23:21:59 +01:00
|
|
|
#pragma once
|
2021-06-16 13:30:22 +02:00
|
|
|
|
2021-02-17 23:21:59 +01:00
|
|
|
#include "imgui/imgui.h"
|
|
|
|
|
#include <string>
|
|
|
|
|
|
2021-06-12 21:14:32 +02:00
|
|
|
namespace style
|
|
|
|
|
{
|
|
|
|
|
extern ImFont *baseFont;
|
|
|
|
|
extern ImFont *bigFont;
|
|
|
|
|
extern ImFont *hugeFont;
|
2021-02-17 23:21:59 +01:00
|
|
|
|
|
|
|
|
bool setDefaultStyle(std::string resDir);
|
2021-06-16 13:30:22 +02:00
|
|
|
bool setLightStyle(std::string resDir, float dpi_scaling = 1.0f);
|
|
|
|
|
bool setDarkStyle(std::string resDir, float dpi_scaling = 1.0f);
|
2021-02-17 23:21:59 +01:00
|
|
|
void beginDisabled();
|
|
|
|
|
void endDisabled();
|
|
|
|
|
}
|