xtd 0.2.0
Loading...
Searching...
No Matches
system_icons.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "icon.hpp"
6#include "size.hpp"
7#include "system_images.hpp"
8#include <xtd/static>
9#include <map>
10#include <vector>
11
13namespace xtd {
15 namespace drawing {
28 class system_icons final static_ {
29 public:
31
39 static xtd::drawing::icon application(const xtd::drawing::size& size) noexcept;
40
43 static xtd::drawing::icon asterisk() noexcept;
47 static xtd::drawing::icon asterisk(const xtd::drawing::size& size) noexcept;
48
51 static xtd::drawing::icon error() noexcept;
55 static xtd::drawing::icon error(const xtd::drawing::size& size) noexcept;
56
59 static xtd::drawing::icon exclamation() noexcept;
63 static xtd::drawing::icon exclamation(const xtd::drawing::size& size) noexcept;
64
67 static xtd::drawing::icon hand() noexcept;
71 static xtd::drawing::icon hand(const xtd::drawing::size& size) noexcept;
72
75 static xtd::drawing::icon information() noexcept;
79 static xtd::drawing::icon information(const xtd::drawing::size& size) noexcept;
80
83 static xtd::drawing::icon question() noexcept;
87 static xtd::drawing::icon question(const xtd::drawing::size& size) noexcept;
88
91 static xtd::drawing::icon shield() noexcept;
95 static xtd::drawing::icon shield(const xtd::drawing::size& size) noexcept;
96
99 static xtd::drawing::icon warning() noexcept;
103 static xtd::drawing::icon warning(const xtd::drawing::size& size) noexcept;
104
107 static xtd::drawing::icon win_logo() noexcept;
111 static xtd::drawing::icon win_logo(const xtd::drawing::size& size) noexcept;
112
116 static xtd::drawing::size default_size() noexcept;
117
120 static xtd::drawing::icon kde_logo() noexcept;
124 static xtd::drawing::icon kde_logo(const xtd::drawing::size& size) noexcept;
125
128 static xtd::drawing::icon macos_logo() noexcept;
132 static xtd::drawing::icon macos_logo(const xtd::drawing::size& size) noexcept;
133
136 static xtd::drawing::icon gnome_logo() noexcept;
140 static xtd::drawing::icon gnome_logo(const xtd::drawing::size& size) noexcept;
141
144 static xtd::drawing::icon symbolic_logo() noexcept;
148 static xtd::drawing::icon symbolic_logo(const xtd::drawing::size& size) noexcept;
149
152 static xtd::drawing::icon windows_logo() noexcept;
156 static xtd::drawing::icon windows_logo(const xtd::drawing::size& size) noexcept;
157
160 static xtd::drawing::icon gammasoft() noexcept;
164 static xtd::drawing::icon gammasoft(const xtd::drawing::size& size) noexcept;
165
168 static xtd::drawing::icon xtd_logo() noexcept;
172 static xtd::drawing::icon xtd_logo(const xtd::drawing::size& size) noexcept;
173
176 static xtd::drawing::icon xtd_forms_logo() noexcept;
180 static xtd::drawing::icon xtd_forms_logo(const xtd::drawing::size& size) noexcept;
182
184
191 static xtd::drawing::icon from_name(const xtd::string& name);
197 static xtd::drawing::icon from_name(const xtd::string& name, const xtd::drawing::size& size);
203 static xtd::drawing::icon from_name(const xtd::string& theme, const xtd::string& name);
209 static xtd::drawing::icon from_name(const xtd::string& theme, const xtd::string& name, const xtd::drawing::size& size);
211 };
212 }
213}
214
Represents a Windows icon, which is a small bitmap image that is used to represent an object....
Definition icon.hpp:28
Stores an ordered pair of integers, which specify a height and width.
Definition size.hpp:31
Each property of the xtd::drawing::system_icons class is an xtd::drawing::icon object for Windows sys...
Definition system_icons.hpp:28
static xtd::drawing::icon xtd_forms_logo() noexcept
Gets an xtd::drawing::icon object that contains the xtd.forms logo icon.
static xtd::drawing::icon gammasoft() noexcept
Gets an xtd::drawing::icon object that contains the Gammasoft logo icon.
static xtd::drawing::icon information() noexcept
Gets an xtd::drawing::icon object that contains the system information icon (WIN32: IDI_INFORMATION).
static xtd::drawing::icon application() noexcept
Gets an xtd::drawing::icon object that contains the default application icon (WIN32: IDI_APPLICATION)...
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 symbolic_logo() noexcept
Gets an xtd::drawing::icon object that contains the Symbolic logo icon.
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 win_logo() noexcept
Gets an xtd::drawing::icon object that contains the Windows logo icon (WIN32: IDI_WINLOGO).
static xtd::drawing::icon windows_logo() noexcept
Gets an xtd::drawing::icon object that contains the Windows logo icon (WIN32: IDI_WINLOGO).
static xtd::drawing::icon gnome_logo() noexcept
Gets an xtd::drawing::icon object that contains the GNOME logo icon.
static xtd::drawing::icon from_name(const xtd::string &name)
Gets system icon from specified name.
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 xtd_logo() noexcept
Gets an xtd::drawing::icon object that contains the xtd 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 hand() noexcept
Gets an xtd::drawing::icon object that contains the system hand icon (WIN32: IDI_HAND).
static xtd::drawing::size default_size() noexcept
Gets the default size of the icon.
static xtd::drawing::icon macos_logo() noexcept
Gets an xtd::drawing::icon object that contains the macOS logo icon.
static xtd::drawing::icon shield() noexcept
Gets an xtd::drawing::icon object that contains the shield icon.
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 question() noexcept
Gets an xtd::drawing::icon object that contains the system question icon (WIN32: IDI_QUESTION).
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition static.hpp:37
Contains xtd::drawing::icon class.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Contains xtd::drawing::system_images factory.
Contains xtd::drawing::size class.