![]() |
NDEVR
API Documentation
|
Stores information for how to draw icons, when supported. More...
Public Member Functions | |
| IconThemeDisplaySettings & | displaySettings () |
| Returns a mutable reference to the display settings for this theme. | |
| const IconThemeDisplaySettings & | displaySettings () const |
| Returns a const reference to the display settings for this theme. | |
| void | setup (const TranslatedString &name, const StringView &theme_icon, const StringView &theme_icon_location) |
| Configures the display settings for this icon theme. | |
Public Attributes | |
| RGBColor | accent_color |
| Accent color for icon highlights and emphasis. | |
| bool | blend_color |
| Whether to blend theme colors when colorizing icons. | |
| bool | colorize_svgs |
| Whether to apply theme colors to SVG icons. | |
| RGBColor | highlight_color |
| Color used for highlighted or selected icon elements. | |
| UUID | id = Constant<UUID>::Invalid |
| Unique identifier for the icon theme. | |
| RGBColor | outline_color |
| Color used for icon outlines and borders. | |
| fltp08 | pixel_size |
| Default pixel size for rendered icons. | |
| RGBColor | primary_color |
| Primary color applied to icon rendering. | |
| RGBColor | secondary_color |
| Secondary color applied to icon rendering. | |
Stores information for how to draw icons, when supported.
Definition at line 69 of file QTIconManager.h.
| IconThemeDisplaySettings & IconThemeSettings::displaySettings | ( | ) |
Returns a mutable reference to the display settings for this theme.
| const IconThemeDisplaySettings & IconThemeSettings::displaySettings | ( | ) | const |
Returns a const reference to the display settings for this theme.
| void IconThemeSettings::setup | ( | const TranslatedString & | name, |
| const StringView & | theme_icon, | ||
| const StringView & | theme_icon_location ) |
Configures the display settings for this icon theme.
| [in] | name | The user-facing translated name of the theme. |
| [in] | theme_icon | The icon resource identifier for the theme. |
| [in] | theme_icon_location | The file or resource path where the theme icon is located. |