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