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 {
24 class menu_images final static_ {
25 public:
27
44 static xtd::drawing::image file_new(const xtd::string& theme, const xtd::drawing::size& size) {return from_name(theme, "document-new", size);}
45
61 static xtd::drawing::image file_open(const xtd::string& theme, const xtd::drawing::size& size) {return from_name(theme, "document-open", size);}
62
78 static xtd::drawing::image file_save(const xtd::string& theme, const xtd::drawing::size& size) {return from_name(theme, "document-save", size);}
79
95 static xtd::drawing::image file_print(const xtd::string& theme, const xtd::drawing::size& size) {return from_name(theme, "document-print", size);}
96
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
129 static xtd::drawing::image file_exit(const xtd::string& theme, const xtd::drawing::size& size) {return from_name(theme, "application-exit", size);}
130
147
164
181
198
215
231 static xtd::drawing::image view_back(const xtd::string& theme, const xtd::drawing::size& size) {return from_name(theme, "go-previous", size);}
232
249
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());}
299 };
300 }
301}
Contains xtd::forms::application class.
Represents text as a sequence of character units.
Definition basic_string.h:79
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::string &name)
Gets image object with specified name.
Definition images.h:1268
Provides a menu images factories for use by a menu control.
Definition menu_images.h:24
static xtd::drawing::image edit_copy()
Edit copy image object.
Definition menu_images.h:184
static xtd::drawing::image file_print_preview(const xtd::drawing::size &size)
File print preview image object with specified size.
Definition menu_images.h:107
static xtd::drawing::image edit_paste(const xtd::drawing::size &size)
Edit paste image object with specified size.
Definition menu_images.h:209
static xtd::drawing::image edit_cut(const xtd::string &theme)
Edit cut image object with specified theme.
Definition menu_images.h:171
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.h:180
static xtd::drawing::image file_print()
File print image object.
Definition menu_images.h:82
static xtd::drawing::image edit_undo(const xtd::drawing::size &size)
Edit undoEdit undo image object with specified size.
Definition menu_images.h:141
static xtd::drawing::size size()
Gets the height and width of the menu images.
Definition menu_images.h:269
static xtd::drawing::image edit_redo(const xtd::drawing::size &size)
Edit undo image object with specified size.
Definition menu_images.h:158
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.h:248
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.h:197
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.h:44
static xtd::drawing::image file_print_preview()
File print preview image object.
Definition menu_images.h:99
static xtd::drawing::image edit_copy(const xtd::drawing::size &size)
Edit copy image object with specified size.
Definition menu_images.h:192
static xtd::drawing::image edit_redo(const xtd::string &theme)
Edit undo image object with specified theme.
Definition menu_images.h:154
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.h:129
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.h:231
static xtd::drawing::image file_save()
File save image object.
Definition menu_images.h:65
static xtd::drawing::image file_exit()
File exit image object.
Definition menu_images.h:116
static xtd::drawing::image file_exit(const xtd::drawing::size &size)
File exit image object with specified size.
Definition menu_images.h:124
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.h:214
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.h:289
static xtd::drawing::image file_new()
File new image object.
Definition menu_images.h:31
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.h:146
static xtd::drawing::image file_save(const xtd::string &theme)
File save image object with specified theme.
Definition menu_images.h:69
static xtd::drawing::image view_forward(const xtd::string &theme)
View forward image object with specified theme.
Definition menu_images.h:239
static xtd::drawing::image file_open()
File open image object.
Definition menu_images.h:48
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.h:163
static xtd::drawing::image help_about(const xtd::drawing::size &size)
Help about image object with specified size.
Definition menu_images.h:260
static xtd::drawing::image view_forward(const xtd::drawing::size &size)
View forward image object with specified size.
Definition menu_images.h:243
static xtd::drawing::image help_about()
Help about image object.
Definition menu_images.h:252
static xtd::drawing::image file_open(const xtd::string &theme)
File open image object with specified theme.
Definition menu_images.h:52
static xtd::drawing::image file_print_preview(const xtd::string &theme)
File print preview image object with specified theme.
Definition menu_images.h:103
static xtd::drawing::image edit_cut()
Edit cut image object.
Definition menu_images.h:167
static xtd::drawing::image help_about(const xtd::string &theme)
Help about image object with specified theme.
Definition menu_images.h:256
static xtd::drawing::image edit_paste(const xtd::string &theme)
Edit paste image object with specified theme.
Definition menu_images.h:205
static xtd::drawing::image from_name(const xtd::string &name)
Gets image object with specified name.
Definition menu_images.h:275
static xtd::drawing::image edit_redo()
Edit undo image object.
Definition menu_images.h:150
static xtd::drawing::image file_print(const xtd::drawing::size &size)
File print image object with specified size.
Definition menu_images.h:90
static xtd::drawing::image file_new(const xtd::string &theme)
File new image object with specified theme.
Definition menu_images.h:35
static xtd::drawing::image edit_copy(const xtd::string &theme)
Edit copy image object with specified theme.
Definition menu_images.h:188
static xtd::drawing::image edit_paste()
Edit paste image object.
Definition menu_images.h:201
static xtd::drawing::image view_forward()
View forward image object.
Definition menu_images.h:235
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.h:265
static xtd::drawing::image file_new(const xtd::drawing::size &size)
File new image object with specified size.
Definition menu_images.h:39
static xtd::drawing::image file_print(const xtd::string &theme)
File print image object with specified theme.
Definition menu_images.h:86
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.h:282
static xtd::drawing::image edit_cut(const xtd::drawing::size &size)
Edit cut image object with specified size.
Definition menu_images.h:175
static xtd::drawing::image file_open(const xtd::drawing::size &size)
File open image object with specified size.
Definition menu_images.h:56
static xtd::drawing::image view_back(const xtd::string &theme)
View back image object with specified theme.
Definition menu_images.h:222
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.h:95
static xtd::drawing::image file_exit(const xtd::string &theme)
File exit image object with specified theme.
Definition menu_images.h:120
static xtd::drawing::image view_back(const xtd::drawing::size &size)
View back image object with specified size.
Definition menu_images.h:226
static xtd::drawing::image view_back()
View back image object.
Definition menu_images.h:218
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.h:297
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.h:61
static xtd::drawing::image edit_undo()
Edit undo image object.
Definition menu_images.h:133
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.h:112
static xtd::drawing::image file_save(const xtd::drawing::size &size)
File save image object with specified size.
Definition menu_images.h:73
static xtd::drawing::image edit_undo(const xtd::string &theme)
Edit undo image object with specified theme.
Definition menu_images.h:137
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.h:78
#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 size.h:23
@ 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