Flatten src into model, edit and ui, with .h headers
Resources and utilities sit directly in src. The ImGui windows, wizards, popups and helpers are in ui. Headers that would shadow system ones are renamed: math_util, timestamp, subprocess, localization. Includes are written from src.
This commit is contained in:
1 parent
a515267e26
commit
7fb2c607c2
175 files changed
+537
-537
No files matched your search
@@ -0,0 +1,32 @@
|
||||
#pragma once
|
||||
|
||||
#include "localization.h"
|
||||
|
||||
namespace anm2ed::imgui::theme
|
||||
{
|
||||
#define THEMES \
|
||||
X(LIGHT, LABEL_THEME_LIGHT) \
|
||||
X(DARK, LABEL_THEME_DARK) \
|
||||
X(CLASSIC, LABEL_THEME_CLASSIC)
|
||||
|
||||
enum Type
|
||||
{
|
||||
#define X(symbol, string) symbol,
|
||||
THEMES
|
||||
#undef X
|
||||
COUNT
|
||||
};
|
||||
|
||||
constexpr StringType STRINGS[] = {
|
||||
#define X(symbol, string) string,
|
||||
THEMES
|
||||
#undef X
|
||||
};
|
||||
|
||||
#undef THEMES
|
||||
}
|
||||
|
||||
namespace anm2ed::imgui
|
||||
{
|
||||
void theme_set(theme::Type);
|
||||
}
|
||||
Reference in new issue
Block a user