14#include <lagrange/ui/Entity.h>
15#include <lagrange/ui/api.h>
16#include <lagrange/ui/components/UIPanel.h>
17#include <lagrange/ui/types/Systems.h>
23#include <unordered_map>
29LA_UI_API
bool begin_panel(
UIPanel& panel);
30LA_UI_API
void end_panel(
UIPanel& panel);
40add_panel(Registry& r,
const std::string& title,
const std::function<
void(
void)>& body_fn);
44 const std::string& title,
45 const std::function<
void(Registry&, Entity)>& body_fn,
46 const std::function<
void(Registry&, Entity)>& before_fn =
nullptr,
47 const std::function<
void(Registry&, Entity)>& after_fn =
nullptr,
48 const std::function<
void(Registry&, Entity)>& menubar_fn =
nullptr);
51LA_UI_API
void toggle_panel(Registry& r, Entity e);
62LA_UI_API
void hide_tab_bar(Registry& r, Entity uipanel_entity);
Lagrange UI Viewer and mini 3D engine.
Definition AcceleratedPicking.h:23
LA_UI_API Entity add_panel(Registry &r, const std::string &title, const std::function< void(void)> &body_fn)
Adds window that executed given imgui_code.
Definition uipanel.cpp:89
LA_UI_API const WindowSize & get_window_size(const Registry &r)
Returns global window size.
Definition uipanel.cpp:151
Main namespace for Lagrange.