xtd 0.2.0
Loading...
Searching...
No Matches
status_bar_draw_item_event_args.hpp
Go to the documentation of this file.
1
4#pragma once
7#include <xtd/any>
8#include <cstdint>
9
11namespace xtd {
13 namespace forms {
26 public:
31
33
70
72
76 const xtd::forms::status_bar_panel& panel() const noexcept {return panel_;}
77
80 intptr handle() const noexcept {return handle_;}
82
83 private:
85 intptr handle_ = 0;
86 };
87 }
88}
Represents an ARGB (alpha, red, green, blue) color.
Definition color.hpp:49
Defines a particular format for text, including font face, size, and style attributes....
Definition font.hpp:45
Defines an object used to draw lines and curves. This class cannot be inherited.
Definition graphics.hpp:70
Stores a set of four integers that represent the location and size of a rectangle.
Definition rectangle.hpp:44
Provides data for the.
Definition draw_item_event_args.hpp:31
const xtd::drawing::font & font() const noexcept
Gets the font that is assigned to the item being drawn.
const xtd::drawing::color & back_color() const noexcept
Gets the background color of the item that is being drawn.
const xtd::drawing::color & fore_color() const noexcept
Gets the foreground color of the of the item being drawn.
Used to group collections of controls.
Definition panel.hpp:32
Provides data for the xtd::forms::status_bar::draw_item event.
Definition status_bar_draw_item_event_args.hpp:25
intptr handle() const noexcept
Gets internal handle.
Definition status_bar_draw_item_event_args.hpp:80
status_bar_draw_item_event_args(xtd::drawing::graphics &g, const xtd::drawing::font &font, const xtd::drawing::rectangle &r, size_t item_id, xtd::forms::draw_item_state item_state, const xtd::forms::status_bar_panel &panel)
Initializes a new instance of the xtd::forms::status_bar_draw_item_event_args class without specifyin...
Definition status_bar_draw_item_event_args.hpp:42
status_bar_draw_item_event_args(xtd::drawing::graphics &g, const xtd::drawing::font &font, const xtd::drawing::rectangle &r, size_t item_id, xtd::forms::draw_item_state item_state, const xtd::forms::status_bar_panel &panel, const xtd::drawing::color &back_color, const xtd::drawing::color &fore_color, intptr handle)
Initializes a new instance of the xtd::forms::status_bar_draw_item_event_args class without specifyin...
Definition status_bar_draw_item_event_args.hpp:68
status_bar_draw_item_event_args(xtd::drawing::graphics &g, const xtd::drawing::font &font, const xtd::drawing::rectangle &r, size_t item_id, xtd::forms::draw_item_state item_state, const xtd::forms::status_bar_panel &panel, intptr handle)
Initializes a new instance of the xtd::forms::status_bar_draw_item_event_args class without specifyin...
Definition status_bar_draw_item_event_args.hpp:51
const xtd::forms::status_bar_panel & panel() const noexcept
Gets the xtd::forms::tool_bar_panel to draw.
Definition status_bar_draw_item_event_args.hpp:76
status_bar_draw_item_event_args(xtd::drawing::graphics &g, const xtd::drawing::font &font, const xtd::drawing::rectangle &r, size_t item_id, xtd::forms::draw_item_state item_state, const xtd::forms::status_bar_panel &panel, const xtd::drawing::color &back_color, const xtd::drawing::color &fore_color)
Initializes a new instance of the xtd::forms::status_bar_draw_item_event_args class without specifyin...
Definition status_bar_draw_item_event_args.hpp:59
Represents a xtd::forms::status_bar panel.
Definition status_bar_panel.hpp:46
Contains xtd::forms::draw_item_event_args event args.
intmax_t intptr
Represent a pointer or a handle.
Definition intptr.hpp:23
draw_item_state
Specifies the state of an item that is being drawn. This enumeration supports a bitwise combination o...
Definition draw_item_state.hpp:18
@ r
The R key.
@ g
The G key.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition xtd_about_box.hpp:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Contains xtd::forms::style_sheets::status_bar_panel alias.