xtd
0.2.0
Loading...
Searching...
No Matches
xtd.forms
include
xtd
forms
menu_images.h
Go to the documentation of this file.
1
4
#pragma once
5
#include "
application.h
"
6
#include "
images.h
"
7
#include <xtd/drawing/system_images>
8
#include <xtd/static>
9
11
namespace
xtd
{
13
namespace
forms
{
22
class
menu_images
final
static_
{
23
public
:
25
29
static
xtd::drawing::image
file_new
() {
return
file_new
(
application::style_sheet
().
theme
().name(),
size
());}
33
static
xtd::drawing::image
file_new
(
const
xtd::ustring
&
theme
) {
return
file_new
(
theme
,
size
());}
37
static
xtd::drawing::image
file_new
(
const
xtd::drawing::size
&
size
) {
return
file_new
(
application::style_sheet
().
theme
().name(),
size
);}
42
static
xtd::drawing::image
file_new
(
const
xtd::ustring
&
theme
,
const
xtd::drawing::size
&
size
) {
return
from_name
(
theme
,
"document-new"
,
size
);}
43
46
static
xtd::drawing::image
file_open
() {
return
file_open
(
application::style_sheet
().
theme
().name(),
size
());}
50
static
xtd::drawing::image
file_open
(
const
xtd::ustring
&
theme
) {
return
file_open
(
theme
,
size
());}
54
static
xtd::drawing::image
file_open
(
const
xtd::drawing::size
&
size
) {
return
file_open
(
application::style_sheet
().
theme
().name(),
size
);}
59
static
xtd::drawing::image
file_open
(
const
xtd::ustring
&
theme
,
const
xtd::drawing::size
&
size
) {
return
from_name
(
theme
,
"document-open"
,
size
);}
60
63
static
xtd::drawing::image
file_save
() {
return
file_save
(
application::style_sheet
().
theme
().name(),
size
());}
67
static
xtd::drawing::image
file_save
(
const
xtd::ustring
&
theme
) {
return
file_save
(
theme
,
size
());}
71
static
xtd::drawing::image
file_save
(
const
xtd::drawing::size
&
size
) {
return
file_save
(
application::style_sheet
().
theme
().name(),
size
);}
76
static
xtd::drawing::image
file_save
(
const
xtd::ustring
&
theme
,
const
xtd::drawing::size
&
size
) {
return
from_name
(
theme
,
"document-save"
,
size
);}
77
80
static
xtd::drawing::image
file_print
() {
return
file_print
(
application::style_sheet
().
theme
().name(),
size
());}
84
static
xtd::drawing::image
file_print
(
const
xtd::ustring
&
theme
) {
return
file_print
(
theme
,
size
());}
88
static
xtd::drawing::image
file_print
(
const
xtd::drawing::size
&
size
) {
return
file_print
(
application::style_sheet
().
theme
().name(),
size
);}
93
static
xtd::drawing::image
file_print
(
const
xtd::ustring
&
theme
,
const
xtd::drawing::size
&
size
) {
return
from_name
(
theme
,
"document-print"
,
size
);}
94
97
static
xtd::drawing::image
file_print_preview
() {
return
file_print_preview
(
application::style_sheet
().
theme
().name(),
size
());}
101
static
xtd::drawing::image
file_print_preview
(
const
xtd::ustring
&
theme
) {
return
file_print_preview
(
theme
,
size
());}
105
static
xtd::drawing::image
file_print_preview
(
const
xtd::drawing::size
&
size
) {
return
file_print_preview
(
application::style_sheet
().
theme
().name(),
size
);}
110
static
xtd::drawing::image
file_print_preview
(
const
xtd::ustring
&
theme
,
const
xtd::drawing::size
&
size
) {
return
from_name
(
theme
,
"document-print-preview"
,
size
);}
111
114
static
xtd::drawing::image
file_exit
() {
return
file_exit
(
application::style_sheet
().
theme
().name(),
size
());}
118
static
xtd::drawing::image
file_exit
(
const
xtd::ustring
&
theme
) {
return
file_exit
(
theme
,
size
());}
122
static
xtd::drawing::image
file_exit
(
const
xtd::drawing::size
&
size
) {
return
file_exit
(
application::style_sheet
().
theme
().name(),
size
);}
127
static
xtd::drawing::image
file_exit
(
const
xtd::ustring
&
theme
,
const
xtd::drawing::size
&
size
) {
return
from_name
(
theme
,
"application-exit"
,
size
);}
128
131
static
xtd::drawing::image
edit_undo
() {
return
edit_undo
(
application::style_sheet
().
theme
().name(),
size
());}
135
static
xtd::drawing::image
edit_undo
(
const
xtd::ustring
&
theme
) {
return
edit_undo
(
theme
,
size
());}
139
static
xtd::drawing::image
edit_undo
(
const
xtd::drawing::size
&
size
) {
return
edit_undo
(
application::style_sheet
().
theme
().name(),
size
);}
144
static
xtd::drawing::image
edit_undo
(
const
xtd::ustring
&
theme
,
const
xtd::drawing::size
&
size
) {
return
from_name
(
theme
,
"edit-undo"
,
size
);}
145
148
static
xtd::drawing::image
edit_redo
() {
return
edit_redo
(
application::style_sheet
().
theme
().name(),
size
());}
152
static
xtd::drawing::image
edit_redo
(
const
xtd::ustring
&
theme
) {
return
edit_redo
(
theme
,
size
());}
156
static
xtd::drawing::image
edit_redo
(
const
xtd::drawing::size
&
size
) {
return
edit_redo
(
application::style_sheet
().
theme
().name(),
size
);}
161
static
xtd::drawing::image
edit_redo
(
const
xtd::ustring
&
theme
,
const
xtd::drawing::size
&
size
) {
return
from_name
(
theme
,
"edit-redo"
,
size
);}
162
165
static
xtd::drawing::image
edit_cut
() {
return
edit_cut
(
application::style_sheet
().
theme
().name(),
size
());}
169
static
xtd::drawing::image
edit_cut
(
const
xtd::ustring
&
theme
) {
return
edit_cut
(
theme
,
size
());}
173
static
xtd::drawing::image
edit_cut
(
const
xtd::drawing::size
&
size
) {
return
edit_cut
(
application::style_sheet
().
theme
().name(),
size
);}
178
static
xtd::drawing::image
edit_cut
(
const
xtd::ustring
&
theme
,
const
xtd::drawing::size
&
size
) {
return
from_name
(
theme
,
"edit-cut"
,
size
);}
179
182
static
xtd::drawing::image
edit_copy
() {
return
edit_copy
(
application::style_sheet
().
theme
().name(),
size
());}
186
static
xtd::drawing::image
edit_copy
(
const
xtd::ustring
&
theme
) {
return
edit_copy
(
theme
,
size
());}
190
static
xtd::drawing::image
edit_copy
(
const
xtd::drawing::size
&
size
) {
return
edit_copy
(
application::style_sheet
().
theme
().name(),
size
);}
195
static
xtd::drawing::image
edit_copy
(
const
xtd::ustring
&
theme
,
const
xtd::drawing::size
&
size
) {
return
from_name
(
theme
,
"edit-copy"
,
size
);}
196
199
static
xtd::drawing::image
edit_paste
() {
return
edit_paste
(
application::style_sheet
().
theme
().name(),
size
());}
203
static
xtd::drawing::image
edit_paste
(
const
xtd::ustring
&
theme
) {
return
edit_paste
(
theme
,
size
());}
207
static
xtd::drawing::image
edit_paste
(
const
xtd::drawing::size
&
size
) {
return
edit_paste
(
application::style_sheet
().
theme
().name(),
size
);}
212
static
xtd::drawing::image
edit_paste
(
const
xtd::ustring
&
theme
,
const
xtd::drawing::size
&
size
) {
return
from_name
(
theme
,
"edit-paste"
,
size
);}
213
216
static
xtd::drawing::image
view_back
() {
return
view_back
(
application::style_sheet
().
theme
().name(),
size
());}
220
static
xtd::drawing::image
view_back
(
const
xtd::ustring
&
theme
) {
return
view_back
(
theme
,
size
());}
224
static
xtd::drawing::image
view_back
(
const
xtd::drawing::size
&
size
) {
return
view_back
(
application::style_sheet
().
theme
().name(),
size
);}
229
static
xtd::drawing::image
view_back
(
const
xtd::ustring
&
theme
,
const
xtd::drawing::size
&
size
) {
return
from_name
(
theme
,
"go-previous"
,
size
);}
230
233
static
xtd::drawing::image
view_forward
() {
return
view_forward
(
application::style_sheet
().
theme
().name(),
size
());}
237
static
xtd::drawing::image
view_forward
(
const
xtd::ustring
&
theme
) {
return
view_forward
(
theme
,
size
());}
241
static
xtd::drawing::image
view_forward
(
const
xtd::drawing::size
&
size
) {
return
view_forward
(
application::style_sheet
().
theme
().name(),
size
);}
246
static
xtd::drawing::image
view_forward
(
const
xtd::ustring
&
theme
,
const
xtd::drawing::size
&
size
) {
return
from_name
(
theme
,
"go-next"
,
size
);}
247
250
static
xtd::drawing::image
help_about
() {
return
help_about
(
application::style_sheet
().
theme
().name(),
size
());}
254
static
xtd::drawing::image
help_about
(
const
xtd::ustring
&
theme
) {
return
help_about
(
theme
,
size
());}
258
static
xtd::drawing::image
help_about
(
const
xtd::drawing::size
&
size
) {
return
help_about
(
application::style_sheet
().
theme
().name(),
size
);}
263
static
xtd::drawing::image
help_about
(
const
xtd::ustring
&
theme
,
const
xtd::drawing::size
&
size
) {
return
from_name
(
theme
,
"help-about"
,
size
);}
264
267
static
xtd::drawing::size
size
() {
return
{16, 16};}
268
273
static
xtd::drawing::image
from_name
(
const
xtd::ustring
& name) {
return
from_name
(name,
size
());}
280
static
xtd::drawing::image
from_name
(
const
xtd::ustring
&
theme
,
const
xtd::ustring
& name) {
return
from_name
(
theme
, name,
size
());}
287
static
xtd::drawing::image
from_name
(
const
xtd::ustring
& name,
const
xtd::drawing::size
&
size
) {
return
from_name
(
application::style_sheet
().
theme
().name(), name,
size
);}
295
static
xtd::drawing::image
from_name
(
const
xtd::ustring
&
theme
,
const
xtd::ustring
& name,
const
xtd::drawing::size
&
size
) {
return
images::from_name
(
theme
, name,
size
);}
297
};
298
}
299
}
application.h
Contains xtd::forms::application class.
xtd::drawing::image
An abstract base class that provides functionality for the bitmap and metafile descended classes.
Definition
image.h:49
xtd::drawing::size
Stores an ordered pair of integers, which specify a height and width.
Definition
size.h:31
xtd::forms::application::style_sheet
static const xtd::forms::style_sheets::style_sheet & style_sheet() noexcept
Gets current xtd::forms::style_sheets::style_sheet style sheet.
xtd::forms::images::from_name
static xtd::drawing::image from_name(const xtd::ustring &name)
Gets image object with specified name.
Definition
images.h:1266
xtd::forms::menu_images
Provides a menu images factories for use by a menu control.
Definition
menu_images.h:22
xtd::forms::menu_images::edit_redo
static xtd::drawing::image edit_redo(const xtd::ustring &theme)
Edit undo image object with specified theme.
Definition
menu_images.h:152
xtd::forms::menu_images::edit_copy
static xtd::drawing::image edit_copy()
Edit copy image object.
Definition
menu_images.h:182
xtd::forms::menu_images::file_print_preview
static xtd::drawing::image file_print_preview(const xtd::drawing::size &size)
File print preview image object with specified size.
Definition
menu_images.h:105
xtd::forms::menu_images::edit_paste
static xtd::drawing::image edit_paste(const xtd::drawing::size &size)
Edit paste image object with specified size.
Definition
menu_images.h:207
xtd::forms::menu_images::help_about
static xtd::drawing::image help_about(const xtd::ustring &theme)
Help about image object with specified theme.
Definition
menu_images.h:254
xtd::forms::menu_images::view_back
static xtd::drawing::image view_back(const xtd::ustring &theme)
View back image object with specified theme.
Definition
menu_images.h:220
xtd::forms::menu_images::edit_paste
static xtd::drawing::image edit_paste(const xtd::ustring &theme)
Edit paste image object with specified theme.
Definition
menu_images.h:203
xtd::forms::menu_images::file_print
static xtd::drawing::image file_print()
File print image object.
Definition
menu_images.h:80
xtd::forms::menu_images::edit_undo
static xtd::drawing::image edit_undo(const xtd::drawing::size &size)
Edit undoEdit undo image object with specified size.
Definition
menu_images.h:139
xtd::forms::menu_images::edit_undo
static xtd::drawing::image edit_undo(const xtd::ustring &theme, const xtd::drawing::size &size)
Edit undo image object with specified theme and size.
Definition
menu_images.h:144
xtd::forms::menu_images::size
static xtd::drawing::size size()
Gets the height and width of the menu images.
Definition
menu_images.h:267
xtd::forms::menu_images::file_print
static xtd::drawing::image file_print(const xtd::ustring &theme)
File print image object with specified theme.
Definition
menu_images.h:84
xtd::forms::menu_images::file_print_preview
static xtd::drawing::image file_print_preview(const xtd::ustring &theme, const xtd::drawing::size &size)
File print preview image object with specified theme and size.
Definition
menu_images.h:110
xtd::forms::menu_images::edit_redo
static xtd::drawing::image edit_redo(const xtd::drawing::size &size)
Edit undo image object with specified size.
Definition
menu_images.h:156
xtd::forms::menu_images::file_print_preview
static xtd::drawing::image file_print_preview(const xtd::ustring &theme)
File print preview image object with specified theme.
Definition
menu_images.h:101
xtd::forms::menu_images::file_print_preview
static xtd::drawing::image file_print_preview()
File print preview image object.
Definition
menu_images.h:97
xtd::forms::menu_images::edit_copy
static xtd::drawing::image edit_copy(const xtd::drawing::size &size)
Edit copy image object with specified size.
Definition
menu_images.h:190
xtd::forms::menu_images::file_save
static xtd::drawing::image file_save(const xtd::ustring &theme)
File save image object with specified theme.
Definition
menu_images.h:67
xtd::forms::menu_images::file_save
static xtd::drawing::image file_save()
File save image object.
Definition
menu_images.h:63
xtd::forms::menu_images::file_exit
static xtd::drawing::image file_exit()
File exit image object.
Definition
menu_images.h:114
xtd::forms::menu_images::view_back
static xtd::drawing::image view_back(const xtd::ustring &theme, const xtd::drawing::size &size)
View back image object with specified theme and size.
Definition
menu_images.h:229
xtd::forms::menu_images::file_exit
static xtd::drawing::image file_exit(const xtd::drawing::size &size)
File exit image object with specified size.
Definition
menu_images.h:122
xtd::forms::menu_images::file_new
static xtd::drawing::image file_new()
File new image object.
Definition
menu_images.h:29
xtd::forms::menu_images::file_new
static xtd::drawing::image file_new(const xtd::ustring &theme)
File new image object with specified theme.
Definition
menu_images.h:33
xtd::forms::menu_images::file_open
static xtd::drawing::image file_open(const xtd::ustring &theme, const xtd::drawing::size &size)
File open image object with specified theme and size.
Definition
menu_images.h:59
xtd::forms::menu_images::file_open
static xtd::drawing::image file_open()
File open image object.
Definition
menu_images.h:46
xtd::forms::menu_images::file_print
static xtd::drawing::image file_print(const xtd::ustring &theme, const xtd::drawing::size &size)
File print image object with specified theme and size.
Definition
menu_images.h:93
xtd::forms::menu_images::help_about
static xtd::drawing::image help_about(const xtd::drawing::size &size)
Help about image object with specified size.
Definition
menu_images.h:258
xtd::forms::menu_images::view_forward
static xtd::drawing::image view_forward(const xtd::drawing::size &size)
View forward image object with specified size.
Definition
menu_images.h:241
xtd::forms::menu_images::help_about
static xtd::drawing::image help_about()
Help about image object.
Definition
menu_images.h:250
xtd::forms::menu_images::from_name
static xtd::drawing::image from_name(const xtd::ustring &name, const xtd::drawing::size &size)
Gets image object with specified name and size.
Definition
menu_images.h:287
xtd::forms::menu_images::edit_cut
static xtd::drawing::image edit_cut()
Edit cut image object.
Definition
menu_images.h:165
xtd::forms::menu_images::file_exit
static xtd::drawing::image file_exit(const xtd::ustring &theme, const xtd::drawing::size &size)
File exit image object with specified theme and size.
Definition
menu_images.h:127
xtd::forms::menu_images::edit_redo
static xtd::drawing::image edit_redo()
Edit undo image object.
Definition
menu_images.h:148
xtd::forms::menu_images::file_print
static xtd::drawing::image file_print(const xtd::drawing::size &size)
File print image object with specified size.
Definition
menu_images.h:88
xtd::forms::menu_images::edit_paste
static xtd::drawing::image edit_paste()
Edit paste image object.
Definition
menu_images.h:199
xtd::forms::menu_images::edit_paste
static xtd::drawing::image edit_paste(const xtd::ustring &theme, const xtd::drawing::size &size)
Edit paste image object with specified theme and size.
Definition
menu_images.h:212
xtd::forms::menu_images::view_forward
static xtd::drawing::image view_forward()
View forward image object.
Definition
menu_images.h:233
xtd::forms::menu_images::file_new
static xtd::drawing::image file_new(const xtd::ustring &theme, const xtd::drawing::size &size)
File new image object with specified theme and size.
Definition
menu_images.h:42
xtd::forms::menu_images::edit_copy
static xtd::drawing::image edit_copy(const xtd::ustring &theme)
Edit copy image object with specified theme.
Definition
menu_images.h:186
xtd::forms::menu_images::help_about
static xtd::drawing::image help_about(const xtd::ustring &theme, const xtd::drawing::size &size)
Help about image object with specified theme and size.
Definition
menu_images.h:263
xtd::forms::menu_images::file_new
static xtd::drawing::image file_new(const xtd::drawing::size &size)
File new image object with specified size.
Definition
menu_images.h:37
xtd::forms::menu_images::from_name
static xtd::drawing::image from_name(const xtd::ustring &theme, const xtd::ustring &name)
Gets image object with specified theme and name.
Definition
menu_images.h:280
xtd::forms::menu_images::view_forward
static xtd::drawing::image view_forward(const xtd::ustring &theme)
View forward image object with specified theme.
Definition
menu_images.h:237
xtd::forms::menu_images::file_exit
static xtd::drawing::image file_exit(const xtd::ustring &theme)
File exit image object with specified theme.
Definition
menu_images.h:118
xtd::forms::menu_images::edit_undo
static xtd::drawing::image edit_undo(const xtd::ustring &theme)
Edit undo image object with specified theme.
Definition
menu_images.h:135
xtd::forms::menu_images::edit_cut
static xtd::drawing::image edit_cut(const xtd::drawing::size &size)
Edit cut image object with specified size.
Definition
menu_images.h:173
xtd::forms::menu_images::file_open
static xtd::drawing::image file_open(const xtd::drawing::size &size)
File open image object with specified size.
Definition
menu_images.h:54
xtd::forms::menu_images::file_open
static xtd::drawing::image file_open(const xtd::ustring &theme)
File open image object with specified theme.
Definition
menu_images.h:50
xtd::forms::menu_images::edit_cut
static xtd::drawing::image edit_cut(const xtd::ustring &theme)
Edit cut image object with specified theme.
Definition
menu_images.h:169
xtd::forms::menu_images::from_name
static xtd::drawing::image from_name(const xtd::ustring &theme, const xtd::ustring &name, const xtd::drawing::size &size)
Gets image object with specified theme, name and size.
Definition
menu_images.h:295
xtd::forms::menu_images::view_back
static xtd::drawing::image view_back(const xtd::drawing::size &size)
View back image object with specified size.
Definition
menu_images.h:224
xtd::forms::menu_images::from_name
static xtd::drawing::image from_name(const xtd::ustring &name)
Gets image object with specified name.
Definition
menu_images.h:273
xtd::forms::menu_images::view_back
static xtd::drawing::image view_back()
View back image object.
Definition
menu_images.h:216
xtd::forms::menu_images::edit_copy
static xtd::drawing::image edit_copy(const xtd::ustring &theme, const xtd::drawing::size &size)
Edit copy image object with specified theme and size.
Definition
menu_images.h:195
xtd::forms::menu_images::view_forward
static xtd::drawing::image view_forward(const xtd::ustring &theme, const xtd::drawing::size &size)
View forward image object with specified theme and size.
Definition
menu_images.h:246
xtd::forms::menu_images::edit_cut
static xtd::drawing::image edit_cut(const xtd::ustring &theme, const xtd::drawing::size &size)
Edit cut image object with specified theme and size.
Definition
menu_images.h:178
xtd::forms::menu_images::edit_undo
static xtd::drawing::image edit_undo()
Edit undo image object.
Definition
menu_images.h:131
xtd::forms::menu_images::file_save
static xtd::drawing::image file_save(const xtd::drawing::size &size)
File save image object with specified size.
Definition
menu_images.h:71
xtd::forms::menu_images::file_save
static xtd::drawing::image file_save(const xtd::ustring &theme, const xtd::drawing::size &size)
File save image object with specified theme and size.
Definition
menu_images.h:76
xtd::forms::menu_images::edit_redo
static xtd::drawing::image edit_redo(const xtd::ustring &theme, const xtd::drawing::size &size)
Edit undo image object with specified theme and size.
Definition
menu_images.h:161
xtd::ustring
Represents text as a sequence of UTF-8 code units.
Definition
ustring.h:47
static_
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition
static.h:37
xtd::size
size_t size
Represents a size of any object in bytes.
Definition
types.h:197
xtd::forms::border_style::theme
@ theme
Defines a 3D themed border. The effect depends on the border color value.
images.h
Contains xtd::forms::images factory.
xtd::forms
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition
xtd_about_box.h:12
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
xtd_about_box.h:10
Generated on Wed Apr 10 2024 00:07:12 for xtd by
Gammasoft
. All rights reserved.