xtd 1.0.0
Loading...
Searching...
No Matches
cursors.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "cursor.hpp"
6#include <xtd/static>
7
9namespace xtd {
11 namespace forms {
26 public:
28
36 [[nodiscard]] static auto app_starting() -> xtd::forms::cursor;
37
44 [[nodiscard]] static auto arrow() -> xtd::forms::cursor;
45
52 [[nodiscard]] static auto closed_hand() -> xtd::forms::cursor;
53
60 [[nodiscard]] static auto contextual_menu() -> xtd::forms::cursor;
61
68 [[nodiscard]] static auto cell() -> xtd::forms::cursor;
69
76 [[nodiscard]] static auto cross() -> xtd::forms::cursor;
77
84 [[nodiscard]] static auto default_cursor() -> xtd::forms::cursor;
85
92 [[nodiscard]] static auto disappearing_item() -> xtd::forms::cursor;
93
100 [[nodiscard]] static auto drag_copy() -> xtd::forms::cursor;
101
108 [[nodiscard]] static auto drag_link() -> xtd::forms::cursor;
109
116 [[nodiscard]] static auto hand() -> xtd::forms::cursor;
117
124 [[nodiscard]] static auto help() -> xtd::forms::cursor;
125
132 [[nodiscard]] static auto hsplit() -> xtd::forms::cursor;
133
140 [[nodiscard]] static auto ibeam() -> xtd::forms::cursor;
141
148 [[nodiscard]] static auto no() -> xtd::forms::cursor;
149
156 [[nodiscard]] static auto no_drag() -> xtd::forms::cursor;
157
164 [[nodiscard]] static auto no_move_2d() -> xtd::forms::cursor;
165
172 [[nodiscard]] static auto no_move_horiz() -> xtd::forms::cursor;
173
180 [[nodiscard]] static auto no_move_vert() -> xtd::forms::cursor;
181
188 [[nodiscard]] static auto open_hand() -> xtd::forms::cursor;
189
196 [[nodiscard]] static auto pan_east() -> xtd::forms::cursor;
197
204 [[nodiscard]] static auto pan_ne() -> xtd::forms::cursor;
205
212 [[nodiscard]] static auto pan_north() -> xtd::forms::cursor;
213
220 [[nodiscard]] static auto pan_nw() -> xtd::forms::cursor;
221
228 [[nodiscard]] static auto pan_se() -> xtd::forms::cursor;
229
236 [[nodiscard]] static auto pan_south() -> xtd::forms::cursor;
237
244 [[nodiscard]] static auto pan_sw() -> xtd::forms::cursor;
245
252 [[nodiscard]] static auto pan_west() -> xtd::forms::cursor;
253
260 [[nodiscard]] static auto size_all() -> xtd::forms::cursor;
261
268 [[nodiscard]] static auto size_nesw() -> xtd::forms::cursor;
269
276 [[nodiscard]] static auto size_ns() -> xtd::forms::cursor;
277
284 [[nodiscard]] static auto size_nwse() -> xtd::forms::cursor;
285
292 [[nodiscard]] static auto size_we() -> xtd::forms::cursor;
293
300 [[nodiscard]] static auto up_arrow() -> xtd::forms::cursor;
301
308 [[nodiscard]] static auto vibeam() -> xtd::forms::cursor;
309
316 [[nodiscard]] static auto vsplit() -> xtd::forms::cursor;
317
324 [[nodiscard]] static auto wait_cursor() -> xtd::forms::cursor;
325
332 [[nodiscard]] static auto zoom_in() -> xtd::forms::cursor;
333
340 [[nodiscard]] static auto zoom_out() -> xtd::forms::cursor;
342
344
350 [[nodiscard]] static auto from_name(const xtd::string& name) -> xtd::forms::cursor;
351
354 [[nodiscard]] static auto get_cursors() -> const xtd::array<cursor>&;
356 };
357 }
358}
Provides methods for creating, manipulating, searching, and sorting arrays, thereby serving as the ba...
Definition array.hpp:64
Represents the image used to paint the mouse pointer.
Definition cursor.hpp:40
Provides a collection of xtd::forms::cursor objects for use by a Windows Forms application.
Definition cursors.hpp:25
static auto disappearing_item() -> xtd::forms::cursor
Gets the disappearing item cursor.
static auto no_move_horiz() -> xtd::forms::cursor
Gets the cursor that appears during wheel operations when the mouse is not moving,...
static auto pan_sw() -> xtd::forms::cursor
Gets the cursor that appears during wheel operations when the mouse is moving and the window is scrol...
static auto pan_west() -> xtd::forms::cursor
Gets the cursor that appears during wheel operations when the mouse is moving and the window is scrol...
static auto zoom_out() -> xtd::forms::cursor
Gets the zoom out cursor, typically to zoom out an object.
static auto size_nesw() -> xtd::forms::cursor
Gets the two-headed diagonal (northeast/southwest) sizing cursor.
static auto size_nwse() -> xtd::forms::cursor
Gets the two-headed diagonal (northwest/southeast) sizing cursor.
static auto size_we() -> xtd::forms::cursor
Gets the two-headed diagonal (northwest/southeast) sizing cursor.
static auto vsplit() -> xtd::forms::cursor
Gets the cursor that appears when the mouse is positioned over a vertical splitter bar.
static auto open_hand() -> xtd::forms::cursor
Gets the open hand cursor.
static auto ibeam() -> xtd::forms::cursor
Gets the I-beam cursor, which is used to show where the text cursor appears when the mouse is clicked...
static auto from_name(const xtd::string &name) -> xtd::forms::cursor
Gets cursor from name.
static auto zoom_in() -> xtd::forms::cursor
Gets the zoom_in cursor, typically to zoom in an object.
static auto cross() -> xtd::forms::cursor
Gets the crosshair cursor.
static auto drag_copy() -> xtd::forms::cursor
Gets the drag copy cursor.
static auto up_arrow() -> xtd::forms::cursor
Gets the up arrow cursor, typically used to identify an insertion point.
static auto get_cursors() -> const xtd::array< cursor > &
Gets all cursors.
static auto drag_link() -> xtd::forms::cursor
Gets the drag link cursor.
static auto closed_hand() -> xtd::forms::cursor
Gets the closed hand cursor.
static auto vibeam() -> xtd::forms::cursor
Gets the vertical I-beam cursor, which is used to show where the text cursor appears when the mouse i...
static auto pan_se() -> xtd::forms::cursor
Gets the cursor that appears during wheel operations when the mouse is moving and the window is scrol...
static auto wait_cursor() -> xtd::forms::cursor
Gets the wait cursor, typically an hourglass shape.
static auto no() -> xtd::forms::cursor
Gets the cursor that indicates that a particular region is invalid for the current operation.
static auto pan_north() -> xtd::forms::cursor
Gets the cursor that appears during wheel operations when the mouse is moving and the window is scrol...
static auto no_move_2d() -> xtd::forms::cursor
Gets the cursor that appears during wheel operations when the mouse is not moving,...
static auto hand() -> xtd::forms::cursor
Gets the hand cursor, typically used when hovering over a Web link.
static auto hsplit() -> xtd::forms::cursor
Gets the cursor that appears when the mouse is positioned over a horizontal splitter bar.
static auto size_all() -> xtd::forms::cursor
Gets the four-headed sizing cursor, which consists of four joined arrows that point north,...
static auto arrow() -> xtd::forms::cursor
Gets the arrow cursor.
static auto no_move_vert() -> xtd::forms::cursor
Gets the cursor that appears during wheel operations when the mouse is not moving,...
static auto pan_nw() -> xtd::forms::cursor
Gets the cursor that appears during wheel operations when the mouse is moving and the window is scrol...
static auto help() -> xtd::forms::cursor
Gets the Help cursor, which is a combination of an arrow and a question mark.
static auto pan_south() -> xtd::forms::cursor
Gets the cursor that appears during wheel operations when the mouse is moving and the window is scrol...
static auto no_drag() -> xtd::forms::cursor
Gets the cursor that indicates that a particular region is invalid for the current drag & drop operat...
static auto cell() -> xtd::forms::cursor
Gets the cell cursor.
static auto contextual_menu() -> xtd::forms::cursor
Gets the contextual menu cursor.
static auto default_cursor() -> xtd::forms::cursor
Gets the default cursor, which is usually an arrow cursor.
static auto size_ns() -> xtd::forms::cursor
Gets the two-headed vertical (north/south) sizing cursor.
static auto pan_east() -> xtd::forms::cursor
Gets the cursor that appears during wheel operations when the mouse is moving and the window is scrol...
static auto pan_ne() -> xtd::forms::cursor
Gets the cursor that appears during wheel operations when the mouse is moving and the window is scrol...
static auto app_starting() -> xtd::forms::cursor
Gets the cursor that appears when an application starts.
Contains xtd::forms::cursor class.
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition static.hpp:38
#define forms_export_
Define shared library export.
Definition forms_export.hpp:13
xtd::basic_string< char > string
Represents text as a sequence of UTF-8 code units.
Definition __string_definitions.hpp:43
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition texts.hpp:219
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8