24      bool operator==(
const theme_renderers& value)
 const {
return theme_base::operator==(value);}
 
   25      bool operator!=(
const theme_renderers& value)
 const {
return !operator==(value);}
 
   33      xtd::forms::renderer::button_renderer button_render()
 const {
return renderer_getter_().button_render();}
 
   35      xtd::forms::renderer::check_box_renderer check_box_render()
 const {
return renderer_getter_().check_box_render();}
 
   37      xtd::forms::renderer::radio_button_renderer radio_button_render()
 const {
return renderer_getter_().radio_button_render();}
 
   40      void draw_button(
xtd::drawing::graphics g, 
const xtd::drawing::rectangle& bounds, 
const xtd::ustring& text, 
const xtd::drawing::font& font, 
xtd::forms::text_format_flags flags, 
const xtd::drawing::image& image, 
const xtd::drawing::rectangle& image_bounds, 
bool focused, 
xtd::forms::visual_styles::push_button_state state, 
const std::optional<xtd::drawing::color>& back_color, 
const std::optional<xtd::drawing::color>& fore_color) {button_render()(
g, bounds, text, font, flags, image, image_bounds, focused, state, back_color, fore_color);}
 
   41      void draw_check_box(
xtd::drawing::graphics g, 
const xtd::drawing::rectangle& bounds, 
const xtd::ustring& text, 
const xtd::drawing::font& font, 
xtd::forms::text_format_flags flags, 
const xtd::drawing::image& image, 
const xtd::drawing::rectangle& image_bounds, 
bool focused, 
xtd::forms::visual_styles::check_box_state state, 
const std::optional<xtd::drawing::color>& back_color, 
const std::optional<xtd::drawing::color>& fore_color) {check_box_render()(
g, bounds, text, font, flags, image, image_bounds, focused, state, back_color, fore_color);}
 
   42      void draw_radio_button(
xtd::drawing::graphics g, 
const xtd::drawing::rectangle& bounds, 
const xtd::ustring& text, 
const xtd::drawing::font& font, 
xtd::forms::text_format_flags flags, 
const xtd::drawing::image& image, 
const xtd::drawing::rectangle& image_bounds, 
bool focused, 
xtd::forms::visual_styles::radio_button_state state, 
const std::optional<xtd::drawing::color>& back_color, 
const std::optional<xtd::drawing::color>& fore_color) {radio_button_render()(
g, bounds, text, font, flags, image, image_bounds, focused, state, back_color, fore_color);}
 
   45        if (current_theme_ == theme_renderers::empty) current_theme_ = default_theme();
 
   46        return current_theme_;
 
   49        current_theme_ = 
theme;
 
   51      static void current_theme(
const xtd::ustring& name) {current_theme(theme_from_name(name));}
 
   53      static theme_renderers default_theme() {
return theme_from_name(default_theme_name());}
 
   59      renderer_getter renderer_getter_;
 
Defines a particular format for text, including font face, size, and style attributes....
Definition: font.h:39
 
Defines an object used to draw lines and curves. This class cannot be inherited.
Definition: graphics.h:48
 
An abstract base class that provides functionality for the bitmap and metafile descended classes.
Definition: image.h:34
 
Stores a set of four integers that represent the location and size of a rectangle.
Definition: rectangle.h:25
 
Stores an ordered pair of integers, which specify a height and width.
Definition: size.h:25
 
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:48
 
Contains xtd::delegate delegate.
 
#define forms_export_
Define shared library export.
Definition: forms_export.h:13
 
Contains xtd::drawing::image class.
 
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17
 
Contains xtd::forms::renderer class.
 
Contains xtd::forms::theme_base class.