|
Aurore
A Switch-like interface for your app, on every screen
|
A picture of the decorations, as a theme file sets it. More...
#include <aurore/core/theme.hpp>
Public Member Functions | |
| bool | hasImage () const |
Public Attributes | |
| std::string | image |
| its path (Theme::resolveAsset), "" without one | |
| BackgroundFit | fit = BackgroundFit::COVER |
| float | opacity = 1.0f |
| float | height = 0.0f |
A picture of the decorations, as a theme file sets it.
|
inline |
| BackgroundFit aurore::ThemePicture::fit = BackgroundFit::COVER |
| float aurore::ThemePicture::height = 0.0f |
decor.top_height, decor.bottom_height: the strip's height in layout units; 0: the picture's at the screen's width
| std::string aurore::ThemePicture::image |
its path (Theme::resolveAsset), "" without one
| float aurore::ThemePicture::opacity = 1.0f |
0 to 1