#include <ModernIBarSkin.hpp>
|
| enum class | DeedArtwork { Railroad
, Electric
, Water
} |
| |
| using | TextRasterizer = std::function< std::expected< data::LegacyBitmapRGBA8, std::string >(std::string_view)> |
| |
| using | TokenImageProvider = std::function< std::shared_ptr< const data::LegacyBitmapRGBA8 >(std::uint8_t token)> |
| |
| using | DescriptorProvider = std::function< std::optional< PropertyDescriptor >(unsigned)> |
| |
| using | DeedPlacementProvider = std::function< std::optional< std::array< float, 4 > >(data::DataId, std::uint16_t priority, const sequence::Matrix2D &rasterToWorld)> |
| |
| using | DeedTextRasterizer = std::function< std::expected< data::LegacyBitmapRGBA8, std::string >(std::string_view, int, bool, bool)> |
| |
| using | IdleCardPresentationProvider = std::function< std::optional< IdleCardPresentation >(data::DataId, std::uint16_t, const sequence::Matrix2D &sequenceToWorld)> |
| |
| using | LayoutProvider = std::function< layout::ActionButtonLayout()> |
| |
|
| | ModernIBarSkin (data::LanguageId language, TextRasterizer text) |
| |
| void | configureTokenImages (TokenImageProvider provider) |
| |
| void | configurePropertyDescriptors (DescriptorProvider provider, TextRasterizer text) |
| |
| void | configureDeedPlacementProvider (DeedPlacementProvider provider) |
| |
| void | configureDeedDescriptors (std::map< data::DataId, DeedDescriptor > descriptors, DeedTextRasterizer rasterizer) |
| |
| void | configureIdleCardPresentation (IdleCardPresentationProvider provider) |
| |
| bool | supportsIdleCardPresentation (data::DataId root) const noexcept |
| |
| void | configureDrawCardDescriptors (std::map< data::DataId, DrawCardDescriptor > descriptors, DeedTextRasterizer rasterizer) |
| |
| void | configurePresentationContext (std::function< bool()> predicate) |
| |
| void | configureActionText (TextRasterizer rasterizer) |
| |
| void | configureLayoutProvider (LayoutProvider provider) |
| |
| bool | supports (data::DataId root) const noexcept |
| |
| bool | supportsAuctionToken (data::DataId root) const noexcept |
| |
| bool | supportsCardFaceIn (data::DataId root) const noexcept |
| |
| std::shared_ptr< const data::BitmapRuntimeAsset > | substitute (data::DataId root, std::shared_ptr< const data::BitmapRuntimeAsset > original, bool principal=true, std::optional< sequence::Matrix2D > rasterToWorld={}, std::optional< std::uint16_t > priority={}, std::optional< sequence::Matrix2D > sequenceToWorld={}) |
| |
Definition at line 17 of file ModernIBarSkin.hpp.
◆ DeedPlacementProvider
◆ DeedTextRasterizer
◆ DescriptorProvider
◆ IdleCardPresentationProvider
◆ LayoutProvider
◆ TextRasterizer
◆ TokenImageProvider
◆ DeedArtwork
◆ ModernIBarSkin()
◆ configureActionText()
◆ configureDeedDescriptors()
◆ configureDeedPlacementProvider()
◆ configureDrawCardDescriptors()
◆ configureIdleCardPresentation()
◆ configureLayoutProvider()
◆ configurePresentationContext()
| void monopoly::ibar::ModernIBarSkin::configurePresentationContext |
( |
std::function< bool()> |
predicate | ) |
|
|
inline |
◆ configurePropertyDescriptors()
◆ configureTokenImages()
◆ substitute()
◆ supports()
◆ supportsAuctionToken()
| bool monopoly::ibar::ModernIBarSkin::supportsAuctionToken |
( |
data::DataId |
root | ) |
const |
|
noexcept |
◆ supportsCardFaceIn()
| bool monopoly::ibar::ModernIBarSkin::supportsCardFaceIn |
( |
data::DataId |
root | ) |
const |
|
noexcept |
◆ supportsIdleCardPresentation()
| bool monopoly::ibar::ModernIBarSkin::supportsIdleCardPresentation |
( |
data::DataId |
root | ) |
const |
|
noexcept |
The documentation for this class was generated from the following files: