xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.forms
include
xtd
forms
panel_renderer.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include "
visual_styles/form_state.hpp
"
6
#include "
border_sides.hpp
"
7
#include "
border_style.hpp
"
8
#include "
box_renderer.hpp
"
9
#include <xtd/drawing/graphics>
10
#include <xtd/static>
11
#include <xtd/string>
12
14
namespace
xtd
{
16
namespace
forms
{
32
class
panel_renderer
static_
{
33
public
:
35
45
static
auto
draw_panel
(
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) -> void;
47
};
48
}
49
}
border_sides.hpp
Contains xtd::forms::border_sides enum class.
border_style.hpp
Contains xtd::forms::border_style enum class.
box_renderer.hpp
Contains xtd::forms::box_renderer static class.
xtd::drawing::graphics
Defines an object used to draw lines and curves. This class cannot be inherited.
Definition
graphics.hpp:67
xtd::forms::panel_renderer
Provides panel control renderer methods.
Definition
panel_renderer.hpp:32
xtd::forms::panel_renderer::draw_panel
static auto draw_panel(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) -> void
Draws a box in the specified bounds, form state and background color.
xtd::forms::style_sheets::style_sheet
The xtd::forms::style_sheets::style_sheet allows you to specify an xtd style sheet.
Definition
style_sheet.hpp:64
form_state.hpp
Contains xtd::forms::visual_styles::form_state enum class.
static_
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition
static.hpp:38
xtd::forms::border_sides
border_sides
Specifies how a control anchors to the edges of its container.
Definition
border_sides.hpp:23
xtd::forms::visual_styles::form_state
control_state form_state
Specifies the visual state of a form that is drawn with visual styles.
Definition
form_state.hpp:24
xtd::forms
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition
texts.hpp:219
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
xtd::drawing::rectangle
Stores a set of four integers that represent the location and size of a rectangle.
Definition
rectangle.hpp:44
Generated on
for xtd by
Gammasoft
. All rights reserved.