xtd - Reference Guide  0.2.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
form_button_images.h
Go to the documentation of this file.
1 #pragma once
5 #include <xtd/environment.h>
6 #include <xtd/static.h>
8 #include "theme_images.h"
9 
11 namespace xtd {
13  namespace forms {
21  public:
23 
27  static xtd::drawing::image close() {return close(xtd::forms::theme_images::current_theme(), size());}
31  static xtd::drawing::image close(bool maximized_form) {return close(xtd::forms::theme_images::current_theme(), size(maximized_form));}
35  static xtd::drawing::image close(const xtd::ustring& theme) {return close(theme, size());}
40  static xtd::drawing::image close(const xtd::ustring& theme, bool maximized_form) {return close(theme, size(maximized_form));}
44  static xtd::drawing::image close(const xtd::drawing::size& size) {return close(xtd::forms::theme_images::current_theme(), size);}
49  static xtd::drawing::image close(const xtd::ustring& theme, const xtd::drawing::size& size) {return close(xtd::forms::theme_images::theme_from_name(theme), size);}
54  static xtd::drawing::image close(const xtd::forms::theme_images& theme, const xtd::drawing::size& size) {return from_name(theme, "window-close", size);}
55 
58  static xtd::drawing::image close_hovered() {return close_hovered(xtd::forms::theme_images::current_theme(), size());}
62  static xtd::drawing::image close_hovered(bool maximized_form) {return close_hovered(xtd::forms::theme_images::current_theme(), size(maximized_form));}
71  static xtd::drawing::image close_hovered(const xtd::ustring& theme, bool maximized_form) {return close_hovered(theme, size(maximized_form));}
75  static xtd::drawing::image close_hovered(const xtd::drawing::size& size) {return close_hovered(xtd::forms::theme_images::current_theme(), size);}
80  static xtd::drawing::image close_hovered(const xtd::ustring& theme, const xtd::drawing::size& size) {return close_hovered(xtd::forms::theme_images::theme_from_name(theme), size);}
85  static xtd::drawing::image close_hovered(const xtd::forms::theme_images& theme, const xtd::drawing::size& size) {return from_name(theme, "window-close-hovered", size);}
86 
89  static xtd::drawing::image fullscreen() {return fullscreen(xtd::forms::theme_images::current_theme(), size());}
93  static xtd::drawing::image fullscreen(bool maximized_form) {return fullscreen(xtd::forms::theme_images::current_theme(), size(maximized_form));}
97  static xtd::drawing::image fullscreen(const xtd::ustring& theme) {return fullscreen(theme, size());}
102  static xtd::drawing::image fullscreen(const xtd::ustring& theme, bool maximized_form) {return fullscreen(theme, size(maximized_form));}
106  static xtd::drawing::image fullscreen(const xtd::drawing::size& size) {return fullscreen(xtd::forms::theme_images::current_theme(), size);}
111  static xtd::drawing::image fullscreen(const xtd::ustring& theme, const xtd::drawing::size& size) {return fullscreen(xtd::forms::theme_images::theme_from_name(theme), size);}
116  static xtd::drawing::image fullscreen(const xtd::forms::theme_images& theme, const xtd::drawing::size& size) {return from_name(theme, "window-fullscreen", size);}
117 
120  static xtd::drawing::image fullscreen_hovered() {return fullscreen_hovered(xtd::forms::theme_images::current_theme(), size());}
124  static xtd::drawing::image fullscreen_hovered(bool maximized_form) {return fullscreen_hovered(xtd::forms::theme_images::current_theme(), size(maximized_form));}
133  static xtd::drawing::image fullscreen_hovered(const xtd::ustring& theme, bool maximized_form) {return fullscreen_hovered(theme, size(maximized_form));}
137  static xtd::drawing::image fullscreen_hovered(const xtd::drawing::size& size) {return fullscreen_hovered(xtd::forms::theme_images::current_theme(), size);}
142  static xtd::drawing::image fullscreen_hovered(const xtd::ustring& theme, const xtd::drawing::size& size) {return fullscreen_hovered(xtd::forms::theme_images::theme_from_name(theme), size);}
147  static xtd::drawing::image fullscreen_hovered(const xtd::forms::theme_images& theme, const xtd::drawing::size& size) {return from_name(theme, "window-fullscreen-hovered", size);}
148 
151  static xtd::drawing::image maximize() {return maximize(xtd::forms::theme_images::current_theme(), size());}
155  static xtd::drawing::image maximize(bool maximized_form) {return maximize(xtd::forms::theme_images::current_theme(), size(maximized_form));}
159  static xtd::drawing::image maximize(const xtd::ustring& theme) {return maximize(theme, size());}
164  static xtd::drawing::image maximize(const xtd::ustring& theme, bool maximized_form) {return maximize(theme, size(maximized_form));}
168  static xtd::drawing::image maximize(const xtd::drawing::size& size) {return maximize(xtd::forms::theme_images::current_theme(), size);}
173  static xtd::drawing::image maximize(const xtd::ustring& theme, const xtd::drawing::size& size) {return maximize(xtd::forms::theme_images::theme_from_name(theme), size);}
178  static xtd::drawing::image maximize(const xtd::forms::theme_images& theme, const xtd::drawing::size& size) {return from_name(theme, "window-maximize", size);}
179 
182  static xtd::drawing::image maximize_hovered() {return maximize_hovered(xtd::forms::theme_images::current_theme(), size());}
186  static xtd::drawing::image maximize_hovered(bool maximized_form) {return maximize_hovered(xtd::forms::theme_images::current_theme(), size(maximized_form));}
195  static xtd::drawing::image maximize_hovered(const xtd::ustring& theme, bool maximized_form) {return maximize_hovered(theme, size(maximized_form));}
199  static xtd::drawing::image maximize_hovered(const xtd::drawing::size& size) {return maximize_hovered(xtd::forms::theme_images::current_theme(), size);}
204  static xtd::drawing::image maximize_hovered(const xtd::ustring& theme, const xtd::drawing::size& size) {return maximize_hovered(xtd::forms::theme_images::theme_from_name(theme), size);}
209  static xtd::drawing::image maximize_hovered(const xtd::forms::theme_images& theme, const xtd::drawing::size& size) {return from_name(theme, "window-maximize-hovered", size);}
210 
213  static xtd::drawing::image minimize() {return minimize(xtd::forms::theme_images::current_theme(), size());}
217  static xtd::drawing::image minimize(bool maximized_form) {return minimize(xtd::forms::theme_images::current_theme(), size(maximized_form));}
221  static xtd::drawing::image minimize(const xtd::ustring& theme) {return minimize(theme, size());}
226  static xtd::drawing::image minimize(const xtd::ustring& theme, bool maximized_form) {return minimize(theme, size(maximized_form));}
230  static xtd::drawing::image minimize(const xtd::drawing::size& size) {return minimize(xtd::forms::theme_images::current_theme(), size);}
235  static xtd::drawing::image minimize(const xtd::ustring& theme, const xtd::drawing::size& size) {return minimize(xtd::forms::theme_images::theme_from_name(theme), size);}
240  static xtd::drawing::image minimize(const xtd::forms::theme_images& theme, const xtd::drawing::size& size) {return from_name(theme, "window-minimize", size);}
241 
244  static xtd::drawing::image minimize_hovered() {return minimize_hovered(xtd::forms::theme_images::current_theme(), size());}
248  static xtd::drawing::image minimize_hovered(bool maximized_form) {return minimize_hovered(xtd::forms::theme_images::current_theme(), size(maximized_form));}
257  static xtd::drawing::image minimize_hovered(const xtd::ustring& theme, bool maximized_form) {return minimize_hovered(theme, size(maximized_form));}
261  static xtd::drawing::image minimize_hovered(const xtd::drawing::size& size) {return minimize_hovered(xtd::forms::theme_images::current_theme(), size);}
266  static xtd::drawing::image minimize_hovered(const xtd::ustring& theme, const xtd::drawing::size& size) {return minimize_hovered(xtd::forms::theme_images::theme_from_name(theme), size);}
271  static xtd::drawing::image minimize_hovered(const xtd::forms::theme_images& theme, const xtd::drawing::size& size) {return from_name(theme, "window-minimize-hovered", size);}
272 
275  static xtd::drawing::image restore() {return restore(xtd::forms::theme_images::current_theme(), size());}
279  static xtd::drawing::image restore(bool maximized_form) {return restore(xtd::forms::theme_images::current_theme(), size(maximized_form));}
283  static xtd::drawing::image restore(const xtd::ustring& theme) {return restore(theme, size());}
288  static xtd::drawing::image restore(const xtd::ustring& theme, bool maximized_form) {return restore(theme, size(maximized_form));}
292  static xtd::drawing::image restore(const xtd::drawing::size& size) {return restore(xtd::forms::theme_images::current_theme(), size);}
297  static xtd::drawing::image restore(const xtd::ustring& theme, const xtd::drawing::size& size) {return restore(xtd::forms::theme_images::theme_from_name(theme), size);}
302  static xtd::drawing::image restore(const xtd::forms::theme_images& theme, const xtd::drawing::size& size) {return from_name(theme, "window-restore", size);}
303 
306  static xtd::drawing::image restore_hovered() {return restore_hovered(xtd::forms::theme_images::current_theme(), size());}
310  static xtd::drawing::image restore_hovered(bool maximized_form) {return restore_hovered(xtd::forms::theme_images::current_theme(), size(maximized_form));}
319  static xtd::drawing::image restore_hovered(const xtd::ustring& theme, bool maximized_form) {return restore_hovered(theme, size(maximized_form));}
323  static xtd::drawing::image restore_hovered(const xtd::drawing::size& size) {return restore_hovered(xtd::forms::theme_images::current_theme(), size);}
328  static xtd::drawing::image restore_hovered(const xtd::ustring& theme, const xtd::drawing::size& size) {return restore_hovered(xtd::forms::theme_images::theme_from_name(theme), size);}
333  static xtd::drawing::image restore_hovered(const xtd::forms::theme_images& theme, const xtd::drawing::size& size) {return from_name(theme, "window-restore-hovered", size);}
334 
337  static xtd::drawing::image system_menu() {return system_menu(xtd::forms::theme_images::current_theme(), size());}
341  static xtd::drawing::image system_menu(bool maximized_form) {return system_menu(xtd::forms::theme_images::current_theme(), size(maximized_form));}
350  static xtd::drawing::image system_menu(const xtd::ustring& theme, bool maximized_form) {return system_menu(theme, size(maximized_form));}
354  static xtd::drawing::image system_menu(const xtd::drawing::size& size) {return system_menu(xtd::forms::theme_images::current_theme(), size);}
359  static xtd::drawing::image system_menu(const xtd::ustring& theme, const xtd::drawing::size& size) {return system_menu(xtd::forms::theme_images::theme_from_name(theme), size);}
364  static xtd::drawing::image system_menu(const xtd::forms::theme_images& theme, const xtd::drawing::size& size) {return from_name(theme, "window-system-menu", size);}
365 
368  static xtd::drawing::image system_menu_hovered() {return system_menu_hovered(xtd::forms::theme_images::current_theme(), size());}
372  static xtd::drawing::image system_menu_hovered(bool maximized_form) {return system_menu_hovered(xtd::forms::theme_images::current_theme(), size(maximized_form));}
381  static xtd::drawing::image system_menu_hovered(const xtd::ustring& theme, bool maximized_form) {return system_menu_hovered(theme, size(maximized_form));}
385  static xtd::drawing::image system_menu_hovered(const xtd::drawing::size& size) {return system_menu_hovered(xtd::forms::theme_images::current_theme(), size);}
390  static xtd::drawing::image system_menu_hovered(const xtd::ustring& theme, const xtd::drawing::size& size) {return system_menu_hovered(xtd::forms::theme_images::theme_from_name(theme), size);}
395  static xtd::drawing::image system_menu_hovered(const xtd::forms::theme_images& theme, const xtd::drawing::size& size) {return from_name(theme, "window-system-menu-hovered", size);}
396 
403  static xtd::drawing::size size() {return size(false);}
412  static xtd::drawing::size size(bool maximized_form) {
413  if (environment::os_version().is_windows_platform()) return {90, maximized_form ? 42 : 58};
414  if (environment::os_version().is_macos_platform()) return {24, 24};
415  if (environment::os_version().is_linux_platform()) return {64, 64};
416  return {32, 32};
417  }
418 
423  static xtd::drawing::image from_name(const xtd::ustring& name) {return from_name(name, size());}
430  static xtd::drawing::image from_name(const xtd::ustring& theme, const xtd::ustring& name) {return from_name(theme, name, size());}
437  static xtd::drawing::image from_name(const xtd::ustring& name, const xtd::drawing::size& size) {return from_name(xtd::forms::theme_images::current_theme(), name, size);}
445  static xtd::drawing::image from_name(const xtd::ustring& theme, const xtd::ustring& name, const xtd::drawing::size& size) {return from_name(xtd::forms::theme_images::theme_from_name(theme), name, size);}
453  static xtd::drawing::image from_name(const xtd::forms::theme_images& theme, const xtd::ustring& name, const xtd::drawing::size& size) {return theme.from_name(name, size);}
460  static xtd::drawing::image from_name(const xtd::ustring& name, bool maximized_form) {return from_name(name, size(maximized_form));}
468  static xtd::drawing::image from_name(const xtd::ustring& theme, const xtd::ustring& name, bool maximized_form) {return from_name(theme, name, size(maximized_form));}
476  static xtd::drawing::image from_name(const xtd::forms::theme_images& theme, const xtd::ustring& name, bool maximized_form) {return from_name(theme, name, size(maximized_form));}
478  };
479  }
480 }
static xtd::drawing::image fullscreen_hovered(const xtd::ustring &theme, const xtd::drawing::size &size)
Fullscreen hovered image object with specified theme and size.
Definition: form_button_images.h:142
Contains xtd::static_object class.
static xtd::drawing::image minimize()
Minimize image object.
Definition: form_button_images.h:213
static xtd::drawing::image close_hovered(const xtd::ustring &theme)
Close hovered image object with specified theme.
Definition: form_button_images.h:66
static xtd::drawing::image system_menu_hovered(const xtd::drawing::size &size)
System menu hovered image object with specified size.
Definition: form_button_images.h:385
static xtd::drawing::image from_name(const xtd::forms::theme_images &theme, const xtd::ustring &name, const xtd::drawing::size &size)
Gets image object with specified theme, name and size.
Definition: form_button_images.h:453
static xtd::drawing::image fullscreen(const xtd::forms::theme_images &theme, const xtd::drawing::size &size)
Fullscreen image object with specified theme and size.
Definition: form_button_images.h:116
static xtd::drawing::image system_menu_hovered(const xtd::forms::theme_images &theme, const xtd::drawing::size &size)
System menu hovered image object with specified theme and size.
Definition: form_button_images.h:395
static xtd::drawing::image maximize(const xtd::drawing::size &size)
Maximize image object with specified size.
Definition: form_button_images.h:168
static xtd::drawing::image maximize_hovered(const xtd::ustring &theme, const xtd::drawing::size &size)
Maximize hovered image object with specified theme and size.
Definition: form_button_images.h:204
static xtd::drawing::image close(const xtd::forms::theme_images &theme, const xtd::drawing::size &size)
Close image object with specified theme and size.
Definition: form_button_images.h:54
static xtd::drawing::image from_name(const xtd::ustring &name, const xtd::drawing::size &size)
Gets image object with specified name and size.
Definition: form_button_images.h:437
static xtd::drawing::image maximize(const xtd::ustring &theme, bool maximized_form)
Maximize image object with specified theme and maximized form.
Definition: form_button_images.h:164
static xtd::drawing::image from_name(const xtd::forms::theme_images &theme, const xtd::ustring &name, bool maximized_form)
Gets image object with specified theme, name and maximized form.
Definition: form_button_images.h:476
static xtd::drawing::image system_menu(bool maximized_form)
System menu image object with specified maximized form.
Definition: form_button_images.h:341
#define static_
This keyword is use to represent a static object. A static object can&#39;t be instantiated (constructors...
Definition: static.h:38
static xtd::drawing::image close_hovered(const xtd::ustring &theme, bool maximized_form)
Close hovered image object with specified theme and maximized form.
Definition: form_button_images.h:71
static xtd::drawing::image restore_hovered(const xtd::ustring &theme)
Restore hovered image object with specified theme.
Definition: form_button_images.h:314
static xtd::drawing::image minimize_hovered()
Minimize hovered image object.
Definition: form_button_images.h:244
static xtd::drawing::image fullscreen(const xtd::ustring &theme)
Fullscreen image object with specified theme.
Definition: form_button_images.h:97
static xtd::drawing::image fullscreen(const xtd::drawing::size &size)
Fullscreen image object with specified size.
Definition: form_button_images.h:106
static xtd::drawing::image restore(bool maximized_form)
Restore image object with specified maximized form.
Definition: form_button_images.h:279
static xtd::drawing::image minimize(bool maximized_form)
Minimize image object with specified maximized form.
Definition: form_button_images.h:217
static xtd::operating_system os_version()
Gets an operating_system object that contains the current platform identifier and version number...
static xtd::drawing::image from_name(const xtd::ustring &name)
Gets image object with specified name.
Definition: form_button_images.h:423
static xtd::drawing::image maximize_hovered(const xtd::forms::theme_images &theme, const xtd::drawing::size &size)
Maximize hovered image object with specified theme and size.
Definition: form_button_images.h:209
Stores an ordered pair of integers, which specify a height and width.
Definition: size.h:25
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
static xtd::drawing::image fullscreen_hovered(const xtd::forms::theme_images &theme, const xtd::drawing::size &size)
Fullscreen hovered image object with specified theme and size.
Definition: form_button_images.h:147
static xtd::drawing::image minimize(const xtd::drawing::size &size)
Minimize image object with specified size.
Definition: form_button_images.h:230
static xtd::drawing::image system_menu_hovered(const xtd::ustring &theme)
System menu hovered image object with specified theme.
Definition: form_button_images.h:376
Definition: theme_images.h:14
static xtd::drawing::image system_menu(const xtd::drawing::size &size)
System menu image object with specified size.
Definition: form_button_images.h:354
static xtd::drawing::image minimize(const xtd::ustring &theme, bool maximized_form)
Minimize image object with specified theme and maximized form.
Definition: form_button_images.h:226
static xtd::drawing::image restore(const xtd::ustring &theme, bool maximized_form)
Restore image object with specified theme and maximized form.
Definition: form_button_images.h:288
static xtd::drawing::image fullscreen_hovered(const xtd::ustring &theme, bool maximized_form)
Fullscreen hovered image object with specified theme and maximized form.
Definition: form_button_images.h:133
static xtd::drawing::image minimize_hovered(const xtd::drawing::size &size)
Minimize hovered image object with specified size.
Definition: form_button_images.h:261
static xtd::drawing::image restore(const xtd::ustring &theme, const xtd::drawing::size &size)
Restore image object with specified theme and size.
Definition: form_button_images.h:297
static xtd::drawing::image fullscreen()
Fullscreen image object.
Definition: form_button_images.h:89
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:48
Definition: theme.h:14
static xtd::drawing::image close(bool maximized_form)
Close image object with specified maximized form.
Definition: form_button_images.h:31
static xtd::drawing::image restore_hovered(const xtd::forms::theme_images &theme, const xtd::drawing::size &size)
Restore hovered image object with specified theme and size.
Definition: form_button_images.h:333
static xtd::drawing::image maximize(const xtd::ustring &theme, const xtd::drawing::size &size)
Maximize image object with specified theme and size.
Definition: form_button_images.h:173
static xtd::drawing::image fullscreen(const xtd::ustring &theme, bool maximized_form)
Fullscreen image object with specified theme and maximized form.
Definition: form_button_images.h:102
static xtd::drawing::image fullscreen(const xtd::ustring &theme, const xtd::drawing::size &size)
Fullscreen image object with specified theme and size.
Definition: form_button_images.h:111
static xtd::drawing::image restore(const xtd::drawing::size &size)
Restore image object with specified size.
Definition: form_button_images.h:292
static xtd::drawing::image minimize_hovered(const xtd::forms::theme_images &theme, const xtd::drawing::size &size)
Minimize hovered image object with specified theme and size.
Definition: form_button_images.h:271
static xtd::drawing::image from_name(const xtd::ustring &name, bool maximized_form)
Gets image object with specified name and maximized form.
Definition: form_button_images.h:460
static xtd::drawing::image close()
Close image object.
Definition: form_button_images.h:27
static xtd::drawing::image maximize_hovered()
Maximize hovered image object.
Definition: form_button_images.h:182
static xtd::drawing::image system_menu(const xtd::ustring &theme, bool maximized_form)
System menu image object with specified theme and maximized form.
Definition: form_button_images.h:350
static xtd::drawing::image restore_hovered()
Restore hovered image object.
Definition: form_button_images.h:306
static xtd::drawing::image restore(const xtd::ustring &theme)
Restore image object with specified theme.
Definition: form_button_images.h:283
static xtd::drawing::image close_hovered(bool maximized_form)
Close hovered image object with specified maximized form.
Definition: form_button_images.h:62
static xtd::drawing::image minimize_hovered(const xtd::ustring &theme, bool maximized_form)
Minimize hovered image object with specified theme and maximized form.
Definition: form_button_images.h:257
static xtd::drawing::image close(const xtd::ustring &theme)
Close image object with specified theme.
Definition: form_button_images.h:35
static xtd::drawing::image system_menu_hovered()
System menu hovered image object.
Definition: form_button_images.h:368
static xtd::drawing::image from_name(const xtd::ustring &theme, const xtd::ustring &name, bool maximized_form)
Gets image object with specified theme, name and maximized form.
Definition: form_button_images.h:468
static xtd::drawing::image from_name(const xtd::ustring &theme, const xtd::ustring &name, const xtd::drawing::size &size)
Gets image object with specified theme, name and size.
Definition: form_button_images.h:445
static xtd::drawing::image minimize_hovered(const xtd::ustring &theme, const xtd::drawing::size &size)
Minimize hovered image object with specified theme and size.
Definition: form_button_images.h:266
static xtd::drawing::image maximize_hovered(bool maximized_form)
Maximize hovered image object with specified maximized form.
Definition: form_button_images.h:186
static xtd::drawing::image maximize()
Maximize image object.
Definition: form_button_images.h:151
static xtd::drawing::image close_hovered(const xtd::ustring &theme, const xtd::drawing::size &size)
Close hovered image object with specified theme and size.
Definition: form_button_images.h:80
static xtd::drawing::image maximize_hovered(const xtd::ustring &theme, bool maximized_form)
Maximize hovered image object with specified theme and maximized form.
Definition: form_button_images.h:195
static xtd::drawing::image maximize_hovered(const xtd::ustring &theme)
Maximize hovered image object with specified theme.
Definition: form_button_images.h:190
static xtd::drawing::image restore_hovered(bool maximized_form)
Restore hovered image object with specified maximized form.
Definition: form_button_images.h:310
Provides a form button images factories for use by a form control.
Definition: form_button_images.h:20
static xtd::drawing::image minimize(const xtd::forms::theme_images &theme, const xtd::drawing::size &size)
Minimize image object with specified theme and size.
Definition: form_button_images.h:240
static xtd::drawing::size size()
Gets the height and width of the button images.
Definition: form_button_images.h:403
static xtd::drawing::image system_menu(const xtd::ustring &theme)
System menu image object with specified theme.
Definition: form_button_images.h:345
static xtd::drawing::image fullscreen_hovered(bool maximized_form)
Fullscreen hovered image object with specified maximized form.
Definition: form_button_images.h:124
static xtd::drawing::image minimize_hovered(bool maximized_form)
Minimize hovered image object with specified maximized form.
Definition: form_button_images.h:248
static xtd::drawing::image maximize(bool maximized_form)
Maximize image object with specified maximized form.
Definition: form_button_images.h:155
static xtd::drawing::image maximize(const xtd::forms::theme_images &theme, const xtd::drawing::size &size)
Maximize image object with specified theme and size.
Definition: form_button_images.h:178
static xtd::drawing::image close(const xtd::ustring &theme, const xtd::drawing::size &size)
Close image object with specified theme and size.
Definition: form_button_images.h:49
static xtd::drawing::image close(const xtd::ustring &theme, bool maximized_form)
Close image object with specified theme and maximized form.
Definition: form_button_images.h:40
static xtd::drawing::image restore(const xtd::forms::theme_images &theme, const xtd::drawing::size &size)
Restore image object with specified theme and size.
Definition: form_button_images.h:302
static xtd::drawing::image close_hovered(const xtd::drawing::size &size)
Close hovered image object with specified size.
Definition: form_button_images.h:75
An abstract base class that provides functionality for the bitmap and metafile descended classes...
Definition: image.h:34
static xtd::drawing::image from_name(const xtd::ustring &theme, const xtd::ustring &name)
Gets image object with specified theme and name.
Definition: form_button_images.h:430
static xtd::drawing::image close_hovered()
Close hovered image object.
Definition: form_button_images.h:58
static xtd::drawing::image system_menu(const xtd::forms::theme_images &theme, const xtd::drawing::size &size)
System menu image object with specified theme and size.
Definition: form_button_images.h:364
static xtd::drawing::image system_menu_hovered(bool maximized_form)
System menu hovered image object with specified maximized form.
Definition: form_button_images.h:372
static xtd::drawing::image restore()
Restore image object.
Definition: form_button_images.h:275
static xtd::drawing::image maximize(const xtd::ustring &theme)
Maximize image object with specified theme.
Definition: form_button_images.h:159
static xtd::drawing::image system_menu()
System menu image object.
Definition: form_button_images.h:337
static xtd::drawing::image minimize(const xtd::ustring &theme, const xtd::drawing::size &size)
Minimize image object with specified theme and size.
Definition: form_button_images.h:235
static xtd::drawing::image restore_hovered(const xtd::drawing::size &size)
Restore hovered image object with specified size.
Definition: form_button_images.h:323
Contains xtd::environment class.
static xtd::drawing::image system_menu(const xtd::ustring &theme, const xtd::drawing::size &size)
System menu image object with specified theme and size.
Definition: form_button_images.h:359
static xtd::drawing::image restore_hovered(const xtd::ustring &theme, bool maximized_form)
Restore hovered image object with specified theme and maximized form.
Definition: form_button_images.h:319
static xtd::drawing::image restore_hovered(const xtd::ustring &theme, const xtd::drawing::size &size)
Restore hovered image object with specified theme and size.
Definition: form_button_images.h:328
static xtd::drawing::image minimize_hovered(const xtd::ustring &theme)
Minimize hovered image object with specified theme.
Definition: form_button_images.h:252
static xtd::drawing::image fullscreen_hovered()
Close image object.
Definition: form_button_images.h:120
static xtd::drawing::image fullscreen(bool maximized_form)
Fullscreen image object with specified maximized form.
Definition: form_button_images.h:93
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13
static xtd::drawing::image minimize(const xtd::ustring &theme)
Minimize image object with specified theme.
Definition: form_button_images.h:221
static xtd::drawing::image close(const xtd::drawing::size &size)
Close image object with specified size.
Definition: form_button_images.h:44
static xtd::drawing::image fullscreen_hovered(const xtd::ustring &theme)
Fullscreen hovered image object with specified theme.
Definition: form_button_images.h:128
static xtd::drawing::image maximize_hovered(const xtd::drawing::size &size)
Maximize hovered image object with specified size.
Definition: form_button_images.h:199
static xtd::drawing::image system_menu_hovered(const xtd::ustring &theme, bool maximized_form)
System menu hovered image object with specified theme and maximized form.
Definition: form_button_images.h:381
Contains xtd::drawing::system_images factory.
static xtd::drawing::image close_hovered(const xtd::forms::theme_images &theme, const xtd::drawing::size &size)
Close hovered image object with specified theme and size.
Definition: form_button_images.h:85
size_t size
Represents a size of any object in bytes.
Definition: types.h:171
static xtd::drawing::size size(bool maximized_form)
Gets the height and width of the button images with specified maximized form.
Definition: form_button_images.h:412
Contains xtd::forms::theme_images class.
static xtd::drawing::image system_menu_hovered(const xtd::ustring &theme, const xtd::drawing::size &size)
System menu hovered image object with specified theme and size.
Definition: form_button_images.h:390
static xtd::drawing::image fullscreen_hovered(const xtd::drawing::size &size)
Fullscreen hovered image object with specified size.
Definition: form_button_images.h:137