42 static const std::string subsystem_name;
43 std::expected<void, Subsystem::Error> initialize()
override;
44 std::expected<void, Subsystem::Error> terminate()
override;
45 std::string name()
override;
46 bool is_initialized()
override;
50 static Gui &instance();
52 static void new_frame(tenno::shared_ptr<FrameBuffer> fb,
53 std::string name =
"Game");
55 static void load_font(
const std::filesystem::path &path =
"examples/assets/fonts/Inconsolata-Regular.ttf",
57 static void push_font(ImFont* f = font);
58 static void pop_font();
59 static void debug_stats();
63 static bool initialized;