xtd 1.0.0
Loading...
Searching...
No Matches
form_button_images.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "images.hpp"
6#include <xtd/drawing/system_images>
7#include <xtd/environment>
8#include <xtd/static>
9
11namespace xtd {
13 namespace forms {
25 public:
27
31 [[nodiscard]] static auto close() -> xtd::drawing::image;
35 [[nodiscard]] static auto close(bool maximized_form) -> xtd::drawing::image;
39 [[nodiscard]] static auto close(const xtd::string& theme) -> xtd::drawing::image;
44 [[nodiscard]] static auto close(const xtd::string& theme, bool maximized_form) -> xtd::drawing::image;
48 [[nodiscard]] static auto close(const xtd::drawing::size& size) -> xtd::drawing::image;
53 [[nodiscard]] static auto close(const xtd::string& theme, const xtd::drawing::size& size) -> xtd::drawing::image;
54
57 [[nodiscard]] static auto close_hovered() -> xtd::drawing::image;
61 [[nodiscard]] static auto close_hovered(bool maximized_form) -> xtd::drawing::image;
65 [[nodiscard]] static auto close_hovered(const xtd::string& theme) -> xtd::drawing::image;
70 [[nodiscard]] static auto close_hovered(const xtd::string& theme, bool maximized_form) -> xtd::drawing::image;
74 [[nodiscard]] static auto close_hovered(const xtd::drawing::size& size) -> xtd::drawing::image;
79 [[nodiscard]] static auto close_hovered(const xtd::string& theme, const xtd::drawing::size& size) -> xtd::drawing::image;
80
83 [[nodiscard]] static auto fullscreen() -> xtd::drawing::image;
87 [[nodiscard]] static auto fullscreen(bool maximized_form) -> xtd::drawing::image;
91 [[nodiscard]] static auto fullscreen(const xtd::string& theme) -> xtd::drawing::image;
96 [[nodiscard]] static auto fullscreen(const xtd::string& theme, bool maximized_form) -> xtd::drawing::image;
100 [[nodiscard]] static auto fullscreen(const xtd::drawing::size& size) -> xtd::drawing::image;
105 [[nodiscard]] static auto fullscreen(const xtd::string& theme, const xtd::drawing::size& size) -> xtd::drawing::image;
106
109 [[nodiscard]] static auto fullscreen_hovered() -> xtd::drawing::image;
113 [[nodiscard]] static auto fullscreen_hovered(bool maximized_form) -> xtd::drawing::image;
117 [[nodiscard]] static auto fullscreen_hovered(const xtd::string& theme) -> xtd::drawing::image;
122 [[nodiscard]] static auto fullscreen_hovered(const xtd::string& theme, bool maximized_form) -> xtd::drawing::image;
126 [[nodiscard]] static auto fullscreen_hovered(const xtd::drawing::size& size) -> xtd::drawing::image;
132
135 [[nodiscard]] static auto maximize() -> xtd::drawing::image;
139 [[nodiscard]] static auto maximize(bool maximized_form) -> xtd::drawing::image;
143 [[nodiscard]] static auto maximize(const xtd::string& theme) -> xtd::drawing::image;
148 [[nodiscard]] static auto maximize(const xtd::string& theme, bool maximized_form) -> xtd::drawing::image;
152 [[nodiscard]] static auto maximize(const xtd::drawing::size& size) -> xtd::drawing::image;
157 [[nodiscard]] static auto maximize(const xtd::string& theme, const xtd::drawing::size& size) -> xtd::drawing::image;
158
161 [[nodiscard]] static auto maximize_hovered() -> xtd::drawing::image;
165 [[nodiscard]] static auto maximize_hovered(bool maximized_form) -> xtd::drawing::image;
169 [[nodiscard]] static auto maximize_hovered(const xtd::string& theme) -> xtd::drawing::image;
174 [[nodiscard]] static auto maximize_hovered(const xtd::string& theme, bool maximized_form) -> xtd::drawing::image;
178 [[nodiscard]] static auto maximize_hovered(const xtd::drawing::size& size) -> xtd::drawing::image;
183 [[nodiscard]] static auto maximize_hovered(const xtd::string& theme, const xtd::drawing::size& size) -> xtd::drawing::image;
184
187 [[nodiscard]] static auto minimize() -> xtd::drawing::image;
191 [[nodiscard]] static auto minimize(bool maximized_form) -> xtd::drawing::image;
195 [[nodiscard]] static auto minimize(const xtd::string& theme) -> xtd::drawing::image;
200 [[nodiscard]] static auto minimize(const xtd::string& theme, bool maximized_form) -> xtd::drawing::image;
204 [[nodiscard]] static auto minimize(const xtd::drawing::size& size) -> xtd::drawing::image;
209 [[nodiscard]] static auto minimize(const xtd::string& theme, const xtd::drawing::size& size) -> xtd::drawing::image;
210
213 [[nodiscard]] static auto minimize_hovered() -> xtd::drawing::image;
217 [[nodiscard]] static auto minimize_hovered(bool maximized_form) -> xtd::drawing::image;
221 [[nodiscard]] static auto minimize_hovered(const xtd::string& theme) -> xtd::drawing::image;
226 [[nodiscard]] static auto minimize_hovered(const xtd::string& theme, bool maximized_form) -> xtd::drawing::image;
230 [[nodiscard]] static auto minimize_hovered(const xtd::drawing::size& size) -> xtd::drawing::image;
235 [[nodiscard]] static auto minimize_hovered(const xtd::string& theme, const xtd::drawing::size& size) -> xtd::drawing::image;
236
239 [[nodiscard]] static auto restore() -> xtd::drawing::image;
243 [[nodiscard]] static auto restore(bool maximized_form) -> xtd::drawing::image;
247 [[nodiscard]] static auto restore(const xtd::string& theme) -> xtd::drawing::image;
252 [[nodiscard]] static auto restore(const xtd::string& theme, bool maximized_form) -> xtd::drawing::image;
256 [[nodiscard]] static auto restore(const xtd::drawing::size& size) -> xtd::drawing::image;
261 [[nodiscard]] static auto restore(const xtd::string& theme, const xtd::drawing::size& size) -> xtd::drawing::image;
262
265 [[nodiscard]] static auto restore_hovered() -> xtd::drawing::image;
269 [[nodiscard]] static auto restore_hovered(bool maximized_form) -> xtd::drawing::image;
273 [[nodiscard]] static auto restore_hovered(const xtd::string& theme) -> xtd::drawing::image;
278 [[nodiscard]] static auto restore_hovered(const xtd::string& theme, bool maximized_form) -> xtd::drawing::image;
282 [[nodiscard]] static auto restore_hovered(const xtd::drawing::size& size) -> xtd::drawing::image;
287 [[nodiscard]] static auto restore_hovered(const xtd::string& theme, const xtd::drawing::size& size) -> xtd::drawing::image;
288
291 [[nodiscard]] static auto system_menu() -> xtd::drawing::image;
295 [[nodiscard]] static auto system_menu(bool maximized_form) -> xtd::drawing::image;
299 [[nodiscard]] static auto system_menu(const xtd::string& theme) -> xtd::drawing::image;
304 [[nodiscard]] static auto system_menu(const xtd::string& theme, bool maximized_form) -> xtd::drawing::image;
308 [[nodiscard]] static auto system_menu(const xtd::drawing::size& size) -> xtd::drawing::image;
313 [[nodiscard]] static auto system_menu(const xtd::string& theme, const xtd::drawing::size& size) -> xtd::drawing::image;
314
317 [[nodiscard]] static auto system_menu_hovered() -> xtd::drawing::image;
321 [[nodiscard]] static auto system_menu_hovered(bool maximized_form) -> xtd::drawing::image;
325 [[nodiscard]] static auto system_menu_hovered(const xtd::string& theme) -> xtd::drawing::image;
330 [[nodiscard]] static auto system_menu_hovered(const xtd::string& theme, bool maximized_form) -> xtd::drawing::image;
340
347 [[nodiscard]] static auto size() -> xtd::drawing::size;
356 [[nodiscard]] static auto size(bool maximized_form) -> xtd::drawing::size;
357
362 [[nodiscard]] static auto from_name(const xtd::string& name) -> xtd::drawing::image;
369 [[nodiscard]] static auto from_name(const xtd::string& theme, const xtd::string& name) -> xtd::drawing::image;
376 [[nodiscard]] static auto from_name(const xtd::string& name, const xtd::drawing::size& size) -> xtd::drawing::image;
384 [[nodiscard]] static auto from_name(const xtd::string& theme, const xtd::string& name, const xtd::drawing::size& size) -> xtd::drawing::image;
391 [[nodiscard]] static auto from_name(const xtd::string& name, bool maximized_form) -> xtd::drawing::image;
399 [[nodiscard]] static auto from_name(const xtd::string& theme, const xtd::string& name, bool maximized_form) -> xtd::drawing::image;
401 };
402 }
403}
An abstract base class that provides functionality for the bitmap and metafile descended classes.
Definition image.hpp:49
Provides a form button images factories for use by a form control.
Definition form_button_images.hpp:24
static auto minimize_hovered(const xtd::string &theme, bool maximized_form) -> xtd::drawing::image
Minimize hovered image object with specified theme and maximized form.
static auto fullscreen(const xtd::drawing::size &size) -> xtd::drawing::image
Fullscreen image object with specified size.
static auto fullscreen(const xtd::string &theme, bool maximized_form) -> xtd::drawing::image
Fullscreen image object with specified theme and maximized form.
static auto maximize_hovered(const xtd::string &theme) -> xtd::drawing::image
Maximize hovered image object with specified theme.
static auto fullscreen(bool maximized_form) -> xtd::drawing::image
Fullscreen image object with specified maximized form.
static auto system_menu(bool maximized_form) -> xtd::drawing::image
System menu image object with specified maximized form.
static auto system_menu_hovered(const xtd::string &theme, bool maximized_form) -> xtd::drawing::image
System menu hovered image object with specified theme and maximized form.
static auto restore(const xtd::string &theme, bool maximized_form) -> xtd::drawing::image
Restore image object with specified theme and maximized form.
static auto maximize_hovered(bool maximized_form) -> xtd::drawing::image
Maximize hovered image object with specified maximized form.
static auto close_hovered(const xtd::string &theme) -> xtd::drawing::image
Close hovered image object with specified theme.
static auto close_hovered(const xtd::string &theme, bool maximized_form) -> xtd::drawing::image
Close hovered image object with specified theme and maximized form.
static auto close(const xtd::drawing::size &size) -> xtd::drawing::image
Close image object with specified size.
static auto maximize(const xtd::drawing::size &size) -> xtd::drawing::image
Maximize image object with specified size.
static auto close_hovered(bool maximized_form) -> xtd::drawing::image
Close hovered image object with specified maximized form.
static auto maximize_hovered(const xtd::string &theme, const xtd::drawing::size &size) -> xtd::drawing::image
Maximize hovered image object with specified theme and size.
static auto fullscreen_hovered(const xtd::drawing::size &size) -> xtd::drawing::image
Fullscreen hovered image object with specified size.
static auto system_menu(const xtd::string &theme) -> xtd::drawing::image
System menu image object with specified theme.
static auto restore_hovered(const xtd::string &theme) -> xtd::drawing::image
Restore hovered image object with specified theme.
static auto minimize(const xtd::string &theme, bool maximized_form) -> xtd::drawing::image
Minimize image object with specified theme and maximized form.
static auto maximize_hovered(const xtd::drawing::size &size) -> xtd::drawing::image
Maximize hovered image object with specified size.
static auto restore_hovered(const xtd::drawing::size &size) -> xtd::drawing::image
Restore hovered image object with specified size.
static auto maximize(const xtd::string &theme) -> xtd::drawing::image
Maximize image object with specified theme.
static auto close(const xtd::string &theme, const xtd::drawing::size &size) -> xtd::drawing::image
Close image object with specified theme and size.
static auto fullscreen() -> xtd::drawing::image
Fullscreen image object.
static auto restore() -> xtd::drawing::image
Restore image object.
static auto restore(const xtd::drawing::size &size) -> xtd::drawing::image
Restore image object with specified size.
static auto maximize() -> xtd::drawing::image
Maximize image object.
static auto restore(const xtd::string &theme) -> xtd::drawing::image
Restore image object with specified theme.
static auto restore_hovered(const xtd::string &theme, const xtd::drawing::size &size) -> xtd::drawing::image
Restore hovered image object with specified theme and size.
static auto minimize(const xtd::string &theme) -> xtd::drawing::image
Minimize image object with specified theme.
static auto system_menu_hovered(const xtd::string &theme, const xtd::drawing::size &size) -> xtd::drawing::image
System menu hovered image object with specified theme and size.
static auto from_name(const xtd::string &name) -> xtd::drawing::image
Gets image object with specified name.
static auto restore_hovered(bool maximized_form) -> xtd::drawing::image
Restore hovered image object with specified maximized form.
static auto maximize_hovered() -> xtd::drawing::image
Maximize hovered image object.
static auto restore_hovered(const xtd::string &theme, bool maximized_form) -> xtd::drawing::image
Restore hovered image object with specified theme and maximized form.
static auto fullscreen_hovered(const xtd::string &theme, bool maximized_form) -> xtd::drawing::image
Fullscreen hovered image object with specified theme and maximized form.
static auto system_menu(const xtd::string &theme, bool maximized_form) -> xtd::drawing::image
System menu image object with specified theme and maximized form.
static auto from_name(const xtd::string &theme, const xtd::string &name, const xtd::drawing::size &size) -> xtd::drawing::image
Gets image object with specified theme, name and size.
static auto minimize_hovered(const xtd::string &theme, const xtd::drawing::size &size) -> xtd::drawing::image
Minimize hovered image object with specified theme and size.
static auto maximize(bool maximized_form) -> xtd::drawing::image
Maximize image object with specified maximized form.
static auto close_hovered(const xtd::string &theme, const xtd::drawing::size &size) -> xtd::drawing::image
Close hovered image object with specified theme and size.
static auto minimize_hovered(bool maximized_form) -> xtd::drawing::image
Minimize hovered image object with specified maximized form.
static auto minimize(bool maximized_form) -> xtd::drawing::image
Minimize image object with specified maximized form.
static auto size() -> xtd::drawing::size
Gets the height and width of the button images.
static auto restore_hovered() -> xtd::drawing::image
Restore hovered image object.
static auto maximize(const xtd::string &theme, const xtd::drawing::size &size) -> xtd::drawing::image
Maximize image object with specified theme and size.
static auto close_hovered() -> xtd::drawing::image
Close hovered image object.
static auto close_hovered(const xtd::drawing::size &size) -> xtd::drawing::image
Close hovered image object with specified size.
static auto minimize_hovered(const xtd::string &theme) -> xtd::drawing::image
Minimize hovered image object with specified theme.
static auto minimize_hovered() -> xtd::drawing::image
Minimize hovered image object.
static auto restore(bool maximized_form) -> xtd::drawing::image
Restore image object with specified maximized form.
static auto size(bool maximized_form) -> xtd::drawing::size
Gets the height and width of the button images with specified maximized form.
static auto minimize(const xtd::string &theme, const xtd::drawing::size &size) -> xtd::drawing::image
Minimize image object with specified theme and size.
static auto fullscreen(const xtd::string &theme) -> xtd::drawing::image
Fullscreen image object with specified theme.
static auto fullscreen_hovered(const xtd::string &theme, const xtd::drawing::size &size) -> xtd::drawing::image
Fullscreen hovered image object with specified theme and size.
static auto close(bool maximized_form) -> xtd::drawing::image
Close image object with specified maximized form.
static auto fullscreen_hovered() -> xtd::drawing::image
Close image object.
static auto fullscreen_hovered(bool maximized_form) -> xtd::drawing::image
Fullscreen hovered image object with specified maximized form.
static auto system_menu_hovered(const xtd::string &theme) -> xtd::drawing::image
System menu hovered image object with specified theme.
static auto minimize_hovered(const xtd::drawing::size &size) -> xtd::drawing::image
Minimize hovered image object with specified size.
static auto close(const xtd::string &theme) -> xtd::drawing::image
Close image object with specified theme.
static auto from_name(const xtd::string &theme, const xtd::string &name, bool maximized_form) -> xtd::drawing::image
Gets image object with specified theme, name and maximized form.
static auto from_name(const xtd::string &name, bool maximized_form) -> xtd::drawing::image
Gets image object with specified name and maximized form.
static auto maximize_hovered(const xtd::string &theme, bool maximized_form) -> xtd::drawing::image
Maximize hovered image object with specified theme and maximized form.
static auto close(const xtd::string &theme, bool maximized_form) -> xtd::drawing::image
Close image object with specified theme and maximized form.
static auto fullscreen_hovered(const xtd::string &theme) -> xtd::drawing::image
Fullscreen hovered image object with specified theme.
static auto system_menu(const xtd::string &theme, const xtd::drawing::size &size) -> xtd::drawing::image
System menu image object with specified theme and size.
static auto from_name(const xtd::string &name, const xtd::drawing::size &size) -> xtd::drawing::image
Gets image object with specified name and size.
static auto fullscreen(const xtd::string &theme, const xtd::drawing::size &size) -> xtd::drawing::image
Fullscreen image object with specified theme and size.
static auto system_menu() -> xtd::drawing::image
System menu image object.
static auto from_name(const xtd::string &theme, const xtd::string &name) -> xtd::drawing::image
Gets image object with specified theme and name.
static auto restore(const xtd::string &theme, const xtd::drawing::size &size) -> xtd::drawing::image
Restore image object with specified theme and size.
static auto maximize(const xtd::string &theme, bool maximized_form) -> xtd::drawing::image
Maximize image object with specified theme and maximized form.
static auto minimize() -> xtd::drawing::image
Minimize image object.
static auto system_menu_hovered() -> xtd::drawing::image
System menu hovered image object.
static auto minimize(const xtd::drawing::size &size) -> xtd::drawing::image
Minimize image object with specified size.
static auto system_menu_hovered(const xtd::drawing::size &size) -> xtd::drawing::image
System menu hovered image object with specified size.
static auto system_menu_hovered(bool maximized_form) -> xtd::drawing::image
System menu hovered image object with specified maximized form.
static auto system_menu(const xtd::drawing::size &size) -> xtd::drawing::image
System menu image object with specified size.
static auto close() -> xtd::drawing::image
Close image object.
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition static.hpp:38
xtd::basic_string< char > string
Represents text as a sequence of UTF-8 code units.
Definition __string_definitions.hpp:43
@ theme
Defines a 3D themed border. The effect depends on the border color value.
Definition border_style.hpp:38
Contains xtd::forms::images factory.
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
Stores an ordered pair of integers, which specify a height and width.
Definition size.hpp:32