xtd - Reference Guide  0.2.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
List of all members
xtd::drawing::system_images Class Referencefinal

#include <system_images.h>

Definition

Each property of the xtd::drawing::system_images class is an xtd::drawing::image object for Windows system-wide images. This class cannot be inherited.

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::size default_size ()
 Gets system image from specified name. More...
 
static xtd::drawing::image image_loading ()
 
static xtd::drawing::image image_loading (const xtd::drawing::size &size)
 
static xtd::drawing::image image_missing ()
 
static xtd::drawing::image image_missing (const xtd::drawing::size &size)
 
static std::vector< xtd::ustringcontexts ()
 
static std::map< xtd::ustring, std::vector< xtd::ustring > > context_names ()
 
static std::vector< xtd::ustringnames ()
 
static std::vector< xtd::ustringnames (const xtd::ustring &context)
 
static std::vector< xtd::drawing::sizesizes ()
 

Methods

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

Member Function Documentation

◆ default_size()

static xtd::drawing::size xtd::drawing::system_images::default_size ( )
inlinestatic

Gets system image from specified name.

Returns
The default size in pixels (32 x 32).

◆ from_name() [1/4]

static xtd::drawing::image xtd::drawing::system_images::from_name ( const xtd::ustring name)
inlinestatic

Gets system image from specified name.

Parameters
nameThe system image name.
Returns
The system image 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::image xtd::drawing::system_images::from_name ( const xtd::ustring name,
const xtd::drawing::size size 
)
inlinestatic

Gets system image from specified name and size.

Parameters
nameThe system image name.
sizeThe system image size in pixels.
Returns
The system image from specified name.
Remarks
The theme is the default system theme.

◆ from_name() [3/4]

static xtd::drawing::image xtd::drawing::system_images::from_name ( const xtd::ustring theme,
const xtd::ustring name 
)
inlinestatic

Gets system image from specified them and name.

Parameters
themeThe system image theme.
nameThe system image name.
Returns
The system image from specified name.
Remarks
The size is the default size in pixels (32 x 32).

◆ from_name() [4/4]

static xtd::drawing::image xtd::drawing::system_images::from_name ( const xtd::ustring theme,
const xtd::ustring name,
const xtd::drawing::size size 
)
static

Gets system image from specified theme, name and size.

Parameters
themeThe system image theme.
nameThe system image name.
sizeThe system image size in pixels.
Returns
The system image from specified name.

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