27      bool operator==(
const theme& value)
 const {
return theme_base::operator==(value);}
 
   28      bool operator!=(
const theme& value)
 const {
return !operator==(value);}
 
   55      static const theme empty;
 
   57      static const theme& current_theme() {
 
   58        if (current_theme_ == theme::empty) current_theme_ = default_theme();
 
   59        return current_theme_;
 
   61      static void current_theme(
const theme& 
theme) {
 
   62        current_theme_ = 
theme;
 
   63        theme_colors::current_theme(current_theme_.theme_colors_);
 
   64        theme_images::current_theme(current_theme_.theme_images_);
 
   65        theme_renderers::current_theme(current_theme_.theme_renderers_);
 
   67      static void current_theme(
const xtd::ustring& name) {current_theme(theme_from_name(name));}
 
   69      static theme default_theme() {
return theme_from_name(default_theme_name());}
 
   78      static theme current_theme_;
 
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:48
 
#define forms_export_
Define shared library export.
Definition: forms_export.h:13
 
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17
 
Contains xtd::forms::theme_base class.
 
Contains xtd::forms::theme_colors class.
 
Contains xtd::forms::theme_images class.
 
Contains xtd::forms::theme_renderers class.