mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-08-13 12:38:49 -04:00
Setup imgui layout for editor
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
#include "SceneExplorer.h"
|
||||
#include "port/ui/PortMenu.h"
|
||||
#include "UIWidgets.h"
|
||||
#include "libultraship/src/Context.h"
|
||||
|
||||
#include <imgui.h>
|
||||
#include <map>
|
||||
#include <libultraship/libultraship.h>
|
||||
#include <spdlog/fmt/fmt.h>
|
||||
#include "spdlog/formatter.h"
|
||||
#include <common_structs.h>
|
||||
#include <defines.h>
|
||||
|
||||
namespace Editor {
|
||||
|
||||
SceneExplorerWindow::~SceneExplorerWindow() {
|
||||
SPDLOG_TRACE("destruct editor window");
|
||||
}
|
||||
|
||||
void SceneExplorerWindow::DrawElement() {
|
||||
ImGui::Text("This is your Scene Explorer window!");
|
||||
if (ImGui::Button("Click Me")) {
|
||||
// Handle button click (example)
|
||||
}
|
||||
ImGui::End();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user