Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarley Acheson <harley.acheson@gmail.com>2019-09-26 15:31:47 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-09-26 15:31:47 +0300
commit3bf4610347376d326ac376e62a810e20661f1479 (patch)
treed1b2f67b0666b7028add304ce1b6f4713a21e9a8 /intern/ghost/intern/GHOST_WindowX11.cpp
parent6292cab193a6aa2a80ceba929079b47de7d8f48a (diff)
GHOST: refresh standard cursors available for platforms
* Add more standard cursor types, that platforms can optionally support. * Remove a few unused cursor types that were not properly supported and would show the wrong cursor when used. * Add native cursor files for Windows. These scale well with DPI and have anti-aliasing. Designed by Duarte Farrajota Ramos. Ref D5197
Diffstat (limited to 'intern/ghost/intern/GHOST_WindowX11.cpp')
-rw-r--r--intern/ghost/intern/GHOST_WindowX11.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/intern/ghost/intern/GHOST_WindowX11.cpp b/intern/ghost/intern/GHOST_WindowX11.cpp
index 402c48bc0fc..8aa4a4e284a 100644
--- a/intern/ghost/intern/GHOST_WindowX11.cpp
+++ b/intern/ghost/intern/GHOST_WindowX11.cpp
@@ -1289,27 +1289,9 @@ GHOST_TSuccess GHOST_WindowX11::getStandardCursor(GHOST_TStandardCursor g_cursor
unsigned int xcursor_id;
switch (g_cursor) {
- case GHOST_kStandardCursorRightArrow:
- xcursor_id = XC_arrow;
- break;
- case GHOST_kStandardCursorLeftArrow:
- xcursor_id = XC_top_left_arrow;
- break;
- case GHOST_kStandardCursorInfo:
- xcursor_id = XC_hand1;
- break;
- case GHOST_kStandardCursorDestroy:
- xcursor_id = XC_pirate;
- break;
case GHOST_kStandardCursorHelp:
xcursor_id = XC_question_arrow;
break;
- case GHOST_kStandardCursorCycle:
- xcursor_id = XC_exchange;
- break;
- case GHOST_kStandardCursorSpray:
- xcursor_id = XC_spraycan;
- break;
case GHOST_kStandardCursorWait:
xcursor_id = XC_watch;
break;
@@ -1349,12 +1331,6 @@ GHOST_TSuccess GHOST_WindowX11::getStandardCursor(GHOST_TStandardCursor g_cursor
case GHOST_kStandardCursorBottomLeftCorner:
xcursor_id = XC_bottom_left_corner;
break;
- case GHOST_kStandardCursorPencil:
- xcursor_id = XC_pencil;
- break;
- case GHOST_kStandardCursorCopy:
- xcursor_id = XC_arrow;
- break;
case GHOST_kStandardCursorDefault:
xcursor = None;
return GHOST_kSuccess;