19 using image_getter = xtd::delegate<xtd::drawing::image(const xtd::ustring& name, const xtd::drawing::size& size)>;
39 bool operator==(
const theme_images& value)
const {
return theme_base::operator==(value);}
40 bool operator!=(
const theme_images& value)
const {
return !operator==(value);}
46 static theme_images default_theme() {
return theme_from_name(default_theme_name());}
55 if (current_theme_ == theme_images::empty) current_theme_ = default_theme();
56 return current_theme_;
59 current_theme_ =
theme;
61 static void current_theme(
const xtd::ustring& name) {current_theme(theme_from_name(name));}
71 image_getter image_getter_;
Contains xtd::delegate delegate.
Stores an ordered pair of integers, which specify a height and width.
Definition: size.h:30
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:50
Contains xtd::drawing::image class.
Contains xtd::drawing::size class.
An abstract base class that provides functionality for the bitmap and metafile descended classes...
Definition: image.h:47
Contains xtd::forms::theme_base class.