xtd 0.2.0
Loading...
Searching...
No Matches
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
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}
Represents text as a sequence of character units.
Definition basic_string.hpp:79
An abstract base class that provides functionality for the bitmap and metafile descended classes.
Definition image.hpp:49
Stores an ordered pair of integers, which specify a height and width.
Definition size.hpp: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.hpp:1268
Provides a menu images factories for use by a menu control.
Definition menu_images.hpp:24
static xtd::drawing::image edit_copy()
Edit copy image object.
Definition menu_images.hpp:184
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
static xtd::drawing::image edit_paste(const xtd::drawing::size &size)
Edit paste image object with specified size.
Definition menu_images.hpp:209
static xtd::drawing::image edit_cut(const xtd::string &theme)
Edit cut image object with specified theme.
Definition menu_images.hpp: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.hpp:180
static xtd::drawing::image file_print()
File print image object.
Definition menu_images.hpp:82
static xtd::drawing::image edit_undo(const xtd::drawing::size &size)
Edit undoEdit undo image object with specified size.
Definition menu_images.hpp:141
static xtd::drawing::size size()
Gets the height and width of the menu images.
Definition menu_images.hpp:269
static xtd::drawing::image edit_redo(const xtd::drawing::size &size)
Edit undo image object with specified size.
Definition menu_images.hpp: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.hpp: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.hpp: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.hpp:44
static xtd::drawing::image file_print_preview()
File print preview image object.
Definition menu_images.hpp:99
static xtd::drawing::image edit_copy(const xtd::drawing::size &size)
Edit copy image object with specified size.
Definition menu_images.hpp:192
static xtd::drawing::image edit_redo(const xtd::string &theme)
Edit undo image object with specified theme.
Definition menu_images.hpp: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.hpp: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.hpp:231
static xtd::drawing::image file_save()
File save image object.
Definition menu_images.hpp:65
static xtd::drawing::image file_exit()
File exit image object.
Definition menu_images.hpp:116
static xtd::drawing::image file_exit(const xtd::drawing::size &size)
File exit image object with specified size.
Definition menu_images.hpp: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.hpp: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.hpp:289
static xtd::drawing::image file_new()
File new image object.
Definition menu_images.hpp: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.hpp:146
static xtd::drawing::image file_save(const xtd::string &theme)
File save image object with specified theme.
Definition menu_images.hpp:69
static xtd::drawing::image view_forward(const xtd::string &theme)
View forward image object with specified theme.
Definition menu_images.hpp:239
static xtd::drawing::image file_open()
File open image object.
Definition menu_images.hpp: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.hpp:163
static xtd::drawing::image help_about(const xtd::drawing::size &size)
Help about image object with specified size.
Definition menu_images.hpp:260
static xtd::drawing::image view_forward(const xtd::drawing::size &size)
View forward image object with specified size.
Definition menu_images.hpp:243
static xtd::drawing::image help_about()
Help about image object.
Definition menu_images.hpp:252
static xtd::drawing::image file_open(const xtd::string &theme)
File open image object with specified theme.
Definition menu_images.hpp:52
static xtd::drawing::image file_print_preview(const xtd::string &theme)
File print preview image object with specified theme.
Definition menu_images.hpp:103
static xtd::drawing::image edit_cut()
Edit cut image object.
Definition menu_images.hpp:167
static xtd::drawing::image help_about(const xtd::string &theme)
Help about image object with specified theme.
Definition menu_images.hpp:256
static xtd::drawing::image edit_paste(const xtd::string &theme)
Edit paste image object with specified theme.
Definition menu_images.hpp:205
static xtd::drawing::image from_name(const xtd::string &name)
Gets image object with specified name.
Definition menu_images.hpp:275
static xtd::drawing::image edit_redo()
Edit undo image object.
Definition menu_images.hpp:150
static xtd::drawing::image file_print(const xtd::drawing::size &size)
File print image object with specified size.
Definition menu_images.hpp:90
static xtd::drawing::image file_new(const xtd::string &theme)
File new image object with specified theme.
Definition menu_images.hpp:35
static xtd::drawing::image edit_copy(const xtd::string &theme)
Edit copy image object with specified theme.
Definition menu_images.hpp:188
static xtd::drawing::image edit_paste()
Edit paste image object.
Definition menu_images.hpp:201
static xtd::drawing::image view_forward()
View forward image object.
Definition menu_images.hpp: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.hpp:265
static xtd::drawing::image file_new(const xtd::drawing::size &size)
File new image object with specified size.
Definition menu_images.hpp:39
static xtd::drawing::image file_print(const xtd::string &theme)
File print image object with specified theme.
Definition menu_images.hpp: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.hpp:282
static xtd::drawing::image edit_cut(const xtd::drawing::size &size)
Edit cut image object with specified size.
Definition menu_images.hpp:175
static xtd::drawing::image file_open(const xtd::drawing::size &size)
File open image object with specified size.
Definition menu_images.hpp:56
static xtd::drawing::image view_back(const xtd::string &theme)
View back image object with specified theme.
Definition menu_images.hpp: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.hpp:95
static xtd::drawing::image file_exit(const xtd::string &theme)
File exit image object with specified theme.
Definition menu_images.hpp:120
static xtd::drawing::image view_back(const xtd::drawing::size &size)
View back image object with specified size.
Definition menu_images.hpp:226
static xtd::drawing::image view_back()
View back image object.
Definition menu_images.hpp: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.hpp: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.hpp:61
static xtd::drawing::image edit_undo()
Edit undo image object.
Definition menu_images.hpp: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.hpp:112
static xtd::drawing::image file_save(const xtd::drawing::size &size)
File save image object with specified size.
Definition menu_images.hpp:73
static xtd::drawing::image edit_undo(const xtd::string &theme)
Edit undo image object with specified theme.
Definition menu_images.hpp: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.hpp:78
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition static.hpp:37
size_t size
Represents a size of any object in bytes.
Definition size.hpp: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.hpp:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Contains xtd::forms::application class.