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

Public Static Methods

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

Member Function Documentation

◆ application() [1/2]

auto xtd::drawing::system_icons::application ( ) -> xtd::drawing::icon
staticnodiscardnoexcept

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]

auto xtd::drawing::system_icons::application ( const xtd::drawing::size & size) -> xtd::drawing::icon
staticnodiscardnoexcept

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]

auto xtd::drawing::system_icons::asterisk ( ) -> xtd::drawing::icon
staticnodiscardnoexcept

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]

auto xtd::drawing::system_icons::asterisk ( const xtd::drawing::size & size) -> xtd::drawing::icon
staticnodiscardnoexcept

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]

auto xtd::drawing::system_icons::error ( ) -> xtd::drawing::icon
staticnodiscardnoexcept

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]

auto xtd::drawing::system_icons::error ( const xtd::drawing::size & size) -> xtd::drawing::icon
staticnodiscardnoexcept

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]

auto xtd::drawing::system_icons::exclamation ( ) -> xtd::drawing::icon
staticnodiscardnoexcept

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]

auto xtd::drawing::system_icons::exclamation ( const xtd::drawing::size & size) -> xtd::drawing::icon
staticnodiscardnoexcept

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]

auto xtd::drawing::system_icons::hand ( ) -> xtd::drawing::icon
staticnodiscardnoexcept

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]

auto xtd::drawing::system_icons::hand ( const xtd::drawing::size & size) -> xtd::drawing::icon
staticnodiscardnoexcept

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]

auto xtd::drawing::system_icons::information ( ) -> xtd::drawing::icon
staticnodiscardnoexcept

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]

auto xtd::drawing::system_icons::information ( const xtd::drawing::size & size) -> xtd::drawing::icon
staticnodiscardnoexcept

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]

auto xtd::drawing::system_icons::question ( ) -> xtd::drawing::icon
staticnodiscardnoexcept

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]

auto xtd::drawing::system_icons::question ( const xtd::drawing::size & size) -> xtd::drawing::icon
staticnodiscardnoexcept

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]

auto xtd::drawing::system_icons::shield ( ) -> xtd::drawing::icon
staticnodiscardnoexcept

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]

auto xtd::drawing::system_icons::shield ( const xtd::drawing::size & size) -> xtd::drawing::icon
staticnodiscardnoexcept

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]

auto xtd::drawing::system_icons::warning ( ) -> xtd::drawing::icon
staticnodiscardnoexcept

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]

auto xtd::drawing::system_icons::warning ( const xtd::drawing::size & size) -> xtd::drawing::icon
staticnodiscardnoexcept

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]

auto xtd::drawing::system_icons::win_logo ( ) -> xtd::drawing::icon
staticnodiscardnoexcept

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]

auto xtd::drawing::system_icons::win_logo ( const xtd::drawing::size & size) -> xtd::drawing::icon
staticnodiscardnoexcept

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()

auto xtd::drawing::system_icons::default_size ( ) -> xtd::drawing::size
staticnodiscardnoexcept

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]

auto xtd::drawing::system_icons::kde_logo ( ) -> xtd::drawing::icon
staticnodiscardnoexcept

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]

auto xtd::drawing::system_icons::kde_logo ( const xtd::drawing::size & size) -> xtd::drawing::icon
staticnodiscardnoexcept

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]

auto xtd::drawing::system_icons::macos_logo ( ) -> xtd::drawing::icon
staticnodiscardnoexcept

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]

auto xtd::drawing::system_icons::macos_logo ( const xtd::drawing::size & size) -> xtd::drawing::icon
staticnodiscardnoexcept

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]

auto xtd::drawing::system_icons::gnome_logo ( ) -> xtd::drawing::icon
staticnodiscardnoexcept

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]

auto xtd::drawing::system_icons::gnome_logo ( const xtd::drawing::size & size) -> xtd::drawing::icon
staticnodiscardnoexcept

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]

auto xtd::drawing::system_icons::symbolic_logo ( ) -> xtd::drawing::icon
staticnodiscardnoexcept

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]

auto xtd::drawing::system_icons::symbolic_logo ( const xtd::drawing::size & size) -> xtd::drawing::icon
staticnodiscardnoexcept

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]

auto xtd::drawing::system_icons::windows_logo ( ) -> xtd::drawing::icon
staticnodiscardnoexcept

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]

auto xtd::drawing::system_icons::windows_logo ( const xtd::drawing::size & size) -> xtd::drawing::icon
staticnodiscardnoexcept

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]

auto xtd::drawing::system_icons::gammasoft ( ) -> xtd::drawing::icon
staticnodiscardnoexcept

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]

auto xtd::drawing::system_icons::gammasoft ( const xtd::drawing::size & size) -> xtd::drawing::icon
staticnodiscardnoexcept

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]

auto xtd::drawing::system_icons::xtd_logo ( ) -> xtd::drawing::icon
staticnodiscardnoexcept

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]

auto xtd::drawing::system_icons::xtd_logo ( const xtd::drawing::size & size) -> xtd::drawing::icon
staticnodiscardnoexcept

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]

auto xtd::drawing::system_icons::xtd_forms_logo ( ) -> xtd::drawing::icon
staticnodiscardnoexcept

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]

auto xtd::drawing::system_icons::xtd_forms_logo ( const xtd::drawing::size & size) -> xtd::drawing::icon
staticnodiscardnoexcept

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]

auto xtd::drawing::system_icons::from_name ( const xtd::string & name) -> xtd::drawing::icon
staticnodiscard

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]

auto xtd::drawing::system_icons::from_name ( const xtd::string & name,
const xtd::drawing::size & size ) -> xtd::drawing::icon
staticnodiscard

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]

auto xtd::drawing::system_icons::from_name ( const xtd::string & theme,
const xtd::string & name ) -> xtd::drawing::icon
staticnodiscard

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]

auto xtd::drawing::system_icons::from_name ( const xtd::string & theme,
const xtd::string & name,
const xtd::drawing::size & size ) -> xtd::drawing::icon
staticnodiscard

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: