xtd - Reference Guide  0.1.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Static Public Member Functions | List of all members
xtd::forms::button_renderer Class Referencefinal

#include <button_renderer.h>

Definition

Provides button renderer methods.

Namespace
xtd::forms
Library
xtd.forms

Inherits xtd::static_object.

Static Public Member Functions

static void draw_button (const xtd::ustring &theme, xtd::drawing::graphics g, const xtd::drawing::rectangle &bounds, bool focused, xtd::forms::visual_styles::push_button_state &state)
 
static void draw_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::push_button_state state)
 
static void draw_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::push_button_state state)
 
static void draw_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::push_button_state state)
 
static void draw_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::push_button_state state)
 
static void draw_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::push_button_state state)
 
static void draw_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::push_button_state state, const std::optional< xtd::drawing::color > &back_color, const std::optional< xtd::drawing::color > &fore_color)
 
static void draw_button (const xtd::ustring &theme, xtd::drawing::graphics g, const xtd::drawing::rectangle &bounds, xtd::forms::visual_styles::push_button_state &state)
 
static void draw_button (xtd::drawing::graphics g, const xtd::drawing::rectangle &bounds, bool focused, xtd::forms::visual_styles::push_button_state &state)
 
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)
 
static void draw_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::push_button_state state)
 
static void draw_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::push_button_state state)
 
static 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, bool focused, xtd::forms::visual_styles::push_button_state state)
 
static 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)
 
static 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)
 
static void draw_button (xtd::drawing::graphics g, const xtd::drawing::rectangle &bounds, xtd::forms::visual_styles::push_button_state &state)
 
static void draw_flat_button (xtd::drawing::graphics g, const xtd::drawing::rectangle &bounds, bool focused, xtd::forms::visual_styles::push_button_state &state)
 
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)
 
static void draw_flat_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::push_button_state state)
 
static void draw_flat_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::push_button_state state)
 
static void draw_flat_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::push_button_state state)
 
static void draw_flat_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)
 
static void draw_flat_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, const flat_button_appearance &flat_appearance)
 
static void draw_flat_button (xtd::drawing::graphics g, const xtd::drawing::rectangle &bounds, xtd::forms::visual_styles::push_button_state &state)
 
static void draw_popup_button (xtd::drawing::graphics g, const xtd::drawing::rectangle &bounds, bool focused, xtd::forms::visual_styles::push_button_state &state)
 
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)
 
static void draw_popup_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::push_button_state state)
 
static void draw_popup_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::push_button_state state)
 
static void draw_popup_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::push_button_state state)
 
static void draw_popup_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)
 
static void draw_popup_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, const flat_button_appearance &flat_appearance)
 
static void draw_popup_button (xtd::drawing::graphics g, const xtd::drawing::rectangle &bounds, xtd::forms::visual_styles::push_button_state &state)
 

The documentation for this class was generated from the following file: