13 #include "../forms_export.h"
31 static void draw_radio_button(
xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
xtd::forms::visual_styles::radio_button_state& state) {draw_radio_button(default_theme(),
g, bounds,
"",
xtd::drawing::system_fonts::default_font(),
xtd::forms::text_format_flags::default_format, xtd::drawing::image::empty,
xtd::drawing::rectangle(0, 0, 0, 0),
false, state, xtd::forms::theme_colors::current_theme().
control(), xtd::forms::theme_colors::current_theme().control_text());}
32 static void draw_radio_button(
xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
bool focused,
xtd::forms::visual_styles::radio_button_state& state) {draw_radio_button(default_theme(),
g, bounds,
"",
xtd::drawing::system_fonts::default_font(),
xtd::forms::text_format_flags::default_format, xtd::drawing::image::empty,
xtd::drawing::rectangle(0, 0, 0, 0),
true, state, xtd::forms::theme_colors::current_theme().
control(), xtd::forms::theme_colors::current_theme().control_text());}
33 static void draw_radio_button(
xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::drawing::image& image,
const xtd::drawing::rectangle& image_bounds,
bool focused,
xtd::forms::visual_styles::radio_button_state state) {draw_radio_button(default_theme(),
g, bounds,
"",
xtd::drawing::system_fonts::default_font(),
xtd::forms::text_format_flags::default_format, image, image_bounds, focused, state, xtd::forms::theme_colors::current_theme().
control(), xtd::forms::theme_colors::current_theme().control_text());}
34 static void draw_radio_button(
xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::ustring& text,
const xtd::drawing::font& font,
bool focused,
xtd::forms::visual_styles::radio_button_state state) {draw_radio_button(default_theme(),
g, bounds, text, font,
xtd::forms::text_format_flags::default_format, xtd::drawing::image::empty,
xtd::drawing::rectangle(0, 0, 0, 0), focused, state, xtd::forms::theme_colors::current_theme().
control(), xtd::forms::theme_colors::current_theme().control_text());}
35 static 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,
bool focused,
xtd::forms::visual_styles::radio_button_state state) {draw_radio_button(default_theme(),
g, bounds, text, font, flags, xtd::drawing::image::empty,
xtd::drawing::rectangle(0, 0, 0, 0),
false, state, xtd::forms::theme_colors::current_theme().
control(), xtd::forms::theme_colors::current_theme().control_text());}
36 static void draw_radio_button(
xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::ustring& text,
const xtd::drawing::font& font,
const xtd::drawing::image& image,
const xtd::drawing::rectangle& image_bounds,
bool focused,
xtd::forms::visual_styles::radio_button_state state) {draw_radio_button(default_theme(),
g, bounds, text, font,
xtd::forms::text_format_flags::default_format, image, image_bounds, focused, state, xtd::forms::theme_colors::current_theme().
control(), xtd::forms::theme_colors::current_theme().control_text());}
37 static 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) {draw_radio_button(default_theme(),
g, bounds, text, font, flags, image, image_bounds, focused, state, xtd::forms::theme_colors::current_theme().
control(), xtd::forms::theme_colors::current_theme().control_text());}
38 static 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) {draw_radio_button(default_theme(),
g, bounds, text, font, flags, image, image_bounds, focused, state, back_color, fore_color);}
39 static void draw_radio_button(
const xtd::ustring&
theme,
xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
xtd::forms::visual_styles::radio_button_state& state) {draw_radio_button(
theme,
g, bounds,
"",
xtd::drawing::system_fonts::default_font(),
xtd::forms::text_format_flags::default_format, xtd::drawing::image::empty,
xtd::drawing::rectangle(0, 0, 0, 0),
false, state, xtd::forms::theme_colors::current_theme().
control(), xtd::forms::theme_colors::current_theme().control_text());}
40 static void draw_radio_button(
const xtd::ustring&
theme,
xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
bool focused,
xtd::forms::visual_styles::radio_button_state& state) {draw_radio_button(
theme,
g, bounds,
"",
xtd::drawing::system_fonts::default_font(),
xtd::forms::text_format_flags::default_format, xtd::drawing::image::empty,
xtd::drawing::rectangle(0, 0, 0, 0),
true, state, xtd::forms::theme_colors::current_theme().
control(), xtd::forms::theme_colors::current_theme().control_text());}
41 static void draw_radio_button(
const xtd::ustring&
theme,
xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::drawing::image& image,
const xtd::drawing::rectangle& image_bounds,
bool focused,
xtd::forms::visual_styles::radio_button_state state) {draw_radio_button(
theme,
g, bounds,
"",
xtd::drawing::system_fonts::default_font(),
xtd::forms::text_format_flags::default_format, image, image_bounds, focused, state, xtd::forms::theme_colors::current_theme().
control(), xtd::forms::theme_colors::current_theme().control_text());}
42 static void draw_radio_button(
const xtd::ustring&
theme,
xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::ustring& text,
const xtd::drawing::font& font,
bool focused,
xtd::forms::visual_styles::radio_button_state state) {draw_radio_button(
theme,
g, bounds, text, font,
xtd::forms::text_format_flags::default_format, xtd::drawing::image::empty,
xtd::drawing::rectangle(0, 0, 0, 0), focused, state, xtd::forms::theme_colors::current_theme().
control(), xtd::forms::theme_colors::current_theme().control_text());}
43 static void draw_radio_button(
const xtd::ustring&
theme,
xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::ustring& text,
const xtd::drawing::font& font,
xtd::forms::text_format_flags flags,
bool focused,
xtd::forms::visual_styles::radio_button_state state) {draw_radio_button(
theme,
g, bounds, text, font, flags, xtd::drawing::image::empty,
xtd::drawing::rectangle(0, 0, 0, 0),
false, state, xtd::forms::theme_colors::current_theme().
control(), xtd::forms::theme_colors::current_theme().control_text());}
44 static void draw_radio_button(
const xtd::ustring&
theme,
xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::ustring& text,
const xtd::drawing::font& font,
const xtd::drawing::image& image,
const xtd::drawing::rectangle& image_bounds,
bool focused,
xtd::forms::visual_styles::radio_button_state state) {draw_radio_button(
theme,
g, bounds, text, font,
xtd::forms::text_format_flags::default_format, image, image_bounds, focused, state, xtd::forms::theme_colors::current_theme().
control(), xtd::forms::theme_colors::current_theme().control_text());}
45 static void draw_radio_button(
const xtd::ustring&
theme,
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) {draw_radio_button(
theme,
g, bounds, text, font, flags, image, image_bounds, focused, state, xtd::forms::theme_colors::current_theme().
control(), xtd::forms::theme_colors::current_theme().control_text());}
46 static void draw_radio_button(
const xtd::ustring&
theme,
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);
48 static void draw_flat_radio_button(
xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
xtd::forms::visual_styles::radio_button_state& state) {draw_flat_radio_button(
g, bounds,
"",
xtd::drawing::system_fonts::default_font(),
xtd::forms::text_format_flags::default_format, xtd::drawing::image::empty,
xtd::drawing::rectangle(0, 0, 0, 0),
false, state, xtd::forms::theme_colors::current_theme().
control(), xtd::forms::theme_colors::current_theme().control_text());}
49 static void draw_flat_radio_button(
xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
bool focused,
xtd::forms::visual_styles::radio_button_state& state) {draw_flat_radio_button(
g, bounds,
"",
xtd::drawing::system_fonts::default_font(),
xtd::forms::text_format_flags::default_format, xtd::drawing::image::empty,
xtd::drawing::rectangle(0, 0, 0, 0),
true, state, xtd::forms::theme_colors::current_theme().
control(), xtd::forms::theme_colors::current_theme().control_text());}
50 static void draw_flat_radio_button(
xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::drawing::image& image,
const xtd::drawing::rectangle& image_bounds,
bool focused,
xtd::forms::visual_styles::radio_button_state state) {draw_flat_radio_button(
g, bounds,
"",
xtd::drawing::system_fonts::default_font(),
xtd::forms::text_format_flags::default_format, image, image_bounds, focused, state, xtd::forms::theme_colors::current_theme().
control(), xtd::forms::theme_colors::current_theme().control_text());}
51 static void draw_flat_radio_button(
xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::ustring& text,
const xtd::drawing::font& font,
bool focused,
xtd::forms::visual_styles::radio_button_state state) {draw_flat_radio_button(
g, bounds, text, font,
xtd::forms::text_format_flags::default_format, xtd::drawing::image::empty,
xtd::drawing::rectangle(0, 0, 0, 0), focused, state, xtd::forms::theme_colors::current_theme().
control(), xtd::forms::theme_colors::current_theme().control_text());}
52 static void draw_flat_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,
bool focused,
xtd::forms::visual_styles::radio_button_state state) {draw_flat_radio_button(
g, bounds, text, font, flags, xtd::drawing::image::empty,
xtd::drawing::rectangle(0, 0, 0, 0),
false, state, xtd::forms::theme_colors::current_theme().
control(), xtd::forms::theme_colors::current_theme().control_text());}
53 static void draw_flat_radio_button(
xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::ustring& text,
const xtd::drawing::font& font,
const xtd::drawing::image& image,
const xtd::drawing::rectangle& image_bounds,
bool focused,
xtd::forms::visual_styles::radio_button_state state) {draw_flat_radio_button(
g, bounds, text, font,
xtd::forms::text_format_flags::default_format, image, image_bounds, focused, state, xtd::forms::theme_colors::current_theme().
control(), xtd::forms::theme_colors::current_theme().control_text());}
54 static void draw_flat_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) {draw_flat_radio_button(
g, bounds, text, font, flags, image, image_bounds, focused, state, xtd::forms::theme_colors::current_theme().
control(), xtd::forms::theme_colors::current_theme().control_text());}
55 static void draw_flat_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);
57 static void draw_popup_radio_button(
xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
xtd::forms::visual_styles::radio_button_state& state) {draw_popup_radio_button(
g, bounds,
"",
xtd::drawing::system_fonts::default_font(),
xtd::forms::text_format_flags::default_format, xtd::drawing::image::empty,
xtd::drawing::rectangle(0, 0, 0, 0),
false, state, xtd::forms::theme_colors::current_theme().
control(), xtd::forms::theme_colors::current_theme().control_text());}
58 static void draw_popup_radio_button(
xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
bool focused,
xtd::forms::visual_styles::radio_button_state& state) {draw_popup_radio_button(
g, bounds,
"",
xtd::drawing::system_fonts::default_font(),
xtd::forms::text_format_flags::default_format, xtd::drawing::image::empty,
xtd::drawing::rectangle(0, 0, 0, 0),
true, state, xtd::forms::theme_colors::current_theme().
control(), xtd::forms::theme_colors::current_theme().control_text());}
59 static void draw_popup_radio_button(
xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::drawing::image& image,
const xtd::drawing::rectangle& image_bounds,
bool focused,
xtd::forms::visual_styles::radio_button_state state) {draw_popup_radio_button(
g, bounds,
"",
xtd::drawing::system_fonts::default_font(),
xtd::forms::text_format_flags::default_format, image, image_bounds, focused, state, xtd::forms::theme_colors::current_theme().
control(), xtd::forms::theme_colors::current_theme().control_text());}
60 static void draw_popup_radio_button(
xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::ustring& text,
const xtd::drawing::font& font,
bool focused,
xtd::forms::visual_styles::radio_button_state state) {draw_popup_radio_button(
g, bounds, text, font,
xtd::forms::text_format_flags::default_format, xtd::drawing::image::empty,
xtd::drawing::rectangle(0, 0, 0, 0), focused, state, xtd::forms::theme_colors::current_theme().
control(), xtd::forms::theme_colors::current_theme().control_text());}
61 static void draw_popup_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,
bool focused,
xtd::forms::visual_styles::radio_button_state state) {draw_popup_radio_button(
g, bounds, text, font, flags, xtd::drawing::image::empty,
xtd::drawing::rectangle(0, 0, 0, 0),
false, state, xtd::forms::theme_colors::current_theme().
control(), xtd::forms::theme_colors::current_theme().control_text());}
62 static void draw_popup_radio_button(
xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::ustring& text,
const xtd::drawing::font& font,
const xtd::drawing::image& image,
const xtd::drawing::rectangle& image_bounds,
bool focused,
xtd::forms::visual_styles::radio_button_state state) {draw_popup_radio_button(
g, bounds, text, font,
xtd::forms::text_format_flags::default_format, image, image_bounds, focused, state, xtd::forms::theme_colors::current_theme().
control(), xtd::forms::theme_colors::current_theme().control_text());}
63 static void draw_popup_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) {draw_popup_radio_button(
g, bounds, text, font, flags, image, image_bounds, focused, state, xtd::forms::theme_colors::current_theme().
control(), xtd::forms::theme_colors::current_theme().control_text());}
64 static void draw_popup_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);
67 static xtd::ustring default_theme() {
return theme_renderers::current_theme().name();}
68 static void draw_radio_button_kde(
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);
69 static void draw_radio_button_kde_dark(
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);
70 static void draw_radio_button_kde_light(
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);
71 static void draw_radio_button_gnome(
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);
72 static void draw_radio_button_gnome_dark(
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);
73 static void draw_radio_button_gnome_light(
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);
74 static void draw_radio_button_macos(
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);
75 static void draw_radio_button_macos_dark(
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);
76 static void draw_radio_button_macos_light(
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);
77 static void draw_radio_button_symbolic(
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);
78 static void draw_radio_button_symbolic_dark(
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);
79 static void draw_radio_button_symbolic_light(
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);
80 static void draw_radio_button_windows(
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);
81 static void draw_radio_button_windows_dark(
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);
82 static void draw_radio_button_windows_light(
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);
83 static void draw_radio_button_xtd(
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);
84 static void draw_radio_button_xtd_dark(
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);
85 static void draw_radio_button_xtd_light(
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);
86 static void draw_flat_radio_button_dark(
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);
87 static void draw_flat_radio_button_light(
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);
88 static void draw_popup_radio_button_dark(
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);
89 static void draw_popup_radio_button_light(
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);
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
static xtd::drawing::font default_font()
Gets the default font that applications can use for dialog boxes and forms.
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:48
Contains xtd::drawing::color class.
Contains xtd::drawing::font class.
Contains xtd::drawing::graphics class.
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition: static.h:38
#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::drawing::rectangle class.
Contains xtd::drawing::system_fonts factory.
Contains xtd::forms::text_format_flags enum class.
Contains xtd::forms::theme_colors class.
Contains xtd::forms::theme_renderers class.