Unravel Engine C++ Reference
Loading...
Searching...
No Matches
layout_panel.h
Go to the documentation of this file.
1#pragma once
2
3#include "../panel_base.h"
4
5#include <array>
6
7namespace unravel
8{
9class imgui_panels;
10
12{
13public:
14 layout_panel(imgui_panels* parent, const char* name);
15
16 void draw_ui(rtti::context& ctx) override;
17
18private:
19 auto get_window_flags() const -> ImGuiWindowFlags override;
20
21 void draw_create_popup();
22 void draw_presets_list();
23
24 imgui_panels* parent_{};
25 bool open_create_popup_{};
26 std::array<char, 128> create_name_buf_{};
27};
28} // namespace unravel
layout_panel(imgui_panels *parent, const char *name)
void draw_ui(rtti::context &ctx) override
std::string name
Definition hub.cpp:33