xtd 0.2.0
form_button_images.h
Go to the documentation of this file.
1 #pragma once
5 #include "images.h"
6 #include <xtd/drawing/system_images>
7 #include <xtd/environment>
8 #include <xtd/static>
9 
11 namespace xtd {
13  namespace forms {
23  public:
25 
29  static xtd::drawing::image close();
33  static xtd::drawing::image close(bool maximized_form);
42  static xtd::drawing::image close(const xtd::ustring& theme, bool maximized_form);
51  static xtd::drawing::image close(const xtd::ustring& theme, const xtd::drawing::size& size);
52 
59  static xtd::drawing::image close_hovered(bool maximized_form);
63  static xtd::drawing::image close_hovered(const xtd::ustring& theme);
68  static xtd::drawing::image close_hovered(const xtd::ustring& theme, bool maximized_form);
77  static xtd::drawing::image close_hovered(const xtd::ustring& theme, const xtd::drawing::size& size);
78 
85  static xtd::drawing::image fullscreen(bool maximized_form);
89  static xtd::drawing::image fullscreen(const xtd::ustring& theme);
94  static xtd::drawing::image fullscreen(const xtd::ustring& theme, bool maximized_form);
103  static xtd::drawing::image fullscreen(const xtd::ustring& theme, const xtd::drawing::size& size);
104 
111  static xtd::drawing::image fullscreen_hovered(bool maximized_form);
120  static xtd::drawing::image fullscreen_hovered(const xtd::ustring& theme, bool maximized_form);
129  static xtd::drawing::image fullscreen_hovered(const xtd::ustring& theme, const xtd::drawing::size& size);
130 
133  static xtd::drawing::image maximize();
137  static xtd::drawing::image maximize(bool maximized_form);
141  static xtd::drawing::image maximize(const xtd::ustring& theme);
146  static xtd::drawing::image maximize(const xtd::ustring& theme, bool maximized_form);
150  static xtd::drawing::image maximize(const xtd::drawing::size& size);
155  static xtd::drawing::image maximize(const xtd::ustring& theme, const xtd::drawing::size& size);
156 
163  static xtd::drawing::image maximize_hovered(bool maximized_form);
172  static xtd::drawing::image maximize_hovered(const xtd::ustring& theme, bool maximized_form);
181  static xtd::drawing::image maximize_hovered(const xtd::ustring& theme, const xtd::drawing::size& size);
182 
185  static xtd::drawing::image minimize();
189  static xtd::drawing::image minimize(bool maximized_form);
193  static xtd::drawing::image minimize(const xtd::ustring& theme);
198  static xtd::drawing::image minimize(const xtd::ustring& theme, bool maximized_form);
202  static xtd::drawing::image minimize(const xtd::drawing::size& size);
207  static xtd::drawing::image minimize(const xtd::ustring& theme, const xtd::drawing::size& size);
208 
215  static xtd::drawing::image minimize_hovered(bool maximized_form);
224  static xtd::drawing::image minimize_hovered(const xtd::ustring& theme, bool maximized_form);
233  static xtd::drawing::image minimize_hovered(const xtd::ustring& theme, const xtd::drawing::size& size);
234 
237  static xtd::drawing::image restore();
241  static xtd::drawing::image restore(bool maximized_form);
245  static xtd::drawing::image restore(const xtd::ustring& theme);
250  static xtd::drawing::image restore(const xtd::ustring& theme, bool maximized_form);
254  static xtd::drawing::image restore(const xtd::drawing::size& size);
259  static xtd::drawing::image restore(const xtd::ustring& theme, const xtd::drawing::size& size);
260 
267  static xtd::drawing::image restore_hovered(bool maximized_form);
271  static xtd::drawing::image restore_hovered(const xtd::ustring& theme);
276  static xtd::drawing::image restore_hovered(const xtd::ustring& theme, bool maximized_form);
285  static xtd::drawing::image restore_hovered(const xtd::ustring& theme, const xtd::drawing::size& size);
286 
293  static xtd::drawing::image system_menu(bool maximized_form);
297  static xtd::drawing::image system_menu(const xtd::ustring& theme);
302  static xtd::drawing::image system_menu(const xtd::ustring& theme, bool maximized_form);
311  static xtd::drawing::image system_menu(const xtd::ustring& theme, const xtd::drawing::size& size);
312 
319  static xtd::drawing::image system_menu_hovered(bool maximized_form);
328  static xtd::drawing::image system_menu_hovered(const xtd::ustring& theme, bool maximized_form);
338 
345  static xtd::drawing::size size();
354  static xtd::drawing::size size(bool maximized_form);
355 
360  static xtd::drawing::image from_name(const xtd::ustring& name);
367  static xtd::drawing::image from_name(const xtd::ustring& theme, const xtd::ustring& name);
374  static xtd::drawing::image from_name(const xtd::ustring& name, const xtd::drawing::size& size);
382  static xtd::drawing::image from_name(const xtd::ustring& theme, const xtd::ustring& name, const xtd::drawing::size& size);
389  static xtd::drawing::image from_name(const xtd::ustring& name, bool maximized_form);
397  static xtd::drawing::image from_name(const xtd::ustring& theme, const xtd::ustring& name, bool maximized_form);
399  };
400  }
401 }
static xtd::drawing::image minimize()
Minimize image object.
#define static_
This keyword is use to represent a static object. A static object can&#39;t be instantiated (constructors...
Definition: static.h:37
static xtd::drawing::image minimize_hovered()
Minimize hovered image object.
static xtd::drawing::image from_name(const xtd::ustring &name)
Gets image object with specified name.
Stores an ordered pair of integers, which specify a height and width.
Definition: size.h:31
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Contains xtd::forms::images factory.
static xtd::drawing::image fullscreen()
Fullscreen image object.
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:46
static xtd::drawing::image close()
Close image object.
static xtd::drawing::image maximize_hovered()
Maximize hovered image object.
static xtd::drawing::image restore_hovered()
Restore hovered image object.
static xtd::drawing::image system_menu_hovered()
System menu hovered image object.
static xtd::drawing::image maximize()
Maximize image object.
Provides a form button images factories for use by a form control.
Definition: form_button_images.h:22
static xtd::drawing::size size()
Gets the height and width of the button images.
An abstract base class that provides functionality for the bitmap and metafile descended classes...
Definition: image.h:48
static xtd::drawing::image close_hovered()
Close hovered image object.
static xtd::drawing::image restore()
Restore image object.
static xtd::drawing::image system_menu()
System menu image object.
static xtd::drawing::image fullscreen_hovered()
Close image object.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13
Defines a 3D themed border. The effect depends on the border color value.
size_t size
Represents a size of any object in bytes.
Definition: types.h:195