xtd 1.0.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
35 [[nodiscard]] static auto application() noexcept -> xtd::drawing::icon;
39 [[nodiscard]] static auto application(const xtd::drawing::size& size) noexcept -> xtd::drawing::icon;
40
43 [[nodiscard]] static auto asterisk() noexcept -> xtd::drawing::icon;
47 [[nodiscard]] static auto asterisk(const xtd::drawing::size& size) noexcept -> xtd::drawing::icon;
48
51 [[nodiscard]] static auto error() noexcept -> xtd::drawing::icon;
55 [[nodiscard]] static auto error(const xtd::drawing::size& size) noexcept -> xtd::drawing::icon;
56
59 [[nodiscard]] static auto exclamation() noexcept -> xtd::drawing::icon;
63 [[nodiscard]] static auto exclamation(const xtd::drawing::size& size) noexcept -> xtd::drawing::icon;
64
67 [[nodiscard]] static auto hand() noexcept -> xtd::drawing::icon;
71 [[nodiscard]] static auto hand(const xtd::drawing::size& size) noexcept -> xtd::drawing::icon;
72
75 [[nodiscard]] static auto information() noexcept -> xtd::drawing::icon;
79 [[nodiscard]] static auto information(const xtd::drawing::size& size) noexcept -> xtd::drawing::icon;
80
83 [[nodiscard]] static auto question() noexcept -> xtd::drawing::icon;
87 [[nodiscard]] static auto question(const xtd::drawing::size& size) noexcept -> xtd::drawing::icon;
88
91 [[nodiscard]] static auto shield() noexcept -> xtd::drawing::icon;
95 [[nodiscard]] static auto shield(const xtd::drawing::size& size) noexcept -> xtd::drawing::icon;
96
99 [[nodiscard]] static auto warning() noexcept -> xtd::drawing::icon;
103 [[nodiscard]] static auto warning(const xtd::drawing::size& size) noexcept -> xtd::drawing::icon;
104
107 [[nodiscard]] static auto win_logo() noexcept -> xtd::drawing::icon;
111 [[nodiscard]] static auto win_logo(const xtd::drawing::size& size) noexcept -> xtd::drawing::icon;
112
116 [[nodiscard]] static auto default_size() noexcept -> xtd::drawing::size;
117
120 [[nodiscard]] static auto kde_logo() noexcept -> xtd::drawing::icon;
124 [[nodiscard]] static auto kde_logo(const xtd::drawing::size& size) noexcept -> xtd::drawing::icon;
125
128 [[nodiscard]] static auto macos_logo() noexcept -> xtd::drawing::icon;
132 [[nodiscard]] static auto macos_logo(const xtd::drawing::size& size) noexcept -> xtd::drawing::icon;
133
136 [[nodiscard]] static auto gnome_logo() noexcept -> xtd::drawing::icon;
140 [[nodiscard]] static auto gnome_logo(const xtd::drawing::size& size) noexcept -> xtd::drawing::icon;
141
144 [[nodiscard]] static auto symbolic_logo() noexcept -> xtd::drawing::icon;
148 [[nodiscard]] static auto symbolic_logo(const xtd::drawing::size& size) noexcept -> xtd::drawing::icon;
149
152 [[nodiscard]] static auto windows_logo() noexcept -> xtd::drawing::icon;
156 [[nodiscard]] static auto windows_logo(const xtd::drawing::size& size) noexcept -> xtd::drawing::icon;
157
160 [[nodiscard]] static auto gammasoft() noexcept -> xtd::drawing::icon;
164 [[nodiscard]] static auto gammasoft(const xtd::drawing::size& size) noexcept -> xtd::drawing::icon;
165
168 [[nodiscard]] static auto xtd_logo() noexcept -> xtd::drawing::icon;
172 [[nodiscard]] static auto xtd_logo(const xtd::drawing::size& size) noexcept -> xtd::drawing::icon;
173
176 [[nodiscard]] static auto xtd_forms_logo() noexcept -> xtd::drawing::icon;
180 [[nodiscard]] static auto xtd_forms_logo(const xtd::drawing::size& size) noexcept -> xtd::drawing::icon;
182
184
191 [[nodiscard]] static auto from_name(const xtd::string& name) -> xtd::drawing::icon;
197 [[nodiscard]] static auto from_name(const xtd::string& name, const xtd::drawing::size& size) -> xtd::drawing::icon;
203 [[nodiscard]] static auto from_name(const xtd::string& theme, const xtd::string& name) -> xtd::drawing::icon;
209 [[nodiscard]] static auto from_name(const xtd::string& theme, const xtd::string& name, const xtd::drawing::size& size) -> xtd::drawing::icon;
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
Each property of the xtd::drawing::system_icons class is an xtd::drawing::icon object for Windows sys...
Definition system_icons.hpp:28
static auto windows_logo() noexcept -> xtd::drawing::icon
Gets an xtd::drawing::icon object that contains the Windows logo icon (WIN32: IDI_WINLOGO).
static auto default_size() noexcept -> xtd::drawing::size
Gets the default size of the icon.
static auto application() noexcept -> xtd::drawing::icon
Gets an xtd::drawing::icon object that contains the default application icon (WIN32: IDI_APPLICATION)...
static auto asterisk() noexcept -> xtd::drawing::icon
Gets an xtd::drawing::icon object that contains the system asterisk icon (WIN32: IDI_ASTERISK).
static auto question() noexcept -> xtd::drawing::icon
Gets an xtd::drawing::icon object that contains the system question icon (WIN32: IDI_QUESTION).
static auto symbolic_logo() noexcept -> xtd::drawing::icon
Gets an xtd::drawing::icon object that contains the Symbolic logo icon.
static auto from_name(const xtd::string &name) -> xtd::drawing::icon
Gets system icon from specified name.
static auto xtd_forms_logo() noexcept -> xtd::drawing::icon
Gets an xtd::drawing::icon object that contains the xtd.forms logo icon.
static auto warning() noexcept -> xtd::drawing::icon
Gets an xtd::drawing::icon object that contains the system warning icon (WIN32: IDI_WARNING).
static auto win_logo() noexcept -> xtd::drawing::icon
Gets an xtd::drawing::icon object that contains the Windows logo icon (WIN32: IDI_WINLOGO).
static auto macos_logo() noexcept -> xtd::drawing::icon
Gets an xtd::drawing::icon object that contains the macOS logo icon.
static auto gnome_logo() noexcept -> xtd::drawing::icon
Gets an xtd::drawing::icon object that contains the GNOME logo icon.
static auto information() noexcept -> xtd::drawing::icon
Gets an xtd::drawing::icon object that contains the system information icon (WIN32: IDI_INFORMATION).
static auto xtd_logo() noexcept -> xtd::drawing::icon
Gets an xtd::drawing::icon object that contains the xtd logo icon.
static auto hand() noexcept -> xtd::drawing::icon
Gets an xtd::drawing::icon object that contains the system hand icon (WIN32: IDI_HAND).
static auto exclamation() noexcept -> xtd::drawing::icon
Gets an xtd::drawing::icon object that contains the system exclamation icon (WIN32: IDI_EXCLAMATION).
static auto gammasoft() noexcept -> xtd::drawing::icon
Gets an xtd::drawing::icon object that contains the Gammasoft logo icon.
static auto kde_logo() noexcept -> xtd::drawing::icon
Gets an xtd::drawing::icon object that contains the KDE logo icon.
static auto shield() noexcept -> xtd::drawing::icon
Gets an xtd::drawing::icon object that contains the shield icon.
static auto error() noexcept -> xtd::drawing::icon
Gets an xtd::drawing::icon object that contains the system error icon (WIN32: IDI_ERROR).
Contains xtd::drawing::system_images factory.
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition static.hpp:38
Contains xtd::drawing::icon class.
The xtd::drawing namespace provides access to GDI+ basic graphics functionality. More advanced functi...
Definition actions_system_images.hpp:10
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Contains xtd::drawing::size struct.
Stores an ordered pair of integers, which specify a height and width.
Definition size.hpp:32