xtd 0.2.0
Loading...
Searching...
No Matches
system_colors.h
Go to the documentation of this file.
1
4#pragma once
5#include "../../forms_export.h"
6#include <xtd/drawing/color>
7#include <xtd/iequatable>
8#include <xtd/object>
9#include <xtd/ustring>
10#include <memory>
11#include <vector>
12
14namespace xtd {
16 namespace forms {
18 namespace style_sheets {
32 class forms_export_ system_colors : public xtd::iequatable<system_colors>, public xtd::object {
33 public:
35
38 system_colors() = default;
40
42 system_colors(const system_colors&) = default;
43 system_colors(system_colors&&) = default;
44 system_colors& operator =(const system_colors&) = default;
46
48
52 const xtd::drawing::color& accent() const noexcept;
55 void accent(const xtd::drawing::color& value) noexcept;
56
59 const xtd::drawing::color& accent_text() const noexcept;
62 void accent_text(const xtd::drawing::color& value) noexcept;
63
66 const xtd::drawing::color& active_border() const noexcept;
69 void active_border(const xtd::drawing::color& value) noexcept;
70
73 const xtd::drawing::color& active_caption() const noexcept;
76 void active_caption(const xtd::drawing::color& value) noexcept;
77
80 const xtd::drawing::color& active_caption_text() const noexcept;
83 void active_caption_text(const xtd::drawing::color& value) noexcept;
84
87 const xtd::drawing::color& active_text() const noexcept;
90 void active_text(const xtd::drawing::color& value) noexcept;
91
94 const xtd::drawing::color& app_workspace() const noexcept;
97 void app_workspace(const xtd::drawing::color& value) noexcept;
98
101 const xtd::drawing::color& button_face() const noexcept;
104 void button_face(const xtd::drawing::color& value) noexcept;
105
108 const xtd::drawing::color& button_highlight() const noexcept;
111 void button_highlight(const xtd::drawing::color& value) noexcept;
112
115 const xtd::drawing::color& button_shadow() const noexcept;
118 void button_shadow(const xtd::drawing::color& value) noexcept;
119
122 const xtd::drawing::color& control() const noexcept;
125 void control(const xtd::drawing::color& value) noexcept;
126
129 const xtd::drawing::color& control_dark() const noexcept;
132 void control_dark(const xtd::drawing::color& value) noexcept;
133
136 const xtd::drawing::color& control_dark_dark() const noexcept;
139 void control_dark_dark(const xtd::drawing::color& value) noexcept;
140
143 const xtd::drawing::color& control_light() const noexcept;
146 void control_light(const xtd::drawing::color& value) noexcept;
147
150 const xtd::drawing::color& control_light_light() const noexcept;
153 void control_light_light(const xtd::drawing::color& value) noexcept;
154
157 const xtd::drawing::color& control_text() const noexcept;
160 void control_text(const xtd::drawing::color& value) noexcept;
161
164 const xtd::drawing::color& desktop() const noexcept;
167 void desktop(const xtd::drawing::color& value) noexcept;
168
171 const xtd::drawing::color& gradient_active_caption() const noexcept;
174 void gradient_active_caption(const xtd::drawing::color& value) noexcept;
175
178 const xtd::drawing::color& gradient_inactive_caption() const noexcept;
181 void gradient_inactive_caption(const xtd::drawing::color& value) noexcept;
182
185 const xtd::drawing::color& gray_text() const noexcept;
188 void gray_text(const xtd::drawing::color& value) noexcept;
189
192 const xtd::drawing::color& highlight() const noexcept;
195 void highlight(const xtd::drawing::color& value) noexcept;
196
199 const xtd::drawing::color& highlight_text() const noexcept;
202 void highlight_text(const xtd::drawing::color& value) noexcept;
203
206 const xtd::drawing::color& hot_track() const noexcept;
209 void hot_track(const xtd::drawing::color& value) noexcept;
210
213 const xtd::drawing::color& inactive_border() const noexcept;
216 void inactive_border(const xtd::drawing::color& value) noexcept;
217
220 const xtd::drawing::color& inactive_caption() const noexcept;
223 void inactive_caption(const xtd::drawing::color& value) noexcept;
224
227 const xtd::drawing::color& inactive_caption_text() const noexcept;
230 void inactive_caption_text(const xtd::drawing::color& value) noexcept;
231
234 const xtd::drawing::color& info() const noexcept;
237 void info(const xtd::drawing::color& value) noexcept;
238
241 const xtd::drawing::color& info_text() const noexcept;
244 void info_text(const xtd::drawing::color& value) noexcept;
245
248 const xtd::drawing::color& link_text() const noexcept;
251 void link_text(const xtd::drawing::color& value) noexcept;
252
255 const xtd::drawing::color& menu() const noexcept;
258 void menu(const xtd::drawing::color& value) noexcept;
259
262 const xtd::drawing::color& menu_bar() const noexcept;
265 void menu_bar(const xtd::drawing::color& value) noexcept;
266
269 const xtd::drawing::color& menu_highlight() const noexcept;
272 void menu_highlight(const xtd::drawing::color& value) noexcept;
273
276 const xtd::drawing::color& menu_text() const noexcept;
279 void menu_text(const xtd::drawing::color& value) noexcept;
280
283 const xtd::drawing::color& scroll_bar() const noexcept;
286 void scroll_bar(const xtd::drawing::color& value) noexcept;
287
290 const xtd::drawing::color& shadow_text() const noexcept;
293 void shadow_text(const xtd::drawing::color& value) noexcept;
294
297 const xtd::drawing::color& text_box() const noexcept;
300 void text_box(const xtd::drawing::color& value) noexcept;
301
304 const xtd::drawing::color& text_box_text() const noexcept;
307 void text_box_text(const xtd::drawing::color& value) noexcept;
308
311 const xtd::drawing::color& visited_text() const noexcept;
314 void visited_text(const xtd::drawing::color& value) noexcept;
315
318 const xtd::drawing::color& window() const noexcept;
321 void window(const xtd::drawing::color& value) noexcept;
322
325 const xtd::drawing::color& window_frame() const noexcept;
328 void window_frame(const xtd::drawing::color& value) noexcept;
329
332 const xtd::drawing::color& window_text() const noexcept;
335 void window_text(const xtd::drawing::color& value) noexcept;
337
339
341 bool equals(const system_colors& other) const noexcept override;
343
344 private:
345 xtd::drawing::color accent_;
346 xtd::drawing::color accent_text_;
347 xtd::drawing::color active_border_;
348 xtd::drawing::color active_caption_;
349 xtd::drawing::color active_caption_text_;
350 xtd::drawing::color active_text_;
351 xtd::drawing::color app_workspace_;
352 xtd::drawing::color button_face_;
353 xtd::drawing::color button_highlight_;
354 xtd::drawing::color button_shadow_;
355 xtd::drawing::color control_;
356 xtd::drawing::color control_dark_;
357 xtd::drawing::color control_dark_dark_;
358 xtd::drawing::color control_light_;
359 xtd::drawing::color control_light_light_;
360 xtd::drawing::color control_text_;
361 xtd::drawing::color desktop_;
362 xtd::drawing::color gradient_active_caption_;
363 xtd::drawing::color gradient_inactive_caption_;
364 xtd::drawing::color gray_text_;
365 xtd::drawing::color highlight_;
366 xtd::drawing::color highlight_text_;
367 xtd::drawing::color hot_track_;
368 xtd::drawing::color inactive_border_;
369 xtd::drawing::color inactive_caption_;
370 xtd::drawing::color inactive_caption_text_;
371 xtd::drawing::color info_;
372 xtd::drawing::color info_text_;
373 xtd::drawing::color link_text_;
374 xtd::drawing::color menu_;
375 xtd::drawing::color menu_bar_;
376 xtd::drawing::color menu_highlight_;
377 xtd::drawing::color menu_text_;
378 xtd::drawing::color scroll_bar_;
379 xtd::drawing::color shadow_text_;
380 xtd::drawing::color text_box_;
381 xtd::drawing::color text_box_text_;
382 xtd::drawing::color visited_text_;
383 xtd::drawing::color window_;
384 xtd::drawing::color window_frame_;
385 xtd::drawing::color window_text_;
386 };
387 }
388 }
389}
Represents an ARGB (alpha, red, green, blue) color.
Definition color.h:49
Represents the base functionality for all menus. Although tool_strip_drop_down and tool_strip_drop_do...
Definition menu.h:35
Represents a standard Windows scroll bar.
Definition scroll_bar.h:19
The control selector allows you to specify the box and color of a control.
Definition control.h:33
The theme data allows you to specify the theme informations.
Definition system_colors.h:32
const xtd::drawing::color & accent() const noexcept
Gets the accent system color;.
system_colors()=default
Initializes a new instance of the xtd::forms::style_sheets::system_colors class.
Represents a standard Windows text box.
Definition text_box.h:29
Defines a generalized method that a value type or class implements to create a type-specific method f...
Definition iequatable.h:18
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.h:32
#define forms_export_
Define shared library export.
Definition forms_export.h:13
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