|
opynsim
Unofficial C++ Documentation
|
#include <panel.h>
Public Member Functions | |
| Panel (Widget *parent=nullptr, std::string_view panel_name="unnamed", ui::PanelFlags={}) | |
| bool | is_open () const |
| void | open () |
| void | close () |
Public Member Functions inherited from osc::Widget | |
| Widget (Widget *parent=nullptr) | |
| virtual | ~Widget () noexcept |
| bool | on_event (Event &e) |
| void | on_mount () |
| void | on_unmount () |
| void | on_tick () |
| void | on_draw () |
| LifetimedPtr< Widget > | weak_ref () |
| Widget * | parent () |
| template<std::derived_from< Widget > T> | |
| T * | first_ancestor_of_type () |
| const Widget * | parent () const |
| void | set_parent (Widget *) |
| void | set_parent (Widget &widget) |
| CStringView | name () const |
| void | set_name (std::string_view) |
Protected Member Functions | |
| Panel (std::unique_ptr< PanelPrivate > &&) | |
Protected Member Functions inherited from osc::Widget | |
| Widget (std::unique_ptr< WidgetPrivate > &&) | |
| const WidgetPrivate & | base_private_data () const |
| WidgetPrivate & | base_private_data () |
| virtual bool | impl_on_event (Event &) |
| virtual bool | impl_on_display_state_change_event (DisplayStateChangeEvent &) |
| virtual bool | impl_on_drop_file_event (DropFileEvent &) |
| virtual bool | impl_on_key_event (KeyEvent &) |
| virtual bool | impl_on_mouse_event (MouseEvent &) |
| virtual bool | impl_on_mouse_wheel_event (MouseWheelEvent &) |
| virtual bool | impl_on_quit_event (QuitEvent &) |
| virtual bool | impl_on_text_input_event (TextInputEvent &) |
| virtual bool | impl_on_window_event (WindowEvent &) |
| virtual void | impl_on_mount () |
| virtual void | impl_on_unmount () |
| virtual void | impl_on_tick () |
Private Member Functions | |
| void | impl_on_draw () final |
| virtual void | impl_before_imgui_begin () |
| virtual void | impl_after_imgui_begin () |
| virtual void | impl_draw_content () |
|
explicit |
|
explicitprotected |
| void osc::Panel::close | ( | ) |
Reimplemented in osc::LogViewerPanel, osc::PerfPanel, and osc::UndoRedoPanel.
|
finalprivatevirtual |
Reimplemented from osc::Widget.
| bool osc::Panel::is_open | ( | ) | const |
| void osc::Panel::open | ( | ) |