12 #include <xtd/drawing/graphics> 42 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::ustring&
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);
43 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::ustring& 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);
44 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::ustring& 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);
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition: static.h:37
Contains xtd::forms::box_renderer static class.
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:46
Stores a set of four integers that represent the location and size of a rectangle.
Definition: rectangle.h:44
An abstract base class that provides functionality for the bitmap and metafile descended classes...
Definition: image.h:48
Contains xtd::forms::content_alignment enum class.
Contains xtd::forms::border_sides enum class.
Contains xtd::forms::flat_style enum class.
Defines an object used to draw lines and curves. This class cannot be inherited.
Definition: graphics.h:70
Contains xtd::forms::border_style enum class.