#include <gl2d.h>#include <glad/glad.h>#include <entt/locator/locator.hpp>#include <imgui/backends/imgui_impl_opengl3.h>#include <imgui/backends/imgui_impl_sdl3.h>#include <imgui/misc/freetype/imgui_freetype.h>#include <imgui/notify/ImGuiNotify.hpp>#include <mimalloc.h>#include "galaxy/core/Settings.hpp"#include "galaxy/core/Window.hpp"#include "galaxy/platform/Pragma.hpp"#include "galaxy/resource/embedded/material_design_icons.h"#include "galaxy/resource/embedded/material_design_icons_ttf.h"#include "galaxy/resource/embedded/RobotoLight.hpp"#include "ImGuiHelpers.hpp"Go to the source code of this file.
Namespaces | |
| namespace | galaxy |
| Tag.cpp galaxy. | |
| namespace | galaxy::ui |
Functions | |
| void * | galaxy::mem_alloc (size_t sz, void *user_data) |
| void | galaxy::mem_free (void *ptr, void *user_data) |
| void | galaxy::ui::imgui_init (const char *ini) |
| Initialize ImGui context with galaxy. | |
| void | galaxy::ui::imgui_set_theme (const float scale) noexcept |
| Set imgui theme. | |
| void | galaxy::ui::imgui_handle_events (const SDL_Event &events) |
| Handle events in ImGui. | |
| void | galaxy::ui::imgui_new_frame () |
| Begin setting up ImGui pass. | |
| void | galaxy::ui::imgui_render () |
| Render imgui. | |
| void | galaxy::ui::imgui_exit () |
| Destroy imgui context. | |
| void | galaxy::ui::imgui_notify_success (const char *msg) |
| ImGui success notification. | |
| void | galaxy::ui::imgui_notify_info (const char *msg) |
| ImGui info notification. | |
| void | galaxy::ui::imgui_notify_warning (const char *msg) |
| ImGui warning notification. | |
| void | galaxy::ui::imgui_notify_error (const char *msg) |
| ImGui error notification. | |
| void | galaxy::ui::imgui_center_next_window () |
| Make sure the next window opened is centered on the monitor. | |
| void | galaxy::ui::imgui_confirm (const char *msg, std::move_only_function< void(void)> &&yes={}, std::move_only_function< void(void)> &&no={}) |
| Handles a popup for a yes/no situation. | |
| ImGuiInputTextFlags | galaxy::ui::imgui_default_flags () noexcept |
| Get default text input flags. | |
Variables | |
| ImGuiStyle | galaxy::g_Style |