14#include <lagrange/ui/api.h>
15#include <lagrange/ui/Entity.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);
39LA_UI_API Entity
add_panel(Registry& r,
const std::string& title,
const std::function<
void(
void)>& body_fn);
43 const std::string& title,
44 const std::function<
void(Registry&, Entity)>& body_fn,
45 const std::function<
void(Registry&, Entity)>& before_fn =
nullptr,
46 const std::function<
void(Registry&, Entity)>& after_fn =
nullptr,
47 const std::function<
void(Registry&, Entity)>& menubar_fn =
nullptr);
50LA_UI_API
void toggle_panel(Registry& r, Entity e);
58LA_UI_API MainMenuHeight get_menu_height(
const Registry& r);
61LA_UI_API
void hide_tab_bar(Registry& r, Entity uipanel_entity);
Lagrange UI Viewer and mini 3D engine.
Definition: AcceleratedPicking.h:22
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.
Definition: AABBIGL.h:30