Archicad 30 C++ API
Loading...
Searching...
No Matches
Dialog Manager

GRAPHISOFT Dialog Manager, primary UI framework. More...

Classes

class  DG::AppearanceChangedEventArg
 Event argument for appearance change notifications. More...
 
class  DG::AppearanceManager
 Manages the application's appearance settings and notifications. More...
 
class  DG::ColorCatalog
 Provides access to colors for dark mode support. More...
 
class  DG::RawAndDisplayText
 Class contains both raw and display text, and conversion between them. More...
 

Functions

DG_DLL_EXPORT bool DG::IsLightMode ()
 Checks if the current application appearance mode is light.
 
DG_DLL_EXPORT bool DG::IsDarkMode ()
 Checks if the current application appearance mode is dark.
 
UD_DLL_EXPORT Gfx::Color UD::GetListBoxColor (const UD::ListBoxColorId colorId)
 Gets the color associated with a given ColorId.
 

Detailed Description

GRAPHISOFT Dialog Manager, primary UI framework.

Function Documentation

◆ GetListBoxColor()

UD_DLL_EXPORT Gfx::Color UD::GetListBoxColor ( const UD::ListBoxColorId colorId)

Gets the color associated with a given ColorId.

Parameters
colorIdThe identifier of the color.
Returns
The color associated with the given ColorId and the current application appearance mode (light-dark mode).

◆ IsDarkMode()

DG_DLL_EXPORT bool DG::IsDarkMode ( )

Checks if the current application appearance mode is dark.

Returns
true if the current application appearance mode is dark.

◆ IsLightMode()

DG_DLL_EXPORT bool DG::IsLightMode ( )

Checks if the current application appearance mode is light.

Returns
true if the current application appearance mode is light.