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

#include <aurore/core/theme.hpp>

Public Member Functions

bool empty () const
 
bool operator== (const ThemePictures &) const =default
 

Public Attributes

std::string logo
 logo: the app's mark, "" for the app's own
 
std::string preview
 preview: the theme's thumbnail in a picker
 
std::map< std::string, ThemeIcon > icons
 icon.<name>, by icon name
 
std::map< std::string, std::string > images
 image.<key>, by image slot
 

Detailed Description

A variant's pictures besides its background, as a theme file sets them (docs/themes.md, "Logos and images"): paths made by Theme::resolveAsset

Member Function Documentation

◆ empty()

bool aurore::ThemePictures::empty ( ) const
inline

◆ operator==()

bool aurore::ThemePictures::operator== ( const ThemePictures &  ) const
default

Member Data Documentation

◆ icons

std::map<std::string, ThemeIcon> aurore::ThemePictures::icons

icon.<name>, by icon name

◆ images

std::map<std::string, std::string> aurore::ThemePictures::images

image.<key>, by image slot

◆ logo

std::string aurore::ThemePictures::logo

logo: the app's mark, "" for the app's own

◆ preview

std::string aurore::ThemePictures::preview

preview: the theme's thumbnail in a picker


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