xtd 0.2.0
Loading...
Searching...
No Matches
form_renderer.h
Go to the documentation of this file.
1
4#pragma once
6#include "flat_style.h"
7#include "box_renderer.h"
8#include <xtd/drawing/graphics>
9#include <xtd/static>
10#include <xtd/string>
11
13namespace xtd {
15 namespace forms {
32 public:
34
42 static void draw_form(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);
44 };
45 }
46}
Contains xtd::forms::box_renderer static class.
Defines an object used to draw lines and curves. This class cannot be inherited.
Definition graphics.h:70
Stores a set of four integers that represent the location and size of a rectangle.
Definition rectangle.h:44
Provides form control renderer methods.
Definition form_renderer.h:31
static void draw_form(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)
Draws a box in the specified bounds, form state and background color.
The xtd::forms::style_sheets::style_sheet allows you to specify an xtd style sheet.
Definition style_sheet.h:64
Contains xtd::forms::flat_style enum 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't be instantiated (constructors...
Definition static.h:37
control_state
Specifies the visual state of a control that is drawn with visual styles.
Definition control_state.h:24
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition xtd_about_box.h:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10