25 Impl(
Window& window_in,
Graphics& graphics_in, std::filesystem::path settings_path_in);
38 ImTextureID GetTexture(
const std::shared_ptr<void>& texture);
39 ImTextureID GetRenderTargetTexture(std::string_view name);
42 void SetSettingsPath(std::filesystem::path settings_path_in);
44 void LoadSettingsFromDisk(
const std::filesystem::path& settings_path_in);
46 void SaveSettingsToDisk(
const std::filesystem::path& settings_path_in);
47 uint32_t GetActiveWidgetID()
const;
48 ImFont* GetMonospaceFont()
const noexcept;
49 void BlockEvents(
bool block)
noexcept;
52 void ApplySettingsPath();
53 void RestoreMainViewportPlatformHandles();
56 bool block_events =
true;
59 bool frame_started =
false;
60 bool appearance_dirty =
false;
61 std::unique_ptr<pixelbullet::application_internal::ImGuiLayerRuntimeBackend> runtime;
62 std::unique_ptr<pixelbullet::application_internal::ImGuiPlatformBackend> platform_backend;
64 ImFont* default_font =
nullptr;
65 ImFont* mono_font =
nullptr;
66 std::array<ImWchar, 3> icon_font_ranges{};
67 std::array<ImWchar, 3> icon_font_exclude_ranges{};
68 std::filesystem::path settings_path;
69 std::string settings_filename;
Definition render_frame_context.h:15