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.
Static Public Member Functions | List of all members
xtd::forms::button_images Class Referencefinal

#include <button_images.h>

Definition

Provides a button images factories for use by a button control.

Namespace
xtd::forms
Library
xtd.forms

Static Public Member Functions

static xtd::drawing::image add ()
 Add image object. More...
 
static xtd::drawing::image add (const xtd::ustring &theme)
 Add image object with specified theme. More...
 
static xtd::drawing::image add (const xtd::drawing::size &size)
 Add image object with specified size. More...
 
static xtd::drawing::image add (const xtd::ustring &theme, const xtd::drawing::size &size)
 Add image object with specified theme and size. More...
 
static xtd::drawing::image add (const xtd::forms::theme_images &theme, const xtd::drawing::size &size)
 Add image object with specified theme images and size. More...
 
static xtd::drawing::image apply ()
 Apply image object. More...
 
static xtd::drawing::image apply (const xtd::ustring &theme)
 Apply image object with specified theme. More...
 
static xtd::drawing::image apply (const xtd::drawing::size &size)
 Apply image object with specified size. More...
 
static xtd::drawing::image apply (const xtd::ustring &theme, const xtd::drawing::size &size)
 Apply image object with specified theme and size. More...
 
static xtd::drawing::image apply (const xtd::forms::theme_images &theme, const xtd::drawing::size &size)
 Apply image object with specified theme images and size. More...
 
static xtd::drawing::image cancel ()
 Cancel image object. More...
 
static xtd::drawing::image cancel (const xtd::ustring &theme)
 Cancel image object with specified theme. More...
 
static xtd::drawing::image cancel (const xtd::drawing::size &size)
 Cancel image object with specified size. More...
 
static xtd::drawing::image cancel (const xtd::ustring &theme, const xtd::drawing::size &size)
 Cancel image object with specified theme and size. More...
 
static xtd::drawing::image cancel (const xtd::forms::theme_images &theme, const xtd::drawing::size &size)
 Cancel image object with specified theme images and size. More...
 
static xtd::drawing::image from_name (const xtd::ustring &name)
 Gets image object with specified name. More...
 
static xtd::drawing::image from_name (const xtd::ustring &theme, const xtd::ustring &name)
 Gets image object with specified theme and name. More...
 
static xtd::drawing::image from_name (const xtd::ustring &name, const xtd::drawing::size &size)
 Gets image object with specified name and size. More...
 
static xtd::drawing::image from_name (const xtd::ustring &theme, const xtd::ustring &name, const xtd::drawing::size &size)
 Gets image object with specified theme, name and size. More...
 
static xtd::drawing::image from_name (const xtd::forms::theme_images &theme, const xtd::ustring &name, const xtd::drawing::size &size)
 Gets image object with specified theme, name and size. More...
 
static xtd::drawing::image next ()
 Next image object. More...
 
static xtd::drawing::image next (const xtd::ustring &theme)
 Next image object with specified theme. More...
 
static xtd::drawing::image next (const xtd::drawing::size &size)
 Next image object with specified size. More...
 
static xtd::drawing::image next (const xtd::ustring &theme, const xtd::drawing::size &size)
 Next image object with specified theme and size. More...
 
static xtd::drawing::image next (const xtd::forms::theme_images &theme, const xtd::drawing::size &size)
 Next image object with specified theme images and size. More...
 
static xtd::drawing::image no ()
 No image object. More...
 
static xtd::drawing::image no (const xtd::ustring &theme)
 No image object with specified theme. More...
 
static xtd::drawing::image no (const xtd::drawing::size &size)
 No image object with specified size. More...
 
static xtd::drawing::image no (const xtd::ustring &theme, const xtd::drawing::size &size)
 No image object with specified theme and size. More...
 
static xtd::drawing::image no (const xtd::forms::theme_images &theme, const xtd::drawing::size &size)
 No image object with specified theme images and size. More...
 
static xtd::drawing::image ok ()
 Ok image object. More...
 
static xtd::drawing::image ok (const xtd::ustring &theme)
 Ok image object with specified theme. More...
 
static xtd::drawing::image ok (const xtd::drawing::size &size)
 Ok image object with specified size. More...
 
static xtd::drawing::image ok (const xtd::ustring &theme, const xtd::drawing::size &size)
 Ok image object with specified theme and size. More...
 
static xtd::drawing::image ok (const xtd::forms::theme_images &theme, const xtd::drawing::size &size)
 Ok image object with specified theme images and size. More...
 
static xtd::drawing::image previous ()
 Previous image object. More...
 
static xtd::drawing::image previous (const xtd::ustring &theme)
 Previous image object with specified theme. More...
 
static xtd::drawing::image previous (const xtd::drawing::size &size)
 Previous image object with specified size. More...
 
static xtd::drawing::image previous (const xtd::ustring &theme, const xtd::drawing::size &size)
 Previous image object with specified theme and size. More...
 
static xtd::drawing::image previous (const xtd::forms::theme_images &theme, const xtd::drawing::size &size)
 Previous image object with specified theme images and size. More...
 
static xtd::drawing::image remove ()
 Remove image object. More...
 
static xtd::drawing::image remove (const xtd::ustring &theme)
 Remove image object with specified theme. More...
 
static xtd::drawing::image remove (const xtd::drawing::size &size)
 Remove image object with specified size. More...
 
static xtd::drawing::image remove (const xtd::ustring &theme, const xtd::drawing::size &size)
 Remove image object with specified theme and size. More...
 
static xtd::drawing::image remove (const xtd::forms::theme_images &theme, const xtd::drawing::size &size)
 Remove image object with specified theme images and size. More...
 
static xtd::drawing::size size ()
 Gets the height and width of the button images. More...
 
static xtd::drawing::image yes ()
 Yes image object. More...
 
static xtd::drawing::image yes (const xtd::ustring &theme)
 Yes image object with specified theme. More...
 
static xtd::drawing::image yes (const xtd::drawing::size &size)
 Yes image object with specified size. More...
 
static xtd::drawing::image yes (const xtd::ustring &theme, const xtd::drawing::size &size)
 Yes image object with specified theme and size. More...
 
static xtd::drawing::image yes (const xtd::forms::theme_images &theme, const xtd::drawing::size &size)
 Yes image object with specified theme images and size. More...
 

Member Function Documentation

◆ add() [1/5]

static xtd::drawing::image xtd::forms::button_images::add ( )
inlinestatic

Add image object.

Returns
A xtd::drawing::image that represent "list-add".

◆ add() [2/5]

static xtd::drawing::image xtd::forms::button_images::add ( const xtd::ustring theme)
inlinestatic

Add image object with specified theme.

Parameters
themeA string that represent a theme
Returns
A xtd::drawing::image that represent "list-add".

◆ add() [3/5]

static xtd::drawing::image xtd::forms::button_images::add ( const xtd::drawing::size size)
inlinestatic

Add image object with specified size.

Parameters
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "list-add".

◆ add() [4/5]

static xtd::drawing::image xtd::forms::button_images::add ( const xtd::ustring theme,
const xtd::drawing::size size 
)
inlinestatic

Add image object with specified theme and size.

Parameters
themeA string that represent a theme
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "list-add".

◆ add() [5/5]

static xtd::drawing::image xtd::forms::button_images::add ( const xtd::forms::theme_images theme,
const xtd::drawing::size size 
)
inlinestatic

Add image object with specified theme images and size.

Parameters
themeA xtd::forms::theme_images that represent a theme images
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "list-add".

◆ apply() [1/5]

static xtd::drawing::image xtd::forms::button_images::apply ( )
inlinestatic

Apply image object.

Returns
A xtd::drawing::image that represent "dialog-ok-apply".

◆ apply() [2/5]

static xtd::drawing::image xtd::forms::button_images::apply ( const xtd::ustring theme)
inlinestatic

Apply image object with specified theme.

Parameters
themeA string that represent a theme
Returns
A xtd::drawing::image that represent "dialog-ok-apply".

◆ apply() [3/5]

static xtd::drawing::image xtd::forms::button_images::apply ( const xtd::drawing::size size)
inlinestatic

Apply image object with specified size.

Parameters
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "dialog-ok-apply".

◆ apply() [4/5]

static xtd::drawing::image xtd::forms::button_images::apply ( const xtd::ustring theme,
const xtd::drawing::size size 
)
inlinestatic

Apply image object with specified theme and size.

Parameters
themeA string that represent a theme
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "dialog-ok-apply".

◆ apply() [5/5]

static xtd::drawing::image xtd::forms::button_images::apply ( const xtd::forms::theme_images theme,
const xtd::drawing::size size 
)
inlinestatic

Apply image object with specified theme images and size.

Parameters
themeA xtd::forms::theme_images that represent a theme images
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "dialog-ok-apply".

◆ cancel() [1/5]

static xtd::drawing::image xtd::forms::button_images::cancel ( )
inlinestatic

Cancel image object.

Returns
A xtd::drawing::image that represent "dialog-cancel".

◆ cancel() [2/5]

static xtd::drawing::image xtd::forms::button_images::cancel ( const xtd::ustring theme)
inlinestatic

Cancel image object with specified theme.

Parameters
themeA string that represent a theme
Returns
A xtd::drawing::image that represent "dialog-cancel".

◆ cancel() [3/5]

static xtd::drawing::image xtd::forms::button_images::cancel ( const xtd::drawing::size size)
inlinestatic

Cancel image object with specified size.

Parameters
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "dialog-cancel".

◆ cancel() [4/5]

static xtd::drawing::image xtd::forms::button_images::cancel ( const xtd::ustring theme,
const xtd::drawing::size size 
)
inlinestatic

Cancel image object with specified theme and size.

Parameters
themeA string that represent a theme
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "dialog-cancel".

◆ cancel() [5/5]

static xtd::drawing::image xtd::forms::button_images::cancel ( const xtd::forms::theme_images theme,
const xtd::drawing::size size 
)
inlinestatic

Cancel image object with specified theme images and size.

Parameters
themeA xtd::forms::theme_images that represent a theme images
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "dialog-cancel".

◆ from_name() [1/5]

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

Gets image object with specified name.

Parameters
namethe image name to get.
Returns
A xtd::drawing::image that represent the specified name.
Remarks
Use xtd::drawing::system_images::context_names to get names by context.

◆ from_name() [2/5]

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

Gets image object with specified theme and name.

Parameters
themethe theme name that contains the image to get.
namethe image name to get.
Returns
A xtd::drawing::image that represent the specified name.
Remarks
Use xtd::drawing::system_images::themes to get valid themes.
Use xtd::drawing::system_images::context_names to get valid names by context.

◆ from_name() [3/5]

static xtd::drawing::image xtd::forms::button_images::from_name ( const xtd::ustring name,
const xtd::drawing::size size 
)
inlinestatic

Gets image object with specified name and size.

Parameters
namethe image name to get.
sizeThe size that represents the height and width of the button images in pixels.
Returns
A xtd::drawing::image that represent the specified name.
Remarks
Use xtd::drawing::system_images::themes to get valid themes.
Use xtd::drawing::system_images::context_names to get valid names by context.

◆ from_name() [4/5]

static xtd::drawing::image xtd::forms::button_images::from_name ( const xtd::ustring theme,
const xtd::ustring name,
const xtd::drawing::size size 
)
inlinestatic

Gets image object with specified theme, name and size.

Parameters
themethe theme name that contains the image to get.
namethe image name to get.
sizeThe size that represents the height and width of the button images in pixels.
Returns
A xtd::drawing::image that represent the specified name.
Remarks
Use xtd::drawing::system_images::themes to get valid themes.
Use xtd::drawing::system_images::context_names to get valid names by context.

◆ from_name() [5/5]

static xtd::drawing::image xtd::forms::button_images::from_name ( const xtd::forms::theme_images theme,
const xtd::ustring name,
const xtd::drawing::size size 
)
inlinestatic

Gets image object with specified theme, name and size.

Parameters
themethe theme that contains the image to get.
namethe image name to get.
sizeThe size that represents the height and width of the button images in pixels.
Returns
A xtd::drawing::image that represent the specified name.
Remarks
Use xtd::drawing::system_images::themes to get valid themes.
Use xtd::drawing::system_images::context_names to get valid names by context.

◆ next() [1/5]

static xtd::drawing::image xtd::forms::button_images::next ( )
inlinestatic

Next image object.

Returns
A xtd::drawing::image that represent "go-next".

◆ next() [2/5]

static xtd::drawing::image xtd::forms::button_images::next ( const xtd::ustring theme)
inlinestatic

Next image object with specified theme.

Parameters
themeA string that represent a theme
Returns
A xtd::drawing::image that represent "go-next".

◆ next() [3/5]

static xtd::drawing::image xtd::forms::button_images::next ( const xtd::drawing::size size)
inlinestatic

Next image object with specified size.

Parameters
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "go-next".

◆ next() [4/5]

static xtd::drawing::image xtd::forms::button_images::next ( const xtd::ustring theme,
const xtd::drawing::size size 
)
inlinestatic

Next image object with specified theme and size.

Parameters
themeA string that represent a theme
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "go-next".

◆ next() [5/5]

static xtd::drawing::image xtd::forms::button_images::next ( const xtd::forms::theme_images theme,
const xtd::drawing::size size 
)
inlinestatic

Next image object with specified theme images and size.

Parameters
themeA xtd::forms::theme_images that represent a theme images
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "go-next".

◆ no() [1/5]

static xtd::drawing::image xtd::forms::button_images::no ( )
inlinestatic

No image object.

Returns
A xtd::drawing::image that represent "dialog-cancel".

◆ no() [2/5]

static xtd::drawing::image xtd::forms::button_images::no ( const xtd::ustring theme)
inlinestatic

No image object with specified theme.

Parameters
themeA string that represent a theme
Returns
A xtd::drawing::image that represent "dialog-cancel".

◆ no() [3/5]

static xtd::drawing::image xtd::forms::button_images::no ( const xtd::drawing::size size)
inlinestatic

No image object with specified size.

Parameters
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "dialog-cancel".

◆ no() [4/5]

static xtd::drawing::image xtd::forms::button_images::no ( const xtd::ustring theme,
const xtd::drawing::size size 
)
inlinestatic

No image object with specified theme and size.

Parameters
themeA string that represent a theme
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "dialog-cancel".

◆ no() [5/5]

static xtd::drawing::image xtd::forms::button_images::no ( const xtd::forms::theme_images theme,
const xtd::drawing::size size 
)
inlinestatic

No image object with specified theme images and size.

Parameters
themeA xtd::forms::theme_images that represent a theme images
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "dialog-cancel".

◆ ok() [1/5]

static xtd::drawing::image xtd::forms::button_images::ok ( )
inlinestatic

Ok image object.

Returns
A xtd::drawing::image that represent "dialog-ok".

◆ ok() [2/5]

static xtd::drawing::image xtd::forms::button_images::ok ( const xtd::ustring theme)
inlinestatic

Ok image object with specified theme.

Parameters
themeA string that represent a theme
Returns
A xtd::drawing::image that represent "dialog-ok".

◆ ok() [3/5]

static xtd::drawing::image xtd::forms::button_images::ok ( const xtd::drawing::size size)
inlinestatic

Ok image object with specified size.

Parameters
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "dialog-ok".

◆ ok() [4/5]

static xtd::drawing::image xtd::forms::button_images::ok ( const xtd::ustring theme,
const xtd::drawing::size size 
)
inlinestatic

Ok image object with specified theme and size.

Parameters
themeA string that represent a theme
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "dialog-ok".

◆ ok() [5/5]

static xtd::drawing::image xtd::forms::button_images::ok ( const xtd::forms::theme_images theme,
const xtd::drawing::size size 
)
inlinestatic

Ok image object with specified theme images and size.

Parameters
themeA xtd::forms::theme_images that represent a theme images
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "dialog-ok".

◆ previous() [1/5]

static xtd::drawing::image xtd::forms::button_images::previous ( )
inlinestatic

Previous image object.

Returns
A xtd::drawing::image that represent "go-previous".

◆ previous() [2/5]

static xtd::drawing::image xtd::forms::button_images::previous ( const xtd::ustring theme)
inlinestatic

Previous image object with specified theme.

Parameters
themeA string that represent a theme
Returns
A xtd::drawing::image that represent "go-previous".

◆ previous() [3/5]

static xtd::drawing::image xtd::forms::button_images::previous ( const xtd::drawing::size size)
inlinestatic

Previous image object with specified size.

Parameters
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "go-previous".

◆ previous() [4/5]

static xtd::drawing::image xtd::forms::button_images::previous ( const xtd::ustring theme,
const xtd::drawing::size size 
)
inlinestatic

Previous image object with specified theme and size.

Parameters
themeA string that represent a theme
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "go-previous".

◆ previous() [5/5]

static xtd::drawing::image xtd::forms::button_images::previous ( const xtd::forms::theme_images theme,
const xtd::drawing::size size 
)
inlinestatic

Previous image object with specified theme images and size.

Parameters
themeA xtd::forms::theme_images that represent a theme images
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "go-previous".

◆ remove() [1/5]

static xtd::drawing::image xtd::forms::button_images::remove ( )
inlinestatic

Remove image object.

Returns
A xtd::drawing::image that represent "list-remove".

◆ remove() [2/5]

static xtd::drawing::image xtd::forms::button_images::remove ( const xtd::ustring theme)
inlinestatic

Remove image object with specified theme.

Parameters
themeA string that represent a theme
Returns
A xtd::drawing::image that represent "list-remove".

◆ remove() [3/5]

static xtd::drawing::image xtd::forms::button_images::remove ( const xtd::drawing::size size)
inlinestatic

Remove image object with specified size.

Parameters
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "list-remove".

◆ remove() [4/5]

static xtd::drawing::image xtd::forms::button_images::remove ( const xtd::ustring theme,
const xtd::drawing::size size 
)
inlinestatic

Remove image object with specified theme and size.

Parameters
themeA string that represent a theme
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "list-remove".

◆ remove() [5/5]

static xtd::drawing::image xtd::forms::button_images::remove ( const xtd::forms::theme_images theme,
const xtd::drawing::size size 
)
inlinestatic

Remove image object with specified theme images and size.

Parameters
themeA xtd::forms::theme_images that represent a theme images
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "list-remove".

◆ size()

static xtd::drawing::size xtd::forms::button_images::size ( )
inlinestatic

Gets the height and width of the button images.

Returns
The size that represents the height and width of the button images in pixels (16 x 16).

◆ yes() [1/5]

static xtd::drawing::image xtd::forms::button_images::yes ( )
inlinestatic

Yes image object.

Returns
A xtd::drawing::image that represent add.

◆ yes() [2/5]

static xtd::drawing::image xtd::forms::button_images::yes ( const xtd::ustring theme)
inlinestatic

Yes image object with specified theme.

Parameters
themeA string that represent a theme
Returns
A xtd::drawing::image that represent "dialog-ok".

◆ yes() [3/5]

static xtd::drawing::image xtd::forms::button_images::yes ( const xtd::drawing::size size)
inlinestatic

Yes image object with specified size.

Parameters
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "dialog-ok".

◆ yes() [4/5]

static xtd::drawing::image xtd::forms::button_images::yes ( const xtd::ustring theme,
const xtd::drawing::size size 
)
inlinestatic

Yes image object with specified theme and size.

Parameters
themeA string that represent a theme
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "dialog-ok".

◆ yes() [5/5]

static xtd::drawing::image xtd::forms::button_images::yes ( const xtd::forms::theme_images theme,
const xtd::drawing::size size 
)
inlinestatic

Yes image object with specified theme images and size.

Parameters
themeA xtd::forms::theme_images that represent a theme images
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "dialog-ok".

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