120 static auto 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) -> void;
135 static auto 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) -> void;
150 static auto 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) -> void;
165 static auto 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) -> void;
169 static auto draw_button(
xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
xtd::forms::visual_styles::push_button_state& state) ->
void {
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 auto draw_button(
xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
bool focused,
xtd::forms::visual_styles::push_button_state& state) ->
void {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 auto 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) ->
void {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 auto 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) ->
void {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 auto 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) ->
void {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 auto 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) ->
void {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 auto 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) ->
void {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 auto 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) ->
void {draw_button(default_theme(), g, bounds, text, font, flags, image, image_bounds, focused, state, back_color, fore_color);}
177 static auto draw_button(
const xtd::string& theme, xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
xtd::forms::visual_styles::push_button_state& state) ->
void {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 auto 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) ->
void {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 auto 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) ->
void {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 auto 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) ->
void {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 auto 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) ->
void {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 auto 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) ->
void {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 auto 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) ->
void {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 auto 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) -> void;
186 static auto draw_flat_button(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
xtd::forms::visual_styles::push_button_state& state) ->
void {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 auto draw_flat_button(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
bool focused,
xtd::forms::visual_styles::push_button_state& state) ->
void {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 auto 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) ->
void {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 auto 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) ->
void {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 auto 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) ->
void {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 auto 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) ->
void {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 auto 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) ->
void {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 auto 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) -> void;
195 static auto draw_popup_button(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
xtd::forms::visual_styles::push_button_state& state) ->
void {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 auto draw_popup_button(xtd::drawing::graphics g,
const xtd::drawing::rectangle& bounds,
bool focused,
xtd::forms::visual_styles::push_button_state& state) ->
void {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 auto 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) ->
void {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 auto 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) ->
void {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 auto 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) ->
void {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 auto 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) ->
void {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 auto 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) ->
void {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 auto 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) -> void;
206 static auto default_theme() ->
xtd::string {
return application::style_sheet().theme().name();}
207 static auto 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) -> void;
208 static auto 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) -> void;
209 static auto 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) -> void;
210 static auto 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) -> void;
211 static auto 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) -> void;
212 static auto 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) -> void;
213 static auto 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) -> void;
214 static auto 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) -> void;
215 static auto 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) -> void;
216 static auto 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) -> void;
217 static auto 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) -> void;
218 static auto 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) -> void;
219 static auto 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) -> void;
220 static auto 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) -> void;
221 static auto 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) -> void;
222 static auto 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) -> void;
223 static auto 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) -> void;
224 static auto 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) -> void;
225 static auto 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) -> void;
226 static auto 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) -> void;
227 static auto 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) -> void;
228 static auto 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) -> void;