summaryrefslogtreecommitdiff
path: root/editor/editor-types.hpp
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2025-12-01 15:24:52 -0500
committerJonathan Bradley <jcb@pikum.xyz>2025-12-01 15:24:52 -0500
commit89b0e2f2133f9889d8ee51c29f34d16ddc1c4400 (patch)
tree58f99b0f9788b408d88731beb489b7d7881986c9 /editor/editor-types.hpp
parentac221b7a9629931b05c551225c3d65c75cff2f49 (diff)
pke-editor: add FontGlyphChar details table
Diffstat (limited to 'editor/editor-types.hpp')
-rw-r--r--editor/editor-types.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/editor/editor-types.hpp b/editor/editor-types.hpp
index f84b7d3..36c9fd1 100644
--- a/editor/editor-types.hpp
+++ b/editor/editor-types.hpp
@@ -1,6 +1,7 @@
#ifndef PKE_EDITOR_EDITOR_TYPES_HPP
#define PKE_EDITOR_EDITOR_TYPES_HPP
+#include "font.hpp"
#include "scene-types.hpp"
#include "pk.h"
@@ -10,6 +11,10 @@ struct editor_master {
pk_str target_scene_path = {};
bool shouldLoadScene = false;
bool shouldSaveScene = false;
+ struct editor_master_runtime {
+ FontType *selected_font_type = nullptr;
+ bool show_font_glyphs = false;
+ } rt;
};
extern struct editor_master editor_mstr;