Archicad 30 C++ API
Loading...
Searching...
No Matches
DG::AppearanceManager Class Reference

Manages the application's appearance settings and notifications. More...

#include <DGAppearanceManager.hpp>

Public Member Functions

 ~AppearanceManager ()
 Destructor for AppearanceManager.
 

Static Public Member Functions

static PreferredAppearanceMode GetPreferredAppearanceMode ()
 Gets the preferred appearance mode for the application.
 
static AppearanceMode GetApplicationAppearanceMode ()
 Gets the application's current appearance mode.
 
static AppearanceMode GetOSAppearanceMode ()
 Gets the operating system's current appearance mode.
 
static AppearanceManager & GetInstance ()
 Gets the singleton instance of the AppearanceManager.
 

Static Public Attributes

static EventNotifier< AppearanceManager, const AppearanceChangedEventArg > onAppearanceChanged
 Event notifier for appearance changes.
 

Detailed Description

Manages the application's appearance settings and notifications.

Member Function Documentation

◆ GetApplicationAppearanceMode()

static AppearanceMode DG::AppearanceManager::GetApplicationAppearanceMode ( )
static

Gets the application's current appearance mode.

Returns
The application's appearance mode.

◆ GetInstance()

static AppearanceManager & DG::AppearanceManager::GetInstance ( )
static

Gets the singleton instance of the AppearanceManager.

Returns
The singleton instance.

◆ GetOSAppearanceMode()

static AppearanceMode DG::AppearanceManager::GetOSAppearanceMode ( )
static

Gets the operating system's current appearance mode.

Returns
The operating system's appearance mode.

◆ GetPreferredAppearanceMode()

static PreferredAppearanceMode DG::AppearanceManager::GetPreferredAppearanceMode ( )
static

Gets the preferred appearance mode for the application.

Returns
The preferred appearance mode.