Audacity 3.2.0
Public Member Functions | Public Attributes | List of all members
ThemeBase::RegisteredTheme Struct Reference

#include <Theme.h>

Collaboration diagram for ThemeBase::RegisteredTheme:
[legend]

Public Member Functions

 RegisteredTheme (EnumValueSymbol symbol, PreferredSystemAppearance preferredSystemAppearance, const std::vector< unsigned char > &data)
 
 ~RegisteredTheme ()
 

Public Attributes

const EnumValueSymbol symbol
 
const PreferredSystemAppearance preferredSystemAppearance
 
const std::vector< unsigned char > & data
 

Detailed Description

Definition at line 134 of file Theme.h.

Constructor & Destructor Documentation

◆ RegisteredTheme()

ThemeBase::RegisteredTheme::RegisteredTheme ( EnumValueSymbol  symbol,
PreferredSystemAppearance  preferredSystemAppearance,
const std::vector< unsigned char > &  data 
)
Parameters
dataA reference to this vector is stored, not a copy of it!

Definition at line 202 of file Theme.cpp.

205 : symbol{ symbol }
207 , data { data }
208{
209 GetThemeCacheLookup().emplace(symbol, *this);
210}
static ThemeCacheLookup & GetThemeCacheLookup()
Definition: Theme.cpp:196
const EnumValueSymbol symbol
Definition: Theme.h:142
const PreferredSystemAppearance preferredSystemAppearance
Definition: Theme.h:143
const std::vector< unsigned char > & data
Definition: Theme.h:144

References GetThemeCacheLookup(), and symbol.

Here is the call graph for this function:

◆ ~RegisteredTheme()

ThemeBase::RegisteredTheme::~RegisteredTheme ( )

Definition at line 212 of file Theme.cpp.

213{
215}

References GetThemeCacheLookup().

Here is the call graph for this function:

Member Data Documentation

◆ data

const std::vector<unsigned char>& ThemeBase::RegisteredTheme::data

Definition at line 144 of file Theme.h.

◆ preferredSystemAppearance

const PreferredSystemAppearance ThemeBase::RegisteredTheme::preferredSystemAppearance

Definition at line 143 of file Theme.h.

◆ symbol

const EnumValueSymbol ThemeBase::RegisteredTheme::symbol

Definition at line 142 of file Theme.h.

Referenced by RegisteredTheme().


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