Unravel Engine C++ Reference
Loading...
Searching...
No Matches
unravel::layout_panel Class Reference

#include <layout_panel.h>

Inheritance diagram for unravel::layout_panel:
unravel::panel_base

Public Member Functions

 layout_panel (imgui_panels *parent, const char *name)
 
void draw_ui (rtti::context &ctx) override
 
- Public Member Functions inherited from unravel::panel_base
 panel_base (const char *name)
 
virtual ~panel_base ()=default
 
auto is_visible () const -> bool
 
void set_visible (bool visible)
 
auto is_focused () const -> bool
 
auto is_fullscreen () const -> bool
 
void set_fullscreen (bool fullscreen)
 
void toggle_fullscreen ()
 
void focus ()
 
void on_frame_ui_render (rtti::context &ctx)
 
auto get_name () const -> const std::string &
 

Additional Inherited Members

- Protected Member Functions inherited from unravel::panel_base
virtual auto get_window_name () const -> const char *
 
void render_panel (rtti::context &ctx, const char *name, ImGuiWindowFlags flags=ImGuiWindowFlags_MenuBar)
 
virtual void on_before_render (rtti::context &ctx)
 
virtual void on_after_render (rtti::context &ctx)
 
virtual bool begin_panel (const char *name, ImGuiWindowFlags flags)
 
virtual void end_panel (const char *name)
 
- Protected Attributes inherited from unravel::panel_base
std::string name_
 
std::string name_fullscreen_
 
bool is_visible_ {}
 
bool is_focused_ {}
 
bool is_fullscreen_ {}
 
bool request_focus_ {}
 

Detailed Description

Definition at line 11 of file layout_panel.h.

Constructor & Destructor Documentation

◆ layout_panel()

unravel::layout_panel::layout_panel ( imgui_panels * parent,
const char * name )

Definition at line 24 of file layout_panel.cpp.

Member Function Documentation

◆ draw_ui()

void unravel::layout_panel::draw_ui ( rtti::context & ctx)
overridevirtual

Implements unravel::panel_base.

Definition at line 33 of file layout_panel.cpp.


The documentation for this class was generated from the following files: