120 static void draw_button(
xtd::drawing::graphics& graphics,
const xtd::drawing::rectangle& bounds,
xtd::forms::visual_styles::push_button_state button_state,
bool default_button,
const std::optional<xtd::drawing::color>& back_color,
const xtd::string&
text,
const std::optional<xtd::forms::content_alignment>& text_align,
const std::optional<xtd::drawing::color>& fore_color,
const std::optional<xtd::drawing::font>& font,
const xtd::drawing::image& image,
const std::optional<xtd::forms::content_alignment>& image_align);
135 static void draw_button(
const style_sheets::style_sheet& style_sheet,
xtd::drawing::graphics& graphics,
const xtd::drawing::rectangle& bounds,
xtd::forms::visual_styles::push_button_state button_state,
bool default_button,
const std::optional<xtd::drawing::color>& back_color,
const xtd::string&
text,
const std::optional<xtd::forms::content_alignment>& text_align,
const std::optional<xtd::drawing::color>& fore_color,
const std::optional<xtd::drawing::font>& font,
const xtd::drawing::image& image,
const std::optional<xtd::forms::content_alignment>& image_align);
150 static void draw_flat_button(
const style_sheets::style_sheet& style_sheet,
xtd::drawing::graphics& graphics,
const xtd::drawing::rectangle& bounds,
xtd::forms::visual_styles::push_button_state button_state,
bool default_button,
const std::optional<xtd::drawing::color>& back_color,
const flat_button_appearance&
appearance,
const xtd::string&
text,
const std::optional<xtd::forms::content_alignment>& text_align,
const std::optional<xtd::drawing::color>& fore_color,
const std::optional<xtd::drawing::font>& font,
const xtd::drawing::image& image,
const std::optional<xtd::forms::content_alignment>& image_align);
165 static void draw_popup_button(
const style_sheets::style_sheet& style_sheet,
xtd::drawing::graphics& graphics,
const xtd::drawing::rectangle& bounds,
xtd::forms::visual_styles::push_button_state button_state,
bool default_button,
const std::optional<xtd::drawing::color>& back_color,
const flat_button_appearance&
appearance,
const xtd::string&
text,
const std::optional<xtd::forms::content_alignment>& text_align,
const std::optional<xtd::drawing::color>& fore_color,
const std::optional<xtd::drawing::font>& font,
const xtd::drawing::image& image,
const std::optional<xtd::forms::content_alignment>& image_align);
169 static void draw_button(
xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
xtd::forms::visual_styles::push_button_state& state) {
draw_button(default_theme(),
g, bounds, xtd::string::empty_string,
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,
application::style_sheet().system_colors().
control(),
application::style_sheet().system_colors().
control_text());}
170 static void draw_button(
xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
bool focused,
xtd::forms::visual_styles::push_button_state& state) {draw_button(default_theme(),
g, bounds, xtd::string::empty_string,
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,
application::style_sheet().system_colors().
control(),
application::style_sheet().system_colors().
control_text());}
171 static void draw_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::push_button_state state) {draw_button(default_theme(),
g, bounds, xtd::string::empty_string,
xtd::drawing::system_fonts::default_font(),
xtd::forms::text_format_flags::default_format, image, image_bounds, focused, state, application::style_sheet().system_colors().
control(), application::style_sheet().system_colors().control_text());}
172 static void draw_button(
xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::string& text,
const xtd::drawing::font& font,
bool focused,
xtd::forms::visual_styles::push_button_state state) {draw_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, application::style_sheet().system_colors().control(), application::style_sheet().system_colors().control_text());}
173 static void draw_button(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::string& text,
const xtd::drawing::font& font,
xtd::forms::text_format_flags flags,
bool focused,
xtd::forms::visual_styles::push_button_state state) {draw_button(default_theme(), g, bounds, text, font, flags,
xtd::drawing::image::empty, xtd::drawing::rectangle(0, 0, 0, 0),
false, state, application::style_sheet().system_colors().
control(), application::style_sheet().system_colors().
control_text());}
174 static void draw_button(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::string& text,
const xtd::drawing::font& font,
const xtd::drawing::image& image,
const xtd::drawing::rectangle& image_bounds,
bool focused,
xtd::forms::visual_styles::push_button_state state) {draw_button(default_theme(), g, bounds, text, font,
xtd::forms::text_format_flags::default_format, image, image_bounds, focused, state, application::style_sheet().system_colors().
control(), application::style_sheet().system_colors().
control_text());}
175 static void draw_button(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::string& 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) {draw_button(default_theme(), g, bounds, text, font, flags, image, image_bounds, focused, state, application::style_sheet().system_colors().
control(), application::style_sheet().system_colors().
control_text());}
176 static void draw_button(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::string& 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) {draw_button(default_theme(), g, bounds, text, font, flags, image, image_bounds, focused, state, back_color, fore_color);}
177 static void draw_button(
const xtd::string& theme, xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
xtd::forms::visual_styles::push_button_state& state) {draw_button(theme, g, bounds, xtd::string::empty_string,
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, application::style_sheet().system_colors().
control(), application::style_sheet().system_colors().
control_text());}
178 static void draw_button(
const xtd::string& theme, xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
bool focused,
xtd::forms::visual_styles::push_button_state& state) {draw_button(theme, g, bounds, xtd::string::empty_string,
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, application::style_sheet().system_colors().
control(), application::style_sheet().system_colors().
control_text());}
179 static void draw_button(
const xtd::string& 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::push_button_state state) {draw_button(theme, g, bounds, xtd::string::empty_string,
xtd::drawing::system_fonts::default_font(),
xtd::forms::text_format_flags::default_format, image, image_bounds, focused, state, application::style_sheet().system_colors().
control(), application::style_sheet().system_colors().
control_text());}
180 static void draw_button(
const xtd::string& theme, xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::string& text,
const xtd::drawing::font& font,
bool focused,
xtd::forms::visual_styles::push_button_state state) {draw_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, application::style_sheet().system_colors().
control(), application::style_sheet().system_colors().
control_text());}
181 static void draw_button(
const xtd::string& theme, xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::string& text,
const xtd::drawing::font& font,
xtd::forms::text_format_flags flags,
bool focused,
xtd::forms::visual_styles::push_button_state state) {draw_button(theme, g, bounds, text, font, flags,
xtd::drawing::image::empty, xtd::drawing::rectangle(0, 0, 0, 0),
false, state, application::style_sheet().system_colors().
control(), application::style_sheet().system_colors().
control_text());}
182 static void draw_button(
const xtd::string& theme, xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::string& text,
const xtd::drawing::font& font,
const xtd::drawing::image& image,
const xtd::drawing::rectangle& image_bounds,
bool focused,
xtd::forms::visual_styles::push_button_state state) {draw_button(theme, g, bounds, text, font,
xtd::forms::text_format_flags::default_format, image, image_bounds, focused, state, application::style_sheet().system_colors().
control(), application::style_sheet().system_colors().
control_text());}
183 static void draw_button(
const xtd::string& theme, xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::string& 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) {draw_button(theme, g, bounds, text, font, flags, image, image_bounds, focused, state, application::style_sheet().system_colors().
control(), application::style_sheet().system_colors().
control_text());}
184 static void draw_button(
const xtd::string& theme, xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::string& 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);
186 static void draw_flat_button(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
xtd::forms::visual_styles::push_button_state& state) {draw_flat_button(g, bounds, xtd::string::empty_string,
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, application::style_sheet().system_colors().
control(), application::style_sheet().system_colors().
control_text(), flat_button_appearance());}
187 static void draw_flat_button(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
bool focused,
xtd::forms::visual_styles::push_button_state& state) {draw_flat_button(g, bounds, xtd::string::empty_string,
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, application::style_sheet().system_colors().
control(), application::style_sheet().system_colors().
control_text(), flat_button_appearance());}
188 static void draw_flat_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::push_button_state state) {draw_flat_button(g, bounds, xtd::string::empty_string,
xtd::drawing::system_fonts::default_font(),
xtd::forms::text_format_flags::default_format, image, image_bounds, focused, state, application::style_sheet().system_colors().
control(), application::style_sheet().system_colors().
control_text(), flat_button_appearance());}
189 static void draw_flat_button(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::string& text,
const xtd::drawing::font& font,
bool focused,
xtd::forms::visual_styles::push_button_state state) {draw_flat_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, application::style_sheet().system_colors().
control(), application::style_sheet().system_colors().
control_text(), flat_button_appearance());}
190 static void draw_flat_button(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::string& text,
const xtd::drawing::font& font,
xtd::forms::text_format_flags flags,
bool focused,
xtd::forms::visual_styles::push_button_state state) {draw_flat_button(g, bounds, text, font, flags,
xtd::drawing::image::empty, xtd::drawing::rectangle(0, 0, 0, 0),
false, state, application::style_sheet().system_colors().
control(), application::style_sheet().system_colors().
control_text(), flat_button_appearance());}
191 static void draw_flat_button(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::string& text,
const xtd::drawing::font& font,
const xtd::drawing::image& image,
const xtd::drawing::rectangle& image_bounds,
bool focused,
xtd::forms::visual_styles::push_button_state state) {draw_flat_button(g, bounds, text, font,
xtd::forms::text_format_flags::default_format, image, image_bounds, focused, state, application::style_sheet().system_colors().
control(), application::style_sheet().system_colors().
control_text(), flat_button_appearance());}
192 static void draw_flat_button(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::string& 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) {draw_flat_button(g, bounds, text, font, flags, image, image_bounds, focused, state, application::style_sheet().system_colors().
control(), application::style_sheet().system_colors().
control_text(), flat_button_appearance());}
193 static void draw_flat_button(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::string& 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,
const flat_button_appearance& flat_appearance);
195 static void draw_popup_button(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
xtd::forms::visual_styles::push_button_state& state) {draw_popup_button(g, bounds, xtd::string::empty_string,
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, application::style_sheet().system_colors().
control(), application::style_sheet().system_colors().
control_text(), flat_button_appearance());}
196 static void draw_popup_button(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
bool focused,
xtd::forms::visual_styles::push_button_state& state) {draw_popup_button(g, bounds, xtd::string::empty_string,
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, application::style_sheet().system_colors().
control(), application::style_sheet().system_colors().
control_text(), flat_button_appearance());}
197 static void draw_popup_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::push_button_state state) {draw_popup_button(g, bounds, xtd::string::empty_string,
xtd::drawing::system_fonts::default_font(),
xtd::forms::text_format_flags::default_format, image, image_bounds, focused, state, application::style_sheet().system_colors().
control(), application::style_sheet().system_colors().
control_text(), flat_button_appearance());}
198 static void draw_popup_button(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::string& text,
const xtd::drawing::font& font,
bool focused,
xtd::forms::visual_styles::push_button_state state) {draw_popup_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, application::style_sheet().system_colors().
control(), application::style_sheet().system_colors().
control_text(), flat_button_appearance());}
199 static void draw_popup_button(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::string& text,
const xtd::drawing::font& font,
xtd::forms::text_format_flags flags,
bool focused,
xtd::forms::visual_styles::push_button_state state) {draw_popup_button(g, bounds, text, font, flags,
xtd::drawing::image::empty, xtd::drawing::rectangle(0, 0, 0, 0),
false, state, application::style_sheet().system_colors().
control(), application::style_sheet().system_colors().
control_text(), flat_button_appearance());}
200 static void draw_popup_button(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::string& text,
const xtd::drawing::font& font,
const xtd::drawing::image& image,
const xtd::drawing::rectangle& image_bounds,
bool focused,
xtd::forms::visual_styles::push_button_state state) {draw_popup_button(g, bounds, text, font,
xtd::forms::text_format_flags::default_format, image, image_bounds, focused, state, application::style_sheet().system_colors().
control(), application::style_sheet().system_colors().
control_text(), flat_button_appearance());}
201 static void draw_popup_button(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::string& 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) {draw_popup_button(g, bounds, text, font, flags, image, image_bounds, focused, state, application::style_sheet().system_colors().
control(), application::style_sheet().system_colors().
control_text(), flat_button_appearance());}
202 static void draw_popup_button(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::string& 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,
const flat_button_appearance& flat_appearance);
206 static xtd::string default_theme() {
return application::style_sheet().theme().name();}
207 static void draw_button_kde(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::string& 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);
208 static void draw_button_kde_dark(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::string& 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);
209 static void draw_button_kde_light(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::string& 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);
210 static void draw_button_gnome(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::string& 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);
211 static void draw_button_gnome_dark(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::string& 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);
212 static void draw_button_gnome_light(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::string& 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);
213 static void draw_button_macos(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::string& 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);
214 static void draw_button_macos_dark(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::string& 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);
215 static void draw_button_macos_light(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::string& 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);
216 static void draw_button_symbolic(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::string& 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);
217 static void draw_button_symbolic_dark(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::string& 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);
218 static void draw_button_symbolic_light(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::string& 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);
219 static void draw_button_windows(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::string& 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);
220 static void draw_button_windows_dark(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::string& 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);
221 static void draw_button_windows_light(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::string& 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);
222 static void draw_button_xtd(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::string& 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);
223 static void draw_button_xtd_dark(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::string& 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);
224 static void draw_button_xtd_light(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::string& 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);
225 static void draw_flat_button_dark(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::string& 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,
const flat_button_appearance& flat_appearance);
226 static void draw_flat_button_light(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::string& 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,
const flat_button_appearance& flat_appearance);
227 static void draw_popup_button_dark(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::string& 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,
const flat_button_appearance& flat_appearance);
228 static void draw_popup_button_light(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
const xtd::string& 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,
const flat_button_appearance& flat_appearance);