xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.forms
include
xtd
forms
menu_images.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include "
application.hpp
"
6
#include "
images.hpp
"
7
#include <xtd/drawing/system_images>
8
#include <xtd/static>
9
11
namespace
xtd
{
13
namespace
forms
{
24
class
menu_images
final
static_
{
25
public
:
27
31
static
xtd::drawing::image
file_new
() {
return
file_new
(
application::style_sheet
().
theme
().name(),
size
());}
35
static
xtd::drawing::image
file_new
(
const
xtd::string
&
theme
) {
return
file_new
(
theme
,
size
());}
39
static
xtd::drawing::image
file_new
(
const
xtd::drawing::size
&
size
) {
return
file_new
(
application::style_sheet
().
theme
().name(),
size
);}
44
static
xtd::drawing::image
file_new
(
const
xtd::string
&
theme
,
const
xtd::drawing::size
&
size
) {
return
from_name
(
theme
,
"document-new"
,
size
);}
45
48
static
xtd::drawing::image
file_open
() {
return
file_open
(
application::style_sheet
().
theme
().name(),
size
());}
52
static
xtd::drawing::image
file_open
(
const
xtd::string
&
theme
) {
return
file_open
(
theme
,
size
());}
56
static
xtd::drawing::image
file_open
(
const
xtd::drawing::size
&
size
) {
return
file_open
(
application::style_sheet
().
theme
().name(),
size
);}
61
static
xtd::drawing::image
file_open
(
const
xtd::string
&
theme
,
const
xtd::drawing::size
&
size
) {
return
from_name
(
theme
,
"document-open"
,
size
);}
62
65
static
xtd::drawing::image
file_save
() {
return
file_save
(
application::style_sheet
().
theme
().name(),
size
());}
69
static
xtd::drawing::image
file_save
(
const
xtd::string
&
theme
) {
return
file_save
(
theme
,
size
());}
73
static
xtd::drawing::image
file_save
(
const
xtd::drawing::size
&
size
) {
return
file_save
(
application::style_sheet
().
theme
().name(),
size
);}
78
static
xtd::drawing::image
file_save
(
const
xtd::string
&
theme
,
const
xtd::drawing::size
&
size
) {
return
from_name
(
theme
,
"document-save"
,
size
);}
79
82
static
xtd::drawing::image
file_print
() {
return
file_print
(
application::style_sheet
().
theme
().name(),
size
());}
86
static
xtd::drawing::image
file_print
(
const
xtd::string
&
theme
) {
return
file_print
(
theme
,
size
());}
90
static
xtd::drawing::image
file_print
(
const
xtd::drawing::size
&
size
) {
return
file_print
(
application::style_sheet
().
theme
().name(),
size
);}
95
static
xtd::drawing::image
file_print
(
const
xtd::string
&
theme
,
const
xtd::drawing::size
&
size
) {
return
from_name
(
theme
,
"document-print"
,
size
);}
96
99
static
xtd::drawing::image
file_print_preview
() {
return
file_print_preview
(
application::style_sheet
().
theme
().name(),
size
());}
103
static
xtd::drawing::image
file_print_preview
(
const
xtd::string
&
theme
) {
return
file_print_preview
(
theme
,
size
());}
107
static
xtd::drawing::image
file_print_preview
(
const
xtd::drawing::size
&
size
) {
return
file_print_preview
(
application::style_sheet
().
theme
().name(),
size
);}
112
static
xtd::drawing::image
file_print_preview
(
const
xtd::string
&
theme
,
const
xtd::drawing::size
&
size
) {
return
from_name
(
theme
,
"document-print-preview"
,
size
);}
113
116
static
xtd::drawing::image
file_exit
() {
return
file_exit
(
application::style_sheet
().
theme
().name(),
size
());}
120
static
xtd::drawing::image
file_exit
(
const
xtd::string
&
theme
) {
return
file_exit
(
theme
,
size
());}
124
static
xtd::drawing::image
file_exit
(
const
xtd::drawing::size
&
size
) {
return
file_exit
(
application::style_sheet
().
theme
().name(),
size
);}
129
static
xtd::drawing::image
file_exit
(
const
xtd::string
&
theme
,
const
xtd::drawing::size
&
size
) {
return
from_name
(
theme
,
"application-exit"
,
size
);}
130
133
static
xtd::drawing::image
edit_undo
() {
return
edit_undo
(
application::style_sheet
().
theme
().name(),
size
());}
137
static
xtd::drawing::image
edit_undo
(
const
xtd::string
&
theme
) {
return
edit_undo
(
theme
,
size
());}
141
static
xtd::drawing::image
edit_undo
(
const
xtd::drawing::size
&
size
) {
return
edit_undo
(
application::style_sheet
().
theme
().name(),
size
);}
146
static
xtd::drawing::image
edit_undo
(
const
xtd::string
&
theme
,
const
xtd::drawing::size
&
size
) {
return
from_name
(
theme
,
"edit-undo"
,
size
);}
147
150
static
xtd::drawing::image
edit_redo
() {
return
edit_redo
(
application::style_sheet
().
theme
().name(),
size
());}
154
static
xtd::drawing::image
edit_redo
(
const
xtd::string
&
theme
) {
return
edit_redo
(
theme
,
size
());}
158
static
xtd::drawing::image
edit_redo
(
const
xtd::drawing::size
&
size
) {
return
edit_redo
(
application::style_sheet
().
theme
().name(),
size
);}
163
static
xtd::drawing::image
edit_redo
(
const
xtd::string
&
theme
,
const
xtd::drawing::size
&
size
) {
return
from_name
(
theme
,
"edit-redo"
,
size
);}
164
167
static
xtd::drawing::image
edit_cut
() {
return
edit_cut
(
application::style_sheet
().
theme
().name(),
size
());}
171
static
xtd::drawing::image
edit_cut
(
const
xtd::string
&
theme
) {
return
edit_cut
(
theme
,
size
());}
175
static
xtd::drawing::image
edit_cut
(
const
xtd::drawing::size
&
size
) {
return
edit_cut
(
application::style_sheet
().
theme
().name(),
size
);}
180
static
xtd::drawing::image
edit_cut
(
const
xtd::string
&
theme
,
const
xtd::drawing::size
&
size
) {
return
from_name
(
theme
,
"edit-cut"
,
size
);}
181
184
static
xtd::drawing::image
edit_copy
() {
return
edit_copy
(
application::style_sheet
().
theme
().name(),
size
());}
188
static
xtd::drawing::image
edit_copy
(
const
xtd::string
&
theme
) {
return
edit_copy
(
theme
,
size
());}
192
static
xtd::drawing::image
edit_copy
(
const
xtd::drawing::size
&
size
) {
return
edit_copy
(
application::style_sheet
().
theme
().name(),
size
);}
197
static
xtd::drawing::image
edit_copy
(
const
xtd::string
&
theme
,
const
xtd::drawing::size
&
size
) {
return
from_name
(
theme
,
"edit-copy"
,
size
);}
198
201
static
xtd::drawing::image
edit_paste
() {
return
edit_paste
(
application::style_sheet
().
theme
().name(),
size
());}
205
static
xtd::drawing::image
edit_paste
(
const
xtd::string
&
theme
) {
return
edit_paste
(
theme
,
size
());}
209
static
xtd::drawing::image
edit_paste
(
const
xtd::drawing::size
&
size
) {
return
edit_paste
(
application::style_sheet
().
theme
().name(),
size
);}
214
static
xtd::drawing::image
edit_paste
(
const
xtd::string
&
theme
,
const
xtd::drawing::size
&
size
) {
return
from_name
(
theme
,
"edit-paste"
,
size
);}
215
218
static
xtd::drawing::image
view_back
() {
return
view_back
(
application::style_sheet
().
theme
().name(),
size
());}
222
static
xtd::drawing::image
view_back
(
const
xtd::string
&
theme
) {
return
view_back
(
theme
,
size
());}
226
static
xtd::drawing::image
view_back
(
const
xtd::drawing::size
&
size
) {
return
view_back
(
application::style_sheet
().
theme
().name(),
size
);}
231
static
xtd::drawing::image
view_back
(
const
xtd::string
&
theme
,
const
xtd::drawing::size
&
size
) {
return
from_name
(
theme
,
"go-previous"
,
size
);}
232
235
static
xtd::drawing::image
view_forward
() {
return
view_forward
(
application::style_sheet
().
theme
().name(),
size
());}
239
static
xtd::drawing::image
view_forward
(
const
xtd::string
&
theme
) {
return
view_forward
(
theme
,
size
());}
243
static
xtd::drawing::image
view_forward
(
const
xtd::drawing::size
&
size
) {
return
view_forward
(
application::style_sheet
().
theme
().name(),
size
);}
248
static
xtd::drawing::image
view_forward
(
const
xtd::string
&
theme
,
const
xtd::drawing::size
&
size
) {
return
from_name
(
theme
,
"go-next"
,
size
);}
249
252
static
xtd::drawing::image
help_about
() {
return
help_about
(
application::style_sheet
().
theme
().name(),
size
());}
256
static
xtd::drawing::image
help_about
(
const
xtd::string
&
theme
) {
return
help_about
(
theme
,
size
());}
260
static
xtd::drawing::image
help_about
(
const
xtd::drawing::size
&
size
) {
return
help_about
(
application::style_sheet
().
theme
().name(),
size
);}
265
static
xtd::drawing::image
help_about
(
const
xtd::string
&
theme
,
const
xtd::drawing::size
&
size
) {
return
from_name
(
theme
,
"help-about"
,
size
);}
266
269
static
xtd::drawing::size
size
() {
return
{16, 16};}
270
275
static
xtd::drawing::image
from_name
(
const
xtd::string
& name) {
return
from_name
(name,
size
());}
282
static
xtd::drawing::image
from_name
(
const
xtd::string
&
theme
,
const
xtd::string
& name) {
return
from_name
(
theme
, name,
size
());}
289
static
xtd::drawing::image
from_name
(
const
xtd::string
& name,
const
xtd::drawing::size
&
size
) {
return
from_name
(
application::style_sheet
().
theme
().name(), name,
size
);}
297
static
xtd::drawing::image
from_name
(
const
xtd::string
&
theme
,
const
xtd::string
& name,
const
xtd::drawing::size
&
size
) {
return
images::from_name
(
theme
, name,
size
);}
299
};
300
}
301
}
application.hpp
Contains xtd::forms::application class.
xtd::drawing::image
An abstract base class that provides functionality for the bitmap and metafile descended classes.
Definition
image.hpp:49
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::string &name)
Gets image object with specified name.
Definition
images.hpp:1268
xtd::forms::menu_images
Provides a menu images factories for use by a menu control.
Definition
menu_images.hpp:24
xtd::forms::menu_images::edit_copy
static xtd::drawing::image edit_copy()
Edit copy image object.
Definition
menu_images.hpp:184
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.hpp:107
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.hpp:209
xtd::forms::menu_images::edit_cut
static xtd::drawing::image edit_cut(const xtd::string &theme)
Edit cut image object with specified theme.
Definition
menu_images.hpp:171
xtd::forms::menu_images::edit_cut
static xtd::drawing::image edit_cut(const xtd::string &theme, const xtd::drawing::size &size)
Edit cut image object with specified theme and size.
Definition
menu_images.hpp:180
xtd::forms::menu_images::file_print
static xtd::drawing::image file_print()
File print image object.
Definition
menu_images.hpp:82
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.hpp:141
xtd::forms::menu_images::size
static xtd::drawing::size size()
Gets the height and width of the menu images.
Definition
menu_images.hpp:269
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.hpp:158
xtd::forms::menu_images::view_forward
static xtd::drawing::image view_forward(const xtd::string &theme, const xtd::drawing::size &size)
View forward image object with specified theme and size.
Definition
menu_images.hpp:248
xtd::forms::menu_images::edit_copy
static xtd::drawing::image edit_copy(const xtd::string &theme, const xtd::drawing::size &size)
Edit copy image object with specified theme and size.
Definition
menu_images.hpp:197
xtd::forms::menu_images::file_new
static xtd::drawing::image file_new(const xtd::string &theme, const xtd::drawing::size &size)
File new image object with specified theme and size.
Definition
menu_images.hpp:44
xtd::forms::menu_images::file_print_preview
static xtd::drawing::image file_print_preview()
File print preview image object.
Definition
menu_images.hpp:99
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.hpp:192
xtd::forms::menu_images::edit_redo
static xtd::drawing::image edit_redo(const xtd::string &theme)
Edit undo image object with specified theme.
Definition
menu_images.hpp:154
xtd::forms::menu_images::file_exit
static xtd::drawing::image file_exit(const xtd::string &theme, const xtd::drawing::size &size)
File exit image object with specified theme and size.
Definition
menu_images.hpp:129
xtd::forms::menu_images::view_back
static xtd::drawing::image view_back(const xtd::string &theme, const xtd::drawing::size &size)
View back image object with specified theme and size.
Definition
menu_images.hpp:231
xtd::forms::menu_images::file_save
static xtd::drawing::image file_save()
File save image object.
Definition
menu_images.hpp:65
xtd::forms::menu_images::file_exit
static xtd::drawing::image file_exit()
File exit image object.
Definition
menu_images.hpp:116
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.hpp:124
xtd::forms::menu_images::edit_paste
static xtd::drawing::image edit_paste(const xtd::string &theme, const xtd::drawing::size &size)
Edit paste image object with specified theme and size.
Definition
menu_images.hpp:214
xtd::forms::menu_images::from_name
static xtd::drawing::image from_name(const xtd::string &name, const xtd::drawing::size &size)
Gets image object with specified name and size.
Definition
menu_images.hpp:289
xtd::forms::menu_images::file_new
static xtd::drawing::image file_new()
File new image object.
Definition
menu_images.hpp:31
xtd::forms::menu_images::edit_undo
static xtd::drawing::image edit_undo(const xtd::string &theme, const xtd::drawing::size &size)
Edit undo image object with specified theme and size.
Definition
menu_images.hpp:146
xtd::forms::menu_images::file_save
static xtd::drawing::image file_save(const xtd::string &theme)
File save image object with specified theme.
Definition
menu_images.hpp:69
xtd::forms::menu_images::view_forward
static xtd::drawing::image view_forward(const xtd::string &theme)
View forward image object with specified theme.
Definition
menu_images.hpp:239
xtd::forms::menu_images::file_open
static xtd::drawing::image file_open()
File open image object.
Definition
menu_images.hpp:48
xtd::forms::menu_images::edit_redo
static xtd::drawing::image edit_redo(const xtd::string &theme, const xtd::drawing::size &size)
Edit undo image object with specified theme and size.
Definition
menu_images.hpp:163
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.hpp:260
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.hpp:243
xtd::forms::menu_images::help_about
static xtd::drawing::image help_about()
Help about image object.
Definition
menu_images.hpp:252
xtd::forms::menu_images::file_open
static xtd::drawing::image file_open(const xtd::string &theme)
File open image object with specified theme.
Definition
menu_images.hpp:52
xtd::forms::menu_images::file_print_preview
static xtd::drawing::image file_print_preview(const xtd::string &theme)
File print preview image object with specified theme.
Definition
menu_images.hpp:103
xtd::forms::menu_images::edit_cut
static xtd::drawing::image edit_cut()
Edit cut image object.
Definition
menu_images.hpp:167
xtd::forms::menu_images::help_about
static xtd::drawing::image help_about(const xtd::string &theme)
Help about image object with specified theme.
Definition
menu_images.hpp:256
xtd::forms::menu_images::edit_paste
static xtd::drawing::image edit_paste(const xtd::string &theme)
Edit paste image object with specified theme.
Definition
menu_images.hpp:205
xtd::forms::menu_images::from_name
static xtd::drawing::image from_name(const xtd::string &name)
Gets image object with specified name.
Definition
menu_images.hpp:275
xtd::forms::menu_images::edit_redo
static xtd::drawing::image edit_redo()
Edit undo image object.
Definition
menu_images.hpp:150
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.hpp:90
xtd::forms::menu_images::file_new
static xtd::drawing::image file_new(const xtd::string &theme)
File new image object with specified theme.
Definition
menu_images.hpp:35
xtd::forms::menu_images::edit_copy
static xtd::drawing::image edit_copy(const xtd::string &theme)
Edit copy image object with specified theme.
Definition
menu_images.hpp:188
xtd::forms::menu_images::edit_paste
static xtd::drawing::image edit_paste()
Edit paste image object.
Definition
menu_images.hpp:201
xtd::forms::menu_images::view_forward
static xtd::drawing::image view_forward()
View forward image object.
Definition
menu_images.hpp:235
xtd::forms::menu_images::help_about
static xtd::drawing::image help_about(const xtd::string &theme, const xtd::drawing::size &size)
Help about image object with specified theme and size.
Definition
menu_images.hpp:265
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.hpp:39
xtd::forms::menu_images::file_print
static xtd::drawing::image file_print(const xtd::string &theme)
File print image object with specified theme.
Definition
menu_images.hpp:86
xtd::forms::menu_images::from_name
static xtd::drawing::image from_name(const xtd::string &theme, const xtd::string &name)
Gets image object with specified theme and name.
Definition
menu_images.hpp:282
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.hpp:175
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.hpp:56
xtd::forms::menu_images::view_back
static xtd::drawing::image view_back(const xtd::string &theme)
View back image object with specified theme.
Definition
menu_images.hpp:222
xtd::forms::menu_images::file_print
static xtd::drawing::image file_print(const xtd::string &theme, const xtd::drawing::size &size)
File print image object with specified theme and size.
Definition
menu_images.hpp:95
xtd::forms::menu_images::file_exit
static xtd::drawing::image file_exit(const xtd::string &theme)
File exit image object with specified theme.
Definition
menu_images.hpp:120
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.hpp:226
xtd::forms::menu_images::view_back
static xtd::drawing::image view_back()
View back image object.
Definition
menu_images.hpp:218
xtd::forms::menu_images::from_name
static xtd::drawing::image from_name(const xtd::string &theme, const xtd::string &name, const xtd::drawing::size &size)
Gets image object with specified theme, name and size.
Definition
menu_images.hpp:297
xtd::forms::menu_images::file_open
static xtd::drawing::image file_open(const xtd::string &theme, const xtd::drawing::size &size)
File open image object with specified theme and size.
Definition
menu_images.hpp:61
xtd::forms::menu_images::edit_undo
static xtd::drawing::image edit_undo()
Edit undo image object.
Definition
menu_images.hpp:133
xtd::forms::menu_images::file_print_preview
static xtd::drawing::image file_print_preview(const xtd::string &theme, const xtd::drawing::size &size)
File print preview image object with specified theme and size.
Definition
menu_images.hpp:112
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.hpp:73
xtd::forms::menu_images::edit_undo
static xtd::drawing::image edit_undo(const xtd::string &theme)
Edit undo image object with specified theme.
Definition
menu_images.hpp:137
xtd::forms::menu_images::file_save
static xtd::drawing::image file_save(const xtd::string &theme, const xtd::drawing::size &size)
File save image object with specified theme and size.
Definition
menu_images.hpp:78
static_
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition
static.hpp:38
xtd::string
xtd::basic_string< char > string
Represents text as a sequence of UTF-8 code units.
Definition
__string_definitions.hpp:43
xtd::forms::border_style::theme
@ theme
Defines a 3D themed border. The effect depends on the border color value.
Definition
border_style.hpp:38
images.hpp
Contains xtd::forms::images factory.
xtd::forms
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition
texts.hpp:219
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
xtd::drawing::size
Stores an ordered pair of integers, which specify a height and width.
Definition
size.hpp:32
Generated on
for xtd by
Gammasoft
. All rights reserved.