xtd 0.2.0
Loading...
Searching...
No Matches
xtd::drawing::system_icons Class Referencefinal
Inheritance diagram for xtd::drawing::system_icons:
xtd::static_object

Definition

Each property of the xtd::drawing::system_icons class is an xtd::drawing::icon object for Windows system-wide icons. This class cannot be inherited.

Each property of the xtd::drawing::system_icons class is an xtd::drawing::icon object for Windows sys...
Definition system_icons.hpp:28
#define drawing_export_
Define shared library export.
Definition drawing_export.hpp:13
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition static.hpp:37
Inheritance
xtd::static_objectxtd::drawing::system_icons
Namespace
xtd::drawing
Library
xtd.drawing
Remarks
Each property of the system_fonts class returns a Font used to display text in a particular Windows display element, such as the title bar of a window. These fonts reflect the current settings in Control Panel.

Public Static Properties

static xtd::drawing::icon application () noexcept
 Gets an xtd::drawing::icon object that contains the default application icon (WIN32: IDI_APPLICATION).
 
static xtd::drawing::icon application (const xtd::drawing::size &size) noexcept
 Gets an xtd::drawing::icon object that contains the default application icon (WIN32: IDI_APPLICATION) with specified size.
 
static xtd::drawing::icon asterisk () noexcept
 Gets an xtd::drawing::icon object that contains the system asterisk icon (WIN32: IDI_ASTERISK).
 
static xtd::drawing::icon asterisk (const xtd::drawing::size &size) noexcept
 Gets an xtd::drawing::icon object that contains the system asterisk icon (WIN32: IDI_ASTERISK) with specified size.
 
static xtd::drawing::icon error () noexcept
 Gets an xtd::drawing::icon object that contains the system error icon (WIN32: IDI_ERROR).
 
static xtd::drawing::icon error (const xtd::drawing::size &size) noexcept
 Gets an xtd::drawing::icon object that contains the system error icon (WIN32: IDI_ERROR) with specified size.
 
static xtd::drawing::icon exclamation () noexcept
 Gets an xtd::drawing::icon object that contains the system exclamation icon (WIN32: IDI_EXCLAMATION).
 
static xtd::drawing::icon exclamation (const xtd::drawing::size &size) noexcept
 Gets an xtd::drawing::icon object that contains the system exclamation icon (WIN32: IDI_EXCLAMATION) with specified size.
 
static xtd::drawing::icon hand () noexcept
 Gets an xtd::drawing::icon object that contains the system hand icon (WIN32: IDI_HAND).
 
static xtd::drawing::icon hand (const xtd::drawing::size &size) noexcept
 Gets an xtd::drawing::icon object that contains the system hand icon (WIN32: IDI_HAND) with specified size.
 
static xtd::drawing::icon information () noexcept
 Gets an xtd::drawing::icon object that contains the system information icon (WIN32: IDI_INFORMATION).
 
static xtd::drawing::icon information (const xtd::drawing::size &size) noexcept
 Gets an xtd::drawing::icon object that contains the system information icon (WIN32: IDI_INFORMATION) with specified size.
 
static xtd::drawing::icon question () noexcept
 Gets an xtd::drawing::icon object that contains the system question icon (WIN32: IDI_QUESTION).
 
static xtd::drawing::icon question (const xtd::drawing::size &size) noexcept
 Gets an xtd::drawing::icon object that contains the system question icon (WIN32: IDI_QUESTION) with specified size.
 
static xtd::drawing::icon shield () noexcept
 Gets an xtd::drawing::icon object that contains the shield icon.
 
static xtd::drawing::icon shield (const xtd::drawing::size &size) noexcept
 Gets an xtd::drawing::icon object that contains the shield icon with specified size.
 
static xtd::drawing::icon warning () noexcept
 Gets an xtd::drawing::icon object that contains the system warning icon (WIN32: IDI_WARNING).
 
static xtd::drawing::icon warning (const xtd::drawing::size &size) noexcept
 Gets an xtd::drawing::icon object that contains the system warning icon (WIN32: IDI_WARNING) with specified size.
 
static xtd::drawing::icon win_logo () noexcept
 Gets an xtd::drawing::icon object that contains the Windows logo icon (WIN32: IDI_WINLOGO).
 
static xtd::drawing::icon win_logo (const xtd::drawing::size &size) noexcept
 Gets an xtd::drawing::icon object that contains the Windows logo icon (WIN32: IDI_WINLOGO) with specified size.
 
static xtd::drawing::size default_size () noexcept
 Gets the default size of the icon.
 
static xtd::drawing::icon kde_logo () noexcept
 Gets an xtd::drawing::icon object that contains the KDE logo icon.
 
static xtd::drawing::icon kde_logo (const xtd::drawing::size &size) noexcept
 Gets an xtd::drawing::icon object that contains the KDE logo icon with specified size.
 
static xtd::drawing::icon macos_logo () noexcept
 Gets an xtd::drawing::icon object that contains the macOS logo icon.
 
static xtd::drawing::icon macos_logo (const xtd::drawing::size &size) noexcept
 Gets an xtd::drawing::icon object that contains the macOS logo icon with specified size.
 
static xtd::drawing::icon gnome_logo () noexcept
 Gets an xtd::drawing::icon object that contains the GNOME logo icon.
 
static xtd::drawing::icon gnome_logo (const xtd::drawing::size &size) noexcept
 Gets an xtd::drawing::icon object that contains the GNOME logo icon with specified size.
 
static xtd::drawing::icon symbolic_logo () noexcept
 Gets an xtd::drawing::icon object that contains the Symbolic logo icon.
 
static xtd::drawing::icon symbolic_logo (const xtd::drawing::size &size) noexcept
 Gets an xtd::drawing::icon object that contains the Symbolic logo icon with specified size.
 
static xtd::drawing::icon windows_logo () noexcept
 Gets an xtd::drawing::icon object that contains the Windows logo icon (WIN32: IDI_WINLOGO).
 
static xtd::drawing::icon windows_logo (const xtd::drawing::size &size) noexcept
 Gets an xtd::drawing::icon object that contains the Windows logo icon (WIN32: IDI_WINLOGO) with specified size.
 
static xtd::drawing::icon gammasoft () noexcept
 Gets an xtd::drawing::icon object that contains the Gammasoft logo icon.
 
static xtd::drawing::icon gammasoft (const xtd::drawing::size &size) noexcept
 Gets an xtd::drawing::icon object that contains the Gammasoft logo icon with specified size.
 
static xtd::drawing::icon xtd_logo () noexcept
 Gets an xtd::drawing::icon object that contains the xtd logo icon.
 
static xtd::drawing::icon xtd_logo (const xtd::drawing::size &size) noexcept
 Gets an xtd::drawing::icon object that contains the xtd logo icon with specified size.
 
static xtd::drawing::icon xtd_forms_logo () noexcept
 Gets an xtd::drawing::icon object that contains the xtd.forms logo icon.
 
static xtd::drawing::icon xtd_forms_logo (const xtd::drawing::size &size) noexcept
 Gets an xtd::drawing::icon object that contains the xtd.forms logo icon with specified size.
 

Public Static Methods

static xtd::drawing::icon from_name (const xtd::string &name)
 Gets system icon from specified name.
 
static xtd::drawing::icon from_name (const xtd::string &name, const xtd::drawing::size &size)
 Gets system icon from specified name and size.
 
static xtd::drawing::icon from_name (const xtd::string &theme, const xtd::string &name)
 Gets system icon from specified them and name.
 
static xtd::drawing::icon from_name (const xtd::string &theme, const xtd::string &name, const xtd::drawing::size &size)
 Gets system icon from specified theme, name and size.
 

Member Function Documentation

◆ application() [1/2]

static xtd::drawing::icon xtd::drawing::system_icons::application ( )
staticnoexcept

Gets an xtd::drawing::icon object that contains the default application icon (WIN32: IDI_APPLICATION).

Returns
An xtd::drawing::icon object that contains the default application icon.

◆ application() [2/2]

static xtd::drawing::icon xtd::drawing::system_icons::application ( const xtd::drawing::size size)
staticnoexcept

Gets an xtd::drawing::icon object that contains the default application icon (WIN32: IDI_APPLICATION) with specified size.

Parameters
sizeAn xtd::drawing::size structure that define the default size of icon.
Returns
An xtd::drawing::icon object that contains the default application the icon.

◆ asterisk() [1/2]

static xtd::drawing::icon xtd::drawing::system_icons::asterisk ( )
staticnoexcept

Gets an xtd::drawing::icon object that contains the system asterisk icon (WIN32: IDI_ASTERISK).

Returns
An xtd::drawing::icon object that contains the system asterisk icon.

◆ asterisk() [2/2]

static xtd::drawing::icon xtd::drawing::system_icons::asterisk ( const xtd::drawing::size size)
staticnoexcept

Gets an xtd::drawing::icon object that contains the system asterisk icon (WIN32: IDI_ASTERISK) with specified size.

Parameters
sizeAn xtd::drawing::size structure that define the size of the icon in pixels.
Returns
An xtd::drawing::icon object that contains the system asterisk icon.

◆ error() [1/2]

static xtd::drawing::icon xtd::drawing::system_icons::error ( )
staticnoexcept

Gets an xtd::drawing::icon object that contains the system error icon (WIN32: IDI_ERROR).

Returns
An xtd::drawing::icon object that contains the system error icon.

◆ error() [2/2]

static xtd::drawing::icon xtd::drawing::system_icons::error ( const xtd::drawing::size size)
staticnoexcept

Gets an xtd::drawing::icon object that contains the system error icon (WIN32: IDI_ERROR) with specified size.

Parameters
sizeAn xtd::drawing::size structure that define the size of the icon in pixels.
Returns
An xtd::drawing::icon object that contains the system error icon.

◆ exclamation() [1/2]

static xtd::drawing::icon xtd::drawing::system_icons::exclamation ( )
staticnoexcept

Gets an xtd::drawing::icon object that contains the system exclamation icon (WIN32: IDI_EXCLAMATION).

Returns
An xtd::drawing::icon object that contains the system exclamation icon.
Examples
busy_dialog.cpp.

◆ exclamation() [2/2]

static xtd::drawing::icon xtd::drawing::system_icons::exclamation ( const xtd::drawing::size size)
staticnoexcept

Gets an xtd::drawing::icon object that contains the system exclamation icon (WIN32: IDI_EXCLAMATION) with specified size.

Parameters
sizeAn xtd::drawing::size structure that define the size of the icon in pixels.
Returns
An xtd::drawing::icon object that contains the system exclamation icon.

◆ hand() [1/2]

static xtd::drawing::icon xtd::drawing::system_icons::hand ( )
staticnoexcept

Gets an xtd::drawing::icon object that contains the system hand icon (WIN32: IDI_HAND).

Returns
An xtd::drawing::icon object that contains the system hand icon.

◆ hand() [2/2]

static xtd::drawing::icon xtd::drawing::system_icons::hand ( const xtd::drawing::size size)
staticnoexcept

Gets an xtd::drawing::icon object that contains the system hand icon (WIN32: IDI_HAND) with specified size.

Parameters
sizeAn xtd::drawing::size structure that define the size of the icon in pixels.
Returns
An xtd::drawing::icon object that contains the system hand icon.

◆ information() [1/2]

static xtd::drawing::icon xtd::drawing::system_icons::information ( )
staticnoexcept

Gets an xtd::drawing::icon object that contains the system information icon (WIN32: IDI_INFORMATION).

Returns
An xtd::drawing::icon object that contains the system information icon.

◆ information() [2/2]

static xtd::drawing::icon xtd::drawing::system_icons::information ( const xtd::drawing::size size)
staticnoexcept

Gets an xtd::drawing::icon object that contains the system information icon (WIN32: IDI_INFORMATION) with specified size.

Parameters
sizeAn xtd::drawing::size structure that define the size of the icon in pixels.
Returns
An xtd::drawing::icon object that contains the system information icon.

◆ question() [1/2]

static xtd::drawing::icon xtd::drawing::system_icons::question ( )
staticnoexcept

Gets an xtd::drawing::icon object that contains the system question icon (WIN32: IDI_QUESTION).

Returns
An xtd::drawing::icon object that contains the system question icon.

◆ question() [2/2]

static xtd::drawing::icon xtd::drawing::system_icons::question ( const xtd::drawing::size size)
staticnoexcept

Gets an xtd::drawing::icon object that contains the system question icon (WIN32: IDI_QUESTION) with specified size.

Parameters
sizeAn xtd::drawing::size structure that define the size of the icon in pixels.
Returns
An xtd::drawing::icon object that contains the system question icon.

◆ shield() [1/2]

static xtd::drawing::icon xtd::drawing::system_icons::shield ( )
staticnoexcept

Gets an xtd::drawing::icon object that contains the shield icon.

Returns
An xtd::drawing::icon object that contains the shield icon.

◆ shield() [2/2]

static xtd::drawing::icon xtd::drawing::system_icons::shield ( const xtd::drawing::size size)
staticnoexcept

Gets an xtd::drawing::icon object that contains the shield icon with specified size.

Parameters
sizeAn xtd::drawing::size structure that define the size of the icon in pixels.
Returns
An xtd::drawing::icon object that contains the shield icon.

◆ warning() [1/2]

static xtd::drawing::icon xtd::drawing::system_icons::warning ( )
staticnoexcept

Gets an xtd::drawing::icon object that contains the system warning icon (WIN32: IDI_WARNING).

Returns
An xtd::drawing::icon object that contains the system warning icon.

◆ warning() [2/2]

static xtd::drawing::icon xtd::drawing::system_icons::warning ( const xtd::drawing::size size)
staticnoexcept

Gets an xtd::drawing::icon object that contains the system warning icon (WIN32: IDI_WARNING) with specified size.

Parameters
sizeAn xtd::drawing::size structure that define the size of the icon in pixels.
Returns
An xtd::drawing::icon object that contains the system warning icon.

◆ win_logo() [1/2]

static xtd::drawing::icon xtd::drawing::system_icons::win_logo ( )
staticnoexcept

Gets an xtd::drawing::icon object that contains the Windows logo icon (WIN32: IDI_WINLOGO).

Returns
An xtd::drawing::icon object that contains the Windows logo icon.

◆ win_logo() [2/2]

static xtd::drawing::icon xtd::drawing::system_icons::win_logo ( const xtd::drawing::size size)
staticnoexcept

Gets an xtd::drawing::icon object that contains the Windows logo icon (WIN32: IDI_WINLOGO) with specified size.

Parameters
sizeAn xtd::drawing::size structure that define the size of the icon in pixels.
Returns
An xtd::drawing::icon object that contains the Windows logo icon.

◆ default_size()

static xtd::drawing::size xtd::drawing::system_icons::default_size ( )
staticnoexcept

Gets the default size of the icon.

Returns
An xtd::drawing::size structure that define the default size of the icon in pixels.
Remarks
The default size is 32 x 32 pixels.

◆ kde_logo() [1/2]

static xtd::drawing::icon xtd::drawing::system_icons::kde_logo ( )
staticnoexcept

Gets an xtd::drawing::icon object that contains the KDE logo icon.

Returns
An xtd::drawing::icon object that contains the KDE logo icon.

◆ kde_logo() [2/2]

static xtd::drawing::icon xtd::drawing::system_icons::kde_logo ( const xtd::drawing::size size)
staticnoexcept

Gets an xtd::drawing::icon object that contains the KDE logo icon with specified size.

Parameters
sizeAn xtd::drawing::size structure that define the size of the icon in pixels.
Returns
An xtd::drawing::icon object that contains the KDE logo icon.

◆ macos_logo() [1/2]

static xtd::drawing::icon xtd::drawing::system_icons::macos_logo ( )
staticnoexcept

Gets an xtd::drawing::icon object that contains the macOS logo icon.

Returns
An xtd::drawing::icon object that contains the macOS logo icon.

◆ macos_logo() [2/2]

static xtd::drawing::icon xtd::drawing::system_icons::macos_logo ( const xtd::drawing::size size)
staticnoexcept

Gets an xtd::drawing::icon object that contains the macOS logo icon with specified size.

Parameters
sizeAn xtd::drawing::size structure that define the size of the icon in pixels.
Returns
An xtd::drawing::icon object that contains the macOS logo icon.

◆ gnome_logo() [1/2]

static xtd::drawing::icon xtd::drawing::system_icons::gnome_logo ( )
staticnoexcept

Gets an xtd::drawing::icon object that contains the GNOME logo icon.

Returns
An xtd::drawing::icon object that contains the GNOME logo icon.

◆ gnome_logo() [2/2]

static xtd::drawing::icon xtd::drawing::system_icons::gnome_logo ( const xtd::drawing::size size)
staticnoexcept

Gets an xtd::drawing::icon object that contains the GNOME logo icon with specified size.

Parameters
sizeAn xtd::drawing::size structure that define the size of the icon in pixels.
Returns
An xtd::drawing::icon object that contains the GNOME logo icon.

◆ symbolic_logo() [1/2]

static xtd::drawing::icon xtd::drawing::system_icons::symbolic_logo ( )
staticnoexcept

Gets an xtd::drawing::icon object that contains the Symbolic logo icon.

Returns
An xtd::drawing::icon object that contains the Symbolic logo icon.

◆ symbolic_logo() [2/2]

static xtd::drawing::icon xtd::drawing::system_icons::symbolic_logo ( const xtd::drawing::size size)
staticnoexcept

Gets an xtd::drawing::icon object that contains the Symbolic logo icon with specified size.

Parameters
sizeAn xtd::drawing::size structure that define the size of the icon in pixels.
Returns
An xtd::drawing::icon object that contains the Symbolic logo icon.

◆ windows_logo() [1/2]

static xtd::drawing::icon xtd::drawing::system_icons::windows_logo ( )
staticnoexcept

Gets an xtd::drawing::icon object that contains the Windows logo icon (WIN32: IDI_WINLOGO).

Returns
An xtd::drawing::icon object that contains the Windows logo icon.

◆ windows_logo() [2/2]

static xtd::drawing::icon xtd::drawing::system_icons::windows_logo ( const xtd::drawing::size size)
staticnoexcept

Gets an xtd::drawing::icon object that contains the Windows logo icon (WIN32: IDI_WINLOGO) with specified size.

Parameters
sizeAn xtd::drawing::size structure that define the size of the icon in pixels.
Returns
An xtd::drawing::icon object that contains the Windows logo icon.

◆ gammasoft() [1/2]

static xtd::drawing::icon xtd::drawing::system_icons::gammasoft ( )
staticnoexcept

Gets an xtd::drawing::icon object that contains the Gammasoft logo icon.

Returns
An xtd::drawing::icon object that contains the Gammasoft logo icon.
Examples
tutorial_application_icon.cpp.

◆ gammasoft() [2/2]

static xtd::drawing::icon xtd::drawing::system_icons::gammasoft ( const xtd::drawing::size size)
staticnoexcept

Gets an xtd::drawing::icon object that contains the Gammasoft logo icon with specified size.

Parameters
sizeAn xtd::drawing::size structure that define the size of the icon in pixels.
Returns
An xtd::drawing::icon object that contains the Gammasoft logo icon.

◆ xtd_logo() [1/2]

static xtd::drawing::icon xtd::drawing::system_icons::xtd_logo ( )
staticnoexcept

Gets an xtd::drawing::icon object that contains the xtd logo icon.

Returns
An xtd::drawing::icon object that contains the xtd logo icon.
Examples
application_enable_dark_mode.cpp, application_enable_light_mode.cpp, some_controls.cpp, some_system_controls.cpp, and themes.cpp.

◆ xtd_logo() [2/2]

static xtd::drawing::icon xtd::drawing::system_icons::xtd_logo ( const xtd::drawing::size size)
staticnoexcept

Gets an xtd::drawing::icon object that contains the xtd logo icon with specified size.

Parameters
sizeAn xtd::drawing::size structure that define the size of the icon in pixels.
Returns
An xtd::drawing::icon object that contains the xtd logo icon.

◆ xtd_forms_logo() [1/2]

static xtd::drawing::icon xtd::drawing::system_icons::xtd_forms_logo ( )
staticnoexcept

Gets an xtd::drawing::icon object that contains the xtd.forms logo icon.

Returns
An xtd::drawing::icon object that contains the xtd.forms logo icon.

◆ xtd_forms_logo() [2/2]

static xtd::drawing::icon xtd::drawing::system_icons::xtd_forms_logo ( const xtd::drawing::size size)
staticnoexcept

Gets an xtd::drawing::icon object that contains the xtd.forms logo icon with specified size.

Parameters
sizeAn xtd::drawing::size structure that define the size of the icon in pixels.
Returns
An xtd::drawing::icon object that contains the xtd.forms logo icon.

◆ from_name() [1/4]

static xtd::drawing::icon xtd::drawing::system_icons::from_name ( const xtd::string name)
static

Gets system icon from specified name.

Parameters
nameThe system icon name.
Returns
An xtd::drawing::icon object that contains the system icon from specified name.
Remarks
The theme is the default system theme.
The size is the default size (32 x 32).

◆ from_name() [2/4]

static xtd::drawing::icon xtd::drawing::system_icons::from_name ( const xtd::string name,
const xtd::drawing::size size 
)
static

Gets system icon from specified name and size.

Parameters
nameThe system icon name.
sizeThe system icon size in pixels.
Returns
An xtd::drawing::icon object that contains the system icon from specified name.
Remarks
The theme is the default system theme.

◆ from_name() [3/4]

static xtd::drawing::icon xtd::drawing::system_icons::from_name ( const xtd::string theme,
const xtd::string name 
)
static

Gets system icon from specified them and name.

Parameters
themeThe system icon theme.
nameThe system icon name.
Returns
An xtd::drawing::icon object that contains the system icon from specified name.
Remarks
The size is the default size in pixels (32 x 32).

◆ from_name() [4/4]

static xtd::drawing::icon xtd::drawing::system_icons::from_name ( const xtd::string theme,
const xtd::string name,
const xtd::drawing::size size 
)
static

Gets system icon from specified theme, name and size.

Parameters
themeThe system icon theme.
nameThe system icon name.
sizeThe system icon size in pixels.
Returns
An xtd::drawing::icon object that contains the system icon from specified name.

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