25 bool operator==(
const theme_colors& value)
const {
return theme_base::operator==(value);}
26 bool operator!=(
const theme_colors& value)
const {
return !operator==(value);}
72 if (current_theme_ == theme_colors::empty) current_theme_ = default_theme();
73 return current_theme_;
75 static void current_theme(
const theme_colors& theme_color) {current_theme_ = theme_color;}
76 static void current_theme(
const xtd::ustring& name) {current_theme(theme_from_name(name));}
78 static theme_colors default_theme() {
return theme_from_name(default_theme_name());}
84 color_getter color_getter_;
Represents an ARGB (alpha, red, green, blue) color.
Definition: color.h:39
Represents a standard Windows text box.
Definition: text_box.h:22
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:48
Contains xtd::drawing::color class.
Contains xtd::delegate delegate.
#define forms_export_
Define shared library export.
Definition: forms_export.h:13
Contains xtd::forms::known_themed_color enum class.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17
Contains xtd::forms::theme_base class.