NDEVR
API Documentation
IconThemeSettings

Stores information for how to draw icons, when supported. More...

Collaboration diagram for IconThemeSettings:
[legend]

Public Member Functions

IconThemeDisplaySettingsdisplaySettings ()
 Returns a mutable reference to the display settings for this theme.
const IconThemeDisplaySettingsdisplaySettings () 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.

Detailed Description

Stores information for how to draw icons, when supported.


Definition at line 69 of file QTIconManager.h.

Member Function Documentation

◆ displaySettings() [1/2]

IconThemeDisplaySettings & IconThemeSettings::displaySettings ( )

Returns a mutable reference to the display settings for this theme.

Returns
The display settings.

◆ displaySettings() [2/2]

const IconThemeDisplaySettings & IconThemeSettings::displaySettings ( ) const

Returns a const reference to the display settings for this theme.

Returns
The display settings.

◆ setup()

void IconThemeSettings::setup ( const TranslatedString & name,
const StringView & theme_icon,
const StringView & theme_icon_location )

Configures the display settings for this icon theme.

Parameters
[in]nameThe user-facing translated name of the theme.
[in]theme_iconThe icon resource identifier for the theme.
[in]theme_icon_locationThe file or resource path where the theme icon is located.

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