xtd 1.0.0
Loading...
Searching...
No Matches
font_picker_event_args.hpp
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/drawing/color>
6#include <xtd/drawing/font>
7#include <xtd/event_args>
8#include <cstdint>
9
11namespace xtd {
13 namespace forms {
15 class control;
17
29 public:
31
38
40
44 [[nodiscard]] auto color() const noexcept -> const xtd::drawing::color& {return color_;}
45
48 [[nodiscard]] auto font() const noexcept -> const xtd::drawing::font& {return font_;}
50
51 private:
54 };
55 }
56}
Represents an ARGB (alpha, red, green, blue) color.
Definition color.hpp:52
Defines a particular format for text, including font face, size, and style attributes....
Definition font.hpp:45
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition event_args.hpp:18
Defines the base class for controls, which are components with visual representation.
Definition control.hpp:81
auto font() const noexcept -> const xtd::drawing::font &
Gets the xtd::drawing::font that represent the xtd::forms::font_picker::font.
Definition font_picker_event_args.hpp:48
auto color() const noexcept -> const xtd::drawing::color &
Gets the xtd::drawing::color that represent the xtd::forms::font_picker::color.
Definition font_picker_event_args.hpp:44
font_picker_event_args(const xtd::drawing::font &font, const xtd::drawing::color &color)
Initializes a new instance of the font_picker_event_args class for the specified control.
Definition font_picker_event_args.hpp:36
The xtd::drawing namespace provides access to GDI+ basic graphics functionality. More advanced functi...
Definition actions_system_images.hpp:10
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition texts.hpp:219
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8