xtd - Reference Guide 0.2.0
xtd::drawing::system_icons Class Referencefinal

#include <system_icons.h>

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.

class drawing_export_ system_icons final static_
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.

Properties

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

Methods

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

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.

◆ 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.

◆ 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.

◆ from_name() [1/4]

static xtd::drawing::icon xtd::drawing::system_icons::from_name ( const xtd::ustring 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::ustring 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::ustring theme,
const xtd::ustring 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::ustring theme,
const xtd::ustring 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

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