Provides xtd::forms::toggle_button renderer methods.
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition static.hpp:37
#define forms_export_
Define shared library export.
Definition forms_export.hpp:13
- Inheritance
- xtd::static → xtd::forms::toggle_button_renderer
- Header
#include <xtd/forms/toggle_button_renderer>
- Namespace
- xtd::forms::style_sheets
- Library
- xtd.forms
|
static void | draw_toggle_button (const style_sheets::style_sheet &style_sheet, xtd::drawing::graphics &graphics, const xtd::drawing::rectangle &bounds, xtd::forms::visual_styles::toggle_button_state toggle_state, 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) |
| Draws a box in the specified style_sheet, bounds, control state and background color.
|
|
static void | draw_flat_toggle_button (const style_sheets::style_sheet &style_sheet, xtd::drawing::graphics &graphics, const xtd::drawing::rectangle &bounds, xtd::forms::visual_styles::toggle_button_state toggle_state, const std::optional< xtd::drawing::color > &back_color, const flat_button_appearance &flat_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) |
|
static void | draw_popup_toggle_button (const style_sheets::style_sheet &style_sheet, xtd::drawing::graphics &graphics, const xtd::drawing::rectangle &bounds, xtd::forms::visual_styles::toggle_button_state toggle_state, const std::optional< xtd::drawing::color > &back_color, const flat_button_appearance &flat_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) |
|