28 std::shared_ptr<Events> events,
const std::string& visibilityCvar,
const std::string& name);
32 void OnInit(
const nlohmann::json& initArgs = nlohmann::json::object())
override;
41 std::shared_ptr<Events> mEvents;
An ImGui window for inspecting and debugging engine events at runtime.
Definition EventDebuggerWindow.h:17
EventDebuggerWindow(std::shared_ptr< ConsoleVariable > consoleVariable, std::shared_ptr< Window > window, std::shared_ptr< Events > events, const std::string &visibilityCvar, const std::string &name)
Constructs an EventDebuggerWindow with constructor-injected dependencies.
void DrawElement() override
Renders the event debugger panel contents via ImGui.
void UpdateElement() override
No-op update; event data is read directly during draw.
Definition EventDebuggerWindow.h:38
void OnInit(const nlohmann::json &initArgs=nlohmann::json::object()) override
Performs one-time initialization of the event debugger window.
A floating ImGui window managed by the Ship Gui layer.
Definition GuiWindow.h:39
GuiWindow(std::shared_ptr< ConsoleVariable > consoleVariable, std::shared_ptr< Window > window, const std::string &visibilityCvar, bool isVisible, const std::string &name, ImVec2 originalSize, uint32_t windowFlags)
Full constructor with constructor-injected dependencies, explicit size and window flags.
Core namespace for the libultraship engine framework.
Definition gfx_direct3d_common.h:14