|
sandbox
|
Public Member Functions | |
| canvas (canvas &&)=default | |
| auto | operator= (canvas &&) -> canvas &=default |
| auto | root () -> element & |
| auto | root () const -> const element & |
|
template<typename Type > requires (std::is_base_of_v<ui::element, Type>) | |
| auto | create (element &parent) -> Type & |
|
template<typename Type > requires (std::is_base_of_v<ui::element, Type>) | |
| auto | create () -> Type & |
|
template<typename Type , typename... Args> requires (std::is_base_of_v<ui::layout, Type>) | |
| auto | set_layout (Args &&... args) -> Type & |
| auto | update (const math::vector2 &screen_size) -> void |
| auto | process_input (const math::vector2 &mouse_position, bool is_down, bool was_down) -> void |
| auto | submit () -> void |
Public Attributes | |
| bool | is_enabled {true} |