xtd 0.2.0
system_icons.h
Go to the documentation of this file.
1 #pragma once
5 #include "icon.h"
6 #include "system_images.h"
7 #include "size.h"
8 #include <map>
9 #include <string>
10 #include <vector>
11 #include <xtd/static.h>
12 
14 namespace xtd {
16  namespace drawing {
29  class system_icons final static_ {
30  public:
32 
36  static xtd::drawing::icon application() noexcept;
40  static xtd::drawing::icon application(const xtd::drawing::size& size) noexcept;
41 
44  static xtd::drawing::icon asterisk() noexcept;
48  static xtd::drawing::icon asterisk(const xtd::drawing::size& size) noexcept;
49 
52  static xtd::drawing::icon error() noexcept;
56  static xtd::drawing::icon error(const xtd::drawing::size& size) noexcept;
57 
60  static xtd::drawing::icon exclamation() noexcept;
64  static xtd::drawing::icon exclamation(const xtd::drawing::size& size) noexcept;
65 
68  static xtd::drawing::icon hand() noexcept;
72  static xtd::drawing::icon hand(const xtd::drawing::size& size) noexcept;
73 
76  static xtd::drawing::icon information() noexcept;
80  static xtd::drawing::icon information(const xtd::drawing::size& size) noexcept;
81 
84  static xtd::drawing::icon question() noexcept;
88  static xtd::drawing::icon question(const xtd::drawing::size& size) noexcept;
89 
92  static xtd::drawing::icon shield() noexcept;
96  static xtd::drawing::icon shield(const xtd::drawing::size& size) noexcept;
97 
100  static xtd::drawing::icon warning() noexcept;
104  static xtd::drawing::icon warning(const xtd::drawing::size& size) noexcept;
105 
108  static xtd::drawing::icon win_logo() noexcept;
112  static xtd::drawing::icon win_logo(const xtd::drawing::size& size) noexcept;
113 
117  static xtd::drawing::size default_size() noexcept;
118 
121  static xtd::drawing::icon kde_logo() noexcept;
125  static xtd::drawing::icon kde_logo(const xtd::drawing::size& size) noexcept;
126 
129  static xtd::drawing::icon macos_logo() noexcept;
133  static xtd::drawing::icon macos_logo(const xtd::drawing::size& size) noexcept;
134 
137  static xtd::drawing::icon gnome_logo() noexcept;
141  static xtd::drawing::icon gnome_logo(const xtd::drawing::size& size) noexcept;
142 
145  static xtd::drawing::icon symbolic_logo() noexcept;
149  static xtd::drawing::icon symbolic_logo(const xtd::drawing::size& size) noexcept;
150 
153  static xtd::drawing::icon windows_logo() noexcept;
157  static xtd::drawing::icon windows_logo(const xtd::drawing::size& size) noexcept;
158 
161  static xtd::drawing::icon gammasoft() noexcept;
165  static xtd::drawing::icon gammasoft(const xtd::drawing::size& size) noexcept;
166 
169  static xtd::drawing::icon xtd_logo() noexcept;
173  static xtd::drawing::icon xtd_logo(const xtd::drawing::size& size) noexcept;
174 
177  static xtd::drawing::icon xtd_forms_logo() noexcept;
181  static xtd::drawing::icon xtd_forms_logo(const xtd::drawing::size& size) noexcept;
183 
185 
192  static xtd::drawing::icon from_name(const xtd::ustring& name);
198  static xtd::drawing::icon from_name(const xtd::ustring& name, const xtd::drawing::size& size);
204  static xtd::drawing::icon from_name(const xtd::ustring& theme, const xtd::ustring& name);
210  static xtd::drawing::icon from_name(const xtd::ustring& theme, const xtd::ustring& name, const xtd::drawing::size& size);
212  };
213  }
214 }
215 
static xtd::drawing::icon question() noexcept
Gets an xtd::drawing::icon object that contains the system question icon (WIN32: IDI_QUESTION).
Contains xtd::static_object class.
Contains xtd::drawing::icon class.
static xtd::drawing::size default_size() noexcept
Gets the default size of the icon.
#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::icon warning() noexcept
Gets an xtd::drawing::icon object that contains the system warning icon (WIN32: IDI_WARNING).
static xtd::drawing::icon gnome_logo() noexcept
Gets an xtd::drawing::icon object that contains the GNOME logo icon.
Stores an ordered pair of integers, which specify a height and width.
Definition: size.h:31
static xtd::drawing::icon xtd_logo() noexcept
Gets an xtd::drawing::icon object that contains the xtd logo icon.
static xtd::drawing::icon windows_logo() noexcept
Gets an xtd::drawing::icon object that contains the Windows logo icon (WIN32: IDI_WINLOGO).
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
static xtd::drawing::icon hand() noexcept
Gets an xtd::drawing::icon object that contains the system hand icon (WIN32: IDI_HAND).
static xtd::drawing::icon from_name(const xtd::ustring &name)
Gets system icon from specified name.
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:48
Each property of the xtd::drawing::system_icons class is an xtd::drawing::icon object for Windows sys...
Definition: system_icons.h:29
static xtd::drawing::icon exclamation() noexcept
Gets an xtd::drawing::icon object that contains the system exclamation icon (WIN32: IDI_EXCLAMATION)...
static xtd::drawing::icon asterisk() noexcept
Gets an xtd::drawing::icon object that contains the system asterisk icon (WIN32: IDI_ASTERISK).
static xtd::drawing::icon shield() noexcept
Gets an xtd::drawing::icon object that contains the shield icon.
static xtd::drawing::icon macos_logo() noexcept
Gets an xtd::drawing::icon object that contains the macOS logo icon.
static xtd::drawing::icon information() noexcept
Gets an xtd::drawing::icon object that contains the system information icon (WIN32: IDI_INFORMATION)...
Contains xtd::drawing::size class.
static xtd::drawing::icon error() noexcept
Gets an xtd::drawing::icon object that contains the system error icon (WIN32: IDI_ERROR).
static xtd::drawing::icon symbolic_logo() noexcept
Gets an xtd::drawing::icon object that contains the Symbolic logo icon.
static xtd::drawing::icon kde_logo() noexcept
Gets an xtd::drawing::icon object that contains the KDE logo icon.
static xtd::drawing::icon application() noexcept
Gets an xtd::drawing::icon object that contains the default application icon (WIN32: IDI_APPLICATION)...
Contains xtd::drawing::system_images factory.
Represents a Windows icon, which is a small bitmap image that is used to represent an object...
Definition: icon.h:28
static xtd::drawing::icon win_logo() noexcept
Gets an xtd::drawing::icon object that contains the Windows logo icon (WIN32: IDI_WINLOGO).
static xtd::drawing::icon gammasoft() noexcept
Gets an xtd::drawing::icon object that contains the Gammasoft logo icon.
static xtd::drawing::icon xtd_forms_logo() noexcept
Gets an xtd::drawing::icon object that contains the xtd.forms logo icon.