|
CeresEngine 0.2.0
A game development framework
|
#include "Forward.hpp"#include "UIAppearance.hpp"#include "UIEvent.hpp"#include "UILayout.hpp"#include "UIResponder.hpp"#include "UIUtility.hpp"#include "CeresEngine/DataTypes.hpp"#include "CeresEngine/Foundation/Flags.hpp"#include "CeresEngine/Foundation/SmartPtr.hpp"#include "CeresEngine/Foundation/String.hpp"#include "CeresEngine/Foundation/Container/InitializerList.hpp"#include "CeresEngine/Foundation/Container/Optional.hpp"#include "CeresEngine/Foundation/Container/Span.hpp"#include "CeresEngine/Foundation/Container/Vector.hpp"#include "CeresEngine/Math/Rect.hpp"#include <optional>Go to the source code of this file.
Classes | |
| class | CeresEngine::UIView |
| The infrastructure for drawing and handling events in a UI. More... | |
Namespaces | |
| namespace | CeresEngine |
Typedefs | |
| template<typename T > | |
| using | CeresEngine::UIPtr = RC< T > |
| using | CeresEngine::UIViewPtr = UIPtr< UIView > |
| A pointer to a UIView. | |
| using | CeresEngine::UIViewStateFlags = Flags< UIViewState > |
| using | CeresEngine::UIViewAutoresizingMask = Flags< UIViewAutoResizing > |
Enumerations | |
| enum class | CeresEngine::UIViewState : UInt8 { CeresEngine::NeedsTransformsUpdate = (1u << 0u) , CeresEngine::NeedsDisplay = (1u << 1u) , CeresEngine::NeedsLayout = (1u << 2u) , CeresEngine::NeedsConstraintUpdate = (1u << 3u) , CeresEngine::NeedsIntrinsicContentSizeUpdate = (1u << 4u) , CeresEngine::Visible = (1u << 5u) , CeresEngine::Active = (1u << 6u) , CeresEngine::AutoResize = (1u << 7u) } |
| enum class | CeresEngine::UIViewAutoResizing : UInt8 { CeresEngine::None = 0 , CeresEngine::FlexibleLeft = 1 << 0 , CeresEngine::Width = 1 << 1 , CeresEngine::FlexibleRight = 1 << 2 , CeresEngine::FlexibleBottom = 1 << 3 , CeresEngine::Height = 1 << 4 , CeresEngine::FlexibleTop = 1 << 5 , CeresEngine::Size = Width | Height , CeresEngine::Position = FlexibleLeft | FlexibleRight | FlexibleTop | FlexibleBottom , CeresEngine::All = Size | Position } |
Functions | |
| constexpr Flags< UIViewState, std::underlying_type_t< UIViewState > > | CeresEngine::operator| (UIViewState a, UIViewState b) noexcept |
| constexpr Flags< UIViewState, std::underlying_type_t< UIViewState > > | CeresEngine::operator& (UIViewState a, UIViewState b) noexcept |
| constexpr Flags< UIViewState, std::underlying_type_t< UIViewState > > | CeresEngine::operator~ (UIViewState a) noexcept |
| constexpr Flags< UIViewAutoResizing, std::underlying_type_t< UIViewAutoResizing > > | CeresEngine::operator| (UIViewAutoResizing a, UIViewAutoResizing b) noexcept |
| constexpr Flags< UIViewAutoResizing, std::underlying_type_t< UIViewAutoResizing > > | CeresEngine::operator& (UIViewAutoResizing a, UIViewAutoResizing b) noexcept |
| constexpr Flags< UIViewAutoResizing, std::underlying_type_t< UIViewAutoResizing > > | CeresEngine::operator~ (UIViewAutoResizing a) noexcept |
Variables | |
| const UISize | CeresEngine::UILayoutFittingCompressedSize |
| The option to use the smallest possible size. | |
| const UISize | CeresEngine::UILayoutFittingExpandedSize |
| The option to use the largest possible size. | |