Aurore
A Switch-like interface for your app, on every screen
Loading...
Searching...
No Matches
aurore::ThemePicture Struct Reference

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
 

Detailed Description

A picture of the decorations, as a theme file sets it.

Member Function Documentation

◆ hasImage()

bool aurore::ThemePicture::hasImage ( ) const
inline

Member Data Documentation

◆ fit

BackgroundFit aurore::ThemePicture::fit = BackgroundFit::COVER

◆ height

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

◆ image

std::string aurore::ThemePicture::image

its path (Theme::resolveAsset), "" without one

◆ opacity

float aurore::ThemePicture::opacity = 1.0f

0 to 1


The documentation for this struct was generated from the following file: