|
opynsim
Unofficial C++ Documentation
|
#include <tab.h>
Public Member Functions | |
| UID | id () const |
| bool | is_unsaved () const |
| std::future< TabSaveResult > | try_save () |
| void | on_draw_main_menu () |
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 | |
| Tab (std::unique_ptr< TabPrivate > &&) | |
| OSC_WIDGET_DATA_GETTERS (TabPrivate) | |
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 () |
| virtual void | impl_on_draw () |
Private Member Functions | |
| virtual bool | impl_is_unsaved () const |
| virtual std::future< TabSaveResult > | impl_try_save () |
| virtual void | impl_on_draw_main_menu () |
|
explicitprotected |
| UID osc::Tab::id | ( | ) | const |
Reimplemented in osc::CookiecutterTab, and osc::ScreenshotTab.
|
privatevirtual |
|
inline |
|
inline |
|
protected |
|
inline |