xtd - Reference Guide 0.2.0
Go to the documentation of this file.
1 #pragma once
5 #include <xtd/static.h>
6 #include <xtd/ustring.h>
7 #include <xtd/drawing/graphics.h>
8 #include "border_sides.h"
9 #include "border_style.h"
10 #include "flat_style.h"
12 #include "box_renderer.h"
15 namespace xtd {
17  namespace forms {
30  public:
39  static void draw_tool_bar(const xtd::forms::style_sheets::style_sheet& style_sheet, xtd::drawing::graphics& graphics, const xtd::drawing::rectangle& bounds, xtd::forms::visual_styles::form_state form_state, const std::optional<xtd::drawing::color>& back_color, const std::optional<xtd::forms::border_style>& border, xtd::forms::border_sides sides);
40  };
41  }
42 }
Contains xtd::static_object class.
Contains xtd::forms::visual_styles::form_state enum class.
#define static_
This keyword is use to represent a static object. A static object can&#39;t be instantiated (constructors...
Definition: static.h:38
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
Specifies the visual state of a control that is drawn with visual styles.
Definition: control_state.h:20
Provides tool_bar control renderer methods.
Definition: tool_bar_renderer.h:29
static void draw_tool_bar(const xtd::forms::style_sheets::style_sheet &style_sheet, xtd::drawing::graphics &graphics, const xtd::drawing::rectangle &bounds, xtd::forms::visual_styles::form_state form_state, const std::optional< xtd::drawing::color > &back_color, const std::optional< xtd::forms::border_style > &border, xtd::forms::border_sides sides)
Draws a box in the specified bounds, form state and background color.
Specifies how a control anchors to the edges of its container.
Definition: border_sides.h:19
control_state form_state
Specifies the visual state of a form that is drawn with visual styles.
Definition: form_state.h:20
Stores a set of four integers that represent the location and size of a rectangle.
Definition: rectangle.h:44
Contains xtd::ustring class.
Contains xtd::forms::border_sides enum class.
Contains xtd::forms::flat_style enum class.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13
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.
Contains xtd::drawing::graphics class.
The xtd::forms::style_sheets::style_sheet allows you to specify an xtd style sheet.
Definition: style_sheet.h:59