|
Unravel Engine C++ Reference
|
#include <game_panel.h>
Public Member Functions | |
| game_panel (imgui_panels *parent, const char *name) | |
| void | init (rtti::context &ctx) |
| void | deinit (rtti::context &ctx) |
| void | on_frame_update (rtti::context &ctx, delta_t dt) |
| void | on_frame_before_render (rtti::context &ctx, delta_t dt) |
| void | on_frame_render (rtti::context &ctx, delta_t dt) |
| void | on_project_opened () |
| void | set_visible_force (bool visible) |
| void | draw_ui (rtti::context &ctx) override |
| void | on_after_render (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 auto | get_window_flags () const -> ImGuiWindowFlags |
| virtual void | on_before_render (rtti::context &ctx) |
| 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_ {} |
Definition at line 13 of file game_panel.h.
| unravel::game_panel::game_panel | ( | imgui_panels * | parent, |
| const char * | name ) |
Definition at line 22 of file game_panel.cpp.
| void unravel::game_panel::deinit | ( | rtti::context & | ctx | ) |
Definition at line 32 of file game_panel.cpp.
|
overridevirtual |
Implements unravel::panel_base.
Definition at line 93 of file game_panel.cpp.
| void unravel::game_panel::init | ( | rtti::context & | ctx | ) |
Definition at line 28 of file game_panel.cpp.
|
overridevirtual |
Reimplemented from unravel::panel_base.
Definition at line 77 of file game_panel.cpp.
| void unravel::game_panel::on_frame_before_render | ( | rtti::context & | ctx, |
| delta_t | dt ) |
Definition at line 45 of file game_panel.cpp.
| void unravel::game_panel::on_frame_render | ( | rtti::context & | ctx, |
| delta_t | dt ) |
Definition at line 54 of file game_panel.cpp.
| void unravel::game_panel::on_frame_update | ( | rtti::context & | ctx, |
| delta_t | dt ) |
Definition at line 36 of file game_panel.cpp.
| void unravel::game_panel::on_project_opened | ( | ) |
Definition at line 88 of file game_panel.cpp.
| void unravel::game_panel::set_visible_force | ( | bool | visible | ) |
Definition at line 83 of file game_panel.cpp.