Contains cursor native API.
- Namespace
- xtd::forms::native
- Library
- xtd.forms.native
- Warning
- Internal use only
◆ create() [1/2]
static intptr xtd::forms::native::cursor::create |
( |
| ) |
|
|
staticprotected |
Creates cursor.
- Returns
- The created cursor handle.
- Warning
- Internal use only
◆ create() [2/2]
Creates cursor with specified image and hot spot.
- Parameters
-
- Returns
- The created cursor handle.
- Warning
- Internal use only
◆ copy()
static intptr xtd::forms::native::cursor::copy |
( |
intptr |
cursor | ) |
|
|
staticprotected |
Copies the cursor handle.
- Parameters
-
- Returns
- An intptr that represents the cursor's handle.
- Warning
- Internal use only
◆ current()
static void xtd::forms::native::cursor::current |
( |
intptr |
cursor | ) |
|
|
staticprotected |
Sets a cursor object that represents the mouse cursor.
- Parameters
-
- Warning
- Internal use only
◆ destroy()
static void xtd::forms::native::cursor::destroy |
( |
intptr |
cursor | ) |
|
|
staticprotected |
Destroys cursor.
- Parameters
-
- Warning
- Internal use only
◆ hide()
static void xtd::forms::native::cursor::hide |
( |
| ) |
|
|
staticprotected |
Hides cursor.
- Parameters
-
- Warning
- Internal use only
◆ hot_spot()
Gets the cursor hot spot.
- Parameters
-
- Returns
- A point representing the cursor hot spot.
- Warning
- Internal use only
◆ position() [1/2]
Gets the cursor's position.
- Parameters
-
- Returns
- A point that represents the cursor's position in screen coordinates.
- Warning
- Internal use only
◆ position() [2/2]
static void xtd::forms::native::cursor::position |
( |
const drawing::point & |
position | ) |
|
|
staticprotected |
Sets the cursor's position.
- Parameters
-
cursor | Cursor handle. |
position | A point that represents the cursor's position in screen coordinates. |
- Warning
- Internal use only
◆ size()
Gets the size of the cursor object.
- Parameters
-
- Returns
- A size that represents the width and height of the cursor.
- Warning
- Internal use only
◆ show()
static void xtd::forms::native::cursor::show |
( |
| ) |
|
|
staticprotected |
Shows cursor.
- Parameters
-
- Warning
- Internal use only
The documentation for this class was generated from the following file:
- xtd.forms.native/include/xtd/forms/native/cursor.hpp