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

A Cadran icon a theme draws as a picture (icon.<name>, docs/themes.md) More...

#include <aurore/core/theme.hpp>

Public Member Functions

bool operator== (const ThemeIcon &) const =default
 

Public Attributes

std::string image
 
bool tint = false
 

Detailed Description

A Cadran icon a theme draws as a picture (icon.<name>, docs/themes.md)

Member Function Documentation

◆ operator==()

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

Member Data Documentation

◆ image

std::string aurore::ThemeIcon::image

its path (Theme::resolveAsset)

◆ tint

bool aurore::ThemeIcon::tint = false

icon.<name>.tint: the picture is a mask, drawn in the icon's colour (ThemeImageOptions::mask); else drawn as is


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