Blender V5.0
GHOST_WindowSDL.cc File Reference
#include "GHOST_WindowSDL.hh"
#include "SDL_mouse.h"
#include "GHOST_ContextSDL.hh"
#include <cassert>

Go to the source code of this file.

Macros

#define sdl_std_cursor_WIDTH_xterm   9
#define sdl_std_cursor_HEIGHT_xterm   16
#define sdl_std_cursor_HOT_X_xterm   -3
#define sdl_std_cursor_HOT_Y_xterm   -7
#define sdl_std_cursor_WIDTH_watch   16
#define sdl_std_cursor_HEIGHT_watch   16
#define sdl_std_cursor_HOT_X_watch   -15
#define sdl_std_cursor_HOT_Y_watch   -7
#define sdl_std_cursor_WIDTH_umbrella   16
#define sdl_std_cursor_HEIGHT_umbrella   16
#define sdl_std_cursor_HOT_X_umbrella   -7
#define sdl_std_cursor_HOT_Y_umbrella   -12
#define sdl_std_cursor_WIDTH_top_side   15
#define sdl_std_cursor_HEIGHT_top_side   16
#define sdl_std_cursor_HOT_X_top_side   -6
#define sdl_std_cursor_HOT_Y_top_side   -14
#define sdl_std_cursor_WIDTH_top_right_corner   16
#define sdl_std_cursor_HEIGHT_top_right_corner   16
#define sdl_std_cursor_HOT_X_top_right_corner   -13
#define sdl_std_cursor_HOT_Y_top_right_corner   -14
#define sdl_std_cursor_WIDTH_top_left_corner   16
#define sdl_std_cursor_HEIGHT_top_left_corner   16
#define sdl_std_cursor_HOT_X_top_left_corner   0
#define sdl_std_cursor_HOT_Y_top_left_corner   -14
#define sdl_std_cursor_WIDTH_sb_v_double_arrow   9
#define sdl_std_cursor_HEIGHT_sb_v_double_arrow   15
#define sdl_std_cursor_HOT_X_sb_v_double_arrow   -3
#define sdl_std_cursor_HOT_Y_sb_v_double_arrow   -8
#define sdl_std_cursor_WIDTH_sb_h_double_arrow   15
#define sdl_std_cursor_HEIGHT_sb_h_double_arrow   9
#define sdl_std_cursor_HOT_X_sb_h_double_arrow   -7
#define sdl_std_cursor_HOT_Y_sb_h_double_arrow   -4
#define sdl_std_cursor_WIDTH_right_side   16
#define sdl_std_cursor_HEIGHT_right_side   15
#define sdl_std_cursor_HOT_X_right_side   -13
#define sdl_std_cursor_HOT_Y_right_side   -7
#define sdl_std_cursor_WIDTH_right_ptr   10
#define sdl_std_cursor_HEIGHT_right_ptr   16
#define sdl_std_cursor_HOT_X_right_ptr   -7
#define sdl_std_cursor_HOT_Y_right_ptr   -14
#define sdl_std_cursor_WIDTH_question_arrow   11
#define sdl_std_cursor_HEIGHT_question_arrow   16
#define sdl_std_cursor_HOT_X_question_arrow   -4
#define sdl_std_cursor_HOT_Y_question_arrow   -8
#define sdl_std_cursor_WIDTH_pirate   16
#define sdl_std_cursor_HEIGHT_pirate   16
#define sdl_std_cursor_HOT_X_pirate   -7
#define sdl_std_cursor_HOT_Y_pirate   -4
#define sdl_std_cursor_WIDTH_left_side   16
#define sdl_std_cursor_HEIGHT_left_side   15
#define sdl_std_cursor_HOT_X_left_side   0
#define sdl_std_cursor_HOT_Y_left_side   -7
#define sdl_std_cursor_WIDTH_left_ptr   10
#define sdl_std_cursor_HEIGHT_left_ptr   16
#define sdl_std_cursor_HOT_X_left_ptr   -8
#define sdl_std_cursor_HOT_Y_left_ptr   -14
#define sdl_std_cursor_WIDTH_crosshair   16
#define sdl_std_cursor_HEIGHT_crosshair   16
#define sdl_std_cursor_HOT_X_crosshair   -7
#define sdl_std_cursor_HOT_Y_crosshair   -8
#define sdl_std_cursor_WIDTH_bottom_side   15
#define sdl_std_cursor_HEIGHT_bottom_side   16
#define sdl_std_cursor_HOT_X_bottom_side   -6
#define sdl_std_cursor_HOT_Y_bottom_side   -1
#define sdl_std_cursor_WIDTH_bottom_right_corner   16
#define sdl_std_cursor_HEIGHT_bottom_right_corner   16
#define sdl_std_cursor_HOT_X_bottom_right_corner   -13
#define sdl_std_cursor_HOT_Y_bottom_right_corner   -1
#define sdl_std_cursor_WIDTH_bottom_left_corner   16
#define sdl_std_cursor_HEIGHT_bottom_left_corner   16
#define sdl_std_cursor_HOT_X_bottom_left_corner   0
#define sdl_std_cursor_HOT_Y_bottom_left_corner   -1
#define sdl_std_cursor_WIDTH_arrow   16
#define sdl_std_cursor_HEIGHT_arrow   16
#define sdl_std_cursor_HOT_X_arrow   -13
#define sdl_std_cursor_HOT_Y_arrow   -14
#define DEF_CURSOR(name, ind)

Functions

static SDL_Cursor * sdl_ghost_CreateCursor (const uint8_t *data, const uint8_t *mask, int w, int h, int hot_x, int hot_y)
static SDL_Cursor * getStandardCursorShape (GHOST_TStandardCursor shape)

Variables

static uchar sdl_std_cursor_mask_xterm []
static uchar sdl_std_cursor_xterm []
static uchar sdl_std_cursor_mask_watch []
static uchar sdl_std_cursor_watch []
static uchar sdl_std_cursor_mask_umbrella []
static uchar sdl_std_cursor_umbrella []
static uchar sdl_std_cursor_mask_top_side []
static uchar sdl_std_cursor_top_side []
static uchar sdl_std_cursor_mask_top_right_corner []
static uchar sdl_std_cursor_top_right_corner []
static uchar sdl_std_cursor_mask_top_left_corner []
static uchar sdl_std_cursor_top_left_corner []
static uchar sdl_std_cursor_mask_sb_v_double_arrow []
static uchar sdl_std_cursor_sb_v_double_arrow []
static uchar sdl_std_cursor_mask_sb_h_double_arrow []
static uchar sdl_std_cursor_sb_h_double_arrow []
static uchar sdl_std_cursor_mask_right_side []
static uchar sdl_std_cursor_right_side []
static uchar sdl_std_cursor_mask_right_ptr []
static uchar sdl_std_cursor_right_ptr []
static uchar sdl_std_cursor_mask_question_arrow []
static uchar sdl_std_cursor_question_arrow []
static uchar sdl_std_cursor_mask_pirate []
static uchar sdl_std_cursor_pirate []
static uchar sdl_std_cursor_mask_left_side []
static uchar sdl_std_cursor_left_side []
static uchar sdl_std_cursor_mask_left_ptr []
static uchar sdl_std_cursor_left_ptr []
static uchar sdl_std_cursor_mask_crosshair []
static uchar sdl_std_cursor_crosshair []
static uchar sdl_std_cursor_mask_bottom_side []
static uchar sdl_std_cursor_bottom_side []
static uchar sdl_std_cursor_mask_bottom_right_corner []
static uchar sdl_std_cursor_bottom_right_corner []
static uchar sdl_std_cursor_mask_bottom_left_corner []
static uchar sdl_std_cursor_bottom_left_corner []
static uchar sdl_std_cursor_mask_arrow []
static uchar sdl_std_cursor_arrow []
static SDL_Cursor * sdl_std_cursor_array [int(GHOST_kStandardCursorNumCursors)] = {nullptr}

Macro Definition Documentation

◆ DEF_CURSOR

#define DEF_CURSOR ( name,
ind )
Value:
{ \
sdl_std_cursor_##name, \
sdl_std_cursor_mask_##name, \
sdl_std_cursor_WIDTH_##name, \
sdl_std_cursor_HEIGHT_##name, \
(sdl_std_cursor_WIDTH_##name + (sdl_std_cursor_HOT_X_##name)) - 1, \
(sdl_std_cursor_HEIGHT_##name + (sdl_std_cursor_HOT_Y_##name)) - 1); \
assert(sdl_std_cursor_array[int(ind)] != nullptr); \
} \
(void)0
static SDL_Cursor * sdl_std_cursor_array[int(GHOST_kStandardCursorNumCursors)]
static SDL_Cursor * sdl_ghost_CreateCursor(const uint8_t *data, const uint8_t *mask, int w, int h, int hot_x, int hot_y)
const char * name

Referenced by getStandardCursorShape().

◆ sdl_std_cursor_HEIGHT_arrow

#define sdl_std_cursor_HEIGHT_arrow   16

Definition at line 496 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HEIGHT_bottom_left_corner

#define sdl_std_cursor_HEIGHT_bottom_left_corner   16

Definition at line 483 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HEIGHT_bottom_right_corner

#define sdl_std_cursor_HEIGHT_bottom_right_corner   16

Definition at line 470 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HEIGHT_bottom_side

#define sdl_std_cursor_HEIGHT_bottom_side   16

Definition at line 457 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HEIGHT_crosshair

#define sdl_std_cursor_HEIGHT_crosshair   16

Definition at line 444 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HEIGHT_left_ptr

#define sdl_std_cursor_HEIGHT_left_ptr   16

Definition at line 431 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HEIGHT_left_side

#define sdl_std_cursor_HEIGHT_left_side   15

Definition at line 418 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HEIGHT_pirate

#define sdl_std_cursor_HEIGHT_pirate   16

Definition at line 405 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HEIGHT_question_arrow

#define sdl_std_cursor_HEIGHT_question_arrow   16

Definition at line 392 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HEIGHT_right_ptr

#define sdl_std_cursor_HEIGHT_right_ptr   16

Definition at line 379 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HEIGHT_right_side

#define sdl_std_cursor_HEIGHT_right_side   15

Definition at line 366 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HEIGHT_sb_h_double_arrow

#define sdl_std_cursor_HEIGHT_sb_h_double_arrow   9

Definition at line 353 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HEIGHT_sb_v_double_arrow

#define sdl_std_cursor_HEIGHT_sb_v_double_arrow   15

Definition at line 308 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HEIGHT_top_left_corner

#define sdl_std_cursor_HEIGHT_top_left_corner   16

Definition at line 295 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HEIGHT_top_right_corner

#define sdl_std_cursor_HEIGHT_top_right_corner   16

Definition at line 282 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HEIGHT_top_side

#define sdl_std_cursor_HEIGHT_top_side   16

Definition at line 269 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HEIGHT_umbrella

#define sdl_std_cursor_HEIGHT_umbrella   16

Definition at line 256 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HEIGHT_watch

#define sdl_std_cursor_HEIGHT_watch   16

Definition at line 243 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HEIGHT_xterm

#define sdl_std_cursor_HEIGHT_xterm   16

Definition at line 230 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HOT_X_arrow

#define sdl_std_cursor_HOT_X_arrow   -13

Definition at line 497 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HOT_X_bottom_left_corner

#define sdl_std_cursor_HOT_X_bottom_left_corner   0

Definition at line 484 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HOT_X_bottom_right_corner

#define sdl_std_cursor_HOT_X_bottom_right_corner   -13

Definition at line 471 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HOT_X_bottom_side

#define sdl_std_cursor_HOT_X_bottom_side   -6

Definition at line 458 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HOT_X_crosshair

#define sdl_std_cursor_HOT_X_crosshair   -7

Definition at line 445 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HOT_X_left_ptr

#define sdl_std_cursor_HOT_X_left_ptr   -8

Definition at line 432 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HOT_X_left_side

#define sdl_std_cursor_HOT_X_left_side   0

Definition at line 419 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HOT_X_pirate

#define sdl_std_cursor_HOT_X_pirate   -7

Definition at line 406 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HOT_X_question_arrow

#define sdl_std_cursor_HOT_X_question_arrow   -4

Definition at line 393 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HOT_X_right_ptr

#define sdl_std_cursor_HOT_X_right_ptr   -7

Definition at line 380 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HOT_X_right_side

#define sdl_std_cursor_HOT_X_right_side   -13

Definition at line 367 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HOT_X_sb_h_double_arrow

#define sdl_std_cursor_HOT_X_sb_h_double_arrow   -7

Definition at line 354 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HOT_X_sb_v_double_arrow

#define sdl_std_cursor_HOT_X_sb_v_double_arrow   -3

Definition at line 309 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HOT_X_top_left_corner

#define sdl_std_cursor_HOT_X_top_left_corner   0

Definition at line 296 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HOT_X_top_right_corner

#define sdl_std_cursor_HOT_X_top_right_corner   -13

Definition at line 283 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HOT_X_top_side

#define sdl_std_cursor_HOT_X_top_side   -6

Definition at line 270 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HOT_X_umbrella

#define sdl_std_cursor_HOT_X_umbrella   -7

Definition at line 257 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HOT_X_watch

#define sdl_std_cursor_HOT_X_watch   -15

Definition at line 244 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HOT_X_xterm

#define sdl_std_cursor_HOT_X_xterm   -3

Definition at line 231 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HOT_Y_arrow

#define sdl_std_cursor_HOT_Y_arrow   -14

Definition at line 498 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HOT_Y_bottom_left_corner

#define sdl_std_cursor_HOT_Y_bottom_left_corner   -1

Definition at line 485 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HOT_Y_bottom_right_corner

#define sdl_std_cursor_HOT_Y_bottom_right_corner   -1

Definition at line 472 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HOT_Y_bottom_side

#define sdl_std_cursor_HOT_Y_bottom_side   -1

Definition at line 459 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HOT_Y_crosshair

#define sdl_std_cursor_HOT_Y_crosshair   -8

Definition at line 446 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HOT_Y_left_ptr

#define sdl_std_cursor_HOT_Y_left_ptr   -14

Definition at line 433 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HOT_Y_left_side

#define sdl_std_cursor_HOT_Y_left_side   -7

Definition at line 420 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HOT_Y_pirate

#define sdl_std_cursor_HOT_Y_pirate   -4

Definition at line 407 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HOT_Y_question_arrow

#define sdl_std_cursor_HOT_Y_question_arrow   -8

Definition at line 394 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HOT_Y_right_ptr

#define sdl_std_cursor_HOT_Y_right_ptr   -14

Definition at line 381 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HOT_Y_right_side

#define sdl_std_cursor_HOT_Y_right_side   -7

Definition at line 368 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HOT_Y_sb_h_double_arrow

#define sdl_std_cursor_HOT_Y_sb_h_double_arrow   -4

Definition at line 355 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HOT_Y_sb_v_double_arrow

#define sdl_std_cursor_HOT_Y_sb_v_double_arrow   -8

Definition at line 310 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HOT_Y_top_left_corner

#define sdl_std_cursor_HOT_Y_top_left_corner   -14

Definition at line 297 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HOT_Y_top_right_corner

#define sdl_std_cursor_HOT_Y_top_right_corner   -14

Definition at line 284 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HOT_Y_top_side

#define sdl_std_cursor_HOT_Y_top_side   -14

Definition at line 271 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HOT_Y_umbrella

#define sdl_std_cursor_HOT_Y_umbrella   -12

Definition at line 258 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HOT_Y_watch

#define sdl_std_cursor_HOT_Y_watch   -7

Definition at line 245 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_HOT_Y_xterm

#define sdl_std_cursor_HOT_Y_xterm   -7

Definition at line 232 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_WIDTH_arrow

#define sdl_std_cursor_WIDTH_arrow   16

Definition at line 495 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_WIDTH_bottom_left_corner

#define sdl_std_cursor_WIDTH_bottom_left_corner   16

Definition at line 482 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_WIDTH_bottom_right_corner

#define sdl_std_cursor_WIDTH_bottom_right_corner   16

Definition at line 469 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_WIDTH_bottom_side

#define sdl_std_cursor_WIDTH_bottom_side   15

Definition at line 456 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_WIDTH_crosshair

#define sdl_std_cursor_WIDTH_crosshair   16

Definition at line 443 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_WIDTH_left_ptr

#define sdl_std_cursor_WIDTH_left_ptr   10

Definition at line 430 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_WIDTH_left_side

#define sdl_std_cursor_WIDTH_left_side   16

Definition at line 417 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_WIDTH_pirate

#define sdl_std_cursor_WIDTH_pirate   16

Definition at line 404 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_WIDTH_question_arrow

#define sdl_std_cursor_WIDTH_question_arrow   11

Definition at line 391 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_WIDTH_right_ptr

#define sdl_std_cursor_WIDTH_right_ptr   10

Definition at line 378 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_WIDTH_right_side

#define sdl_std_cursor_WIDTH_right_side   16

Definition at line 365 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_WIDTH_sb_h_double_arrow

#define sdl_std_cursor_WIDTH_sb_h_double_arrow   15

Definition at line 352 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_WIDTH_sb_v_double_arrow

#define sdl_std_cursor_WIDTH_sb_v_double_arrow   9

Definition at line 307 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_WIDTH_top_left_corner

#define sdl_std_cursor_WIDTH_top_left_corner   16

Definition at line 294 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_WIDTH_top_right_corner

#define sdl_std_cursor_WIDTH_top_right_corner   16

Definition at line 281 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_WIDTH_top_side

#define sdl_std_cursor_WIDTH_top_side   15

Definition at line 268 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_WIDTH_umbrella

#define sdl_std_cursor_WIDTH_umbrella   16

Definition at line 255 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_WIDTH_watch

#define sdl_std_cursor_WIDTH_watch   16

Definition at line 242 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_WIDTH_xterm

#define sdl_std_cursor_WIDTH_xterm   9

Definition at line 229 of file GHOST_WindowSDL.cc.

Function Documentation

◆ getStandardCursorShape()

◆ sdl_ghost_CreateCursor()

SDL_Cursor * sdl_ghost_CreateCursor ( const uint8_t * data,
const uint8_t * mask,
int w,
int h,
int hot_x,
int hot_y )
static

Definition at line 505 of file GHOST_WindowSDL.cc.

References data, mask(), w(), x, and y.

Referenced by GHOST_WindowSDL::setWindowCustomCursorShape().

Variable Documentation

◆ sdl_std_cursor_array

SDL_Cursor* sdl_std_cursor_array[int(GHOST_kStandardCursorNumCursors)] = {nullptr}
static

Definition at line 501 of file GHOST_WindowSDL.cc.

Referenced by getStandardCursorShape().

◆ sdl_std_cursor_arrow

uchar sdl_std_cursor_arrow[]
static
Initial value:
= {
0x00, 0x30, 0x00, 0x3c, 0x00, 0x1f, 0xc0, 0x1f, 0xf0, 0x0f, 0xfc, 0x0f, 0xc0, 0x07, 0xe0, 0x07,
0x70, 0x03, 0x38, 0x03, 0x1c, 0x01, 0x0e, 0x01, 0x07, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00,
}

Definition at line 491 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_bottom_left_corner

uchar sdl_std_cursor_bottom_left_corner[]
static
Initial value:
= {
0x03, 0x00, 0x03, 0x00, 0x23, 0x08, 0x23, 0x04, 0x23, 0x02, 0x23, 0x01, 0xa3, 0x00, 0x63, 0x00,
0xe3, 0x0f, 0x03, 0x00, 0x03, 0x00, 0x03, 0x00, 0xff, 0x3f, 0xff, 0x3f, 0x00, 0x00, 0x00, 0x00,
}

Definition at line 478 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_bottom_right_corner

uchar sdl_std_cursor_bottom_right_corner[]
static
Initial value:
= {
0x00, 0x30, 0x00, 0x30, 0x04, 0x31, 0x08, 0x31, 0x10, 0x31, 0x20, 0x31, 0x40, 0x31, 0x80, 0x31,
0xfc, 0x31, 0x00, 0x30, 0x00, 0x30, 0x00, 0x30, 0xff, 0x3f, 0xff, 0x3f, 0x00, 0x00, 0x00, 0x00,
}

Definition at line 465 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_bottom_side

uchar sdl_std_cursor_bottom_side[]
static
Initial value:
= {
0x40, 0x00, 0x40, 0x00, 0x40, 0x00, 0x40, 0x00, 0x40, 0x00, 0x40, 0x00, 0x44, 0x04, 0x48, 0x02,
0x50, 0x01, 0xe0, 0x00, 0x40, 0x00, 0x00, 0x00, 0xff, 0x1f, 0xff, 0x1f, 0x00, 0x00, 0x00, 0x00,
}

Definition at line 452 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_crosshair

uchar sdl_std_cursor_crosshair[]
static
Initial value:
= {
0x80, 0x00, 0x80, 0x00, 0x80, 0x00, 0x80, 0x00, 0x80, 0x00, 0x80, 0x00, 0x80, 0x00, 0x7f, 0xff,
0x80, 0x00, 0x80, 0x00, 0x80, 0x00, 0x80, 0x00, 0x80, 0x00, 0x80, 0x00, 0x80, 0x00, 0x00, 0x00,
}

Definition at line 439 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_left_ptr

uchar sdl_std_cursor_left_ptr[]
static
Initial value:
= {
0x00, 0x00, 0x02, 0x00, 0x06, 0x00, 0x0e, 0x00, 0x1e, 0x00, 0x3e, 0x00, 0x7e, 0x00, 0xfe, 0x00,
0xfe, 0x00, 0x3e, 0x00, 0x36, 0x00, 0x62, 0x00, 0x60, 0x00, 0xc0, 0x00, 0xc0, 0x00, 0x00, 0x00,
}

Definition at line 426 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_left_side

uchar sdl_std_cursor_left_side[]
static
Initial value:
= {
0x03, 0x00, 0x03, 0x00, 0x83, 0x00, 0x43, 0x00, 0x23, 0x00, 0x13, 0x00, 0xfb, 0x3f, 0x13,
0x00, 0x23, 0x00, 0x43, 0x00, 0x83, 0x00, 0x03, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00,
}

Definition at line 413 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_mask_arrow

uchar sdl_std_cursor_mask_arrow[]
static
Initial value:
= {
0x00, 0xe0, 0x00, 0xf8, 0x00, 0xfe, 0x80, 0x7f, 0xe0, 0x7f, 0xf8, 0x3f, 0xfc, 0x3f, 0xfc, 0x1f,
0xe0, 0x1f, 0xf0, 0x0f, 0xf8, 0x0f, 0x7c, 0x07, 0x3e, 0x07, 0x1f, 0x02, 0x0e, 0x00, 0x04, 0x00,
}

Definition at line 487 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_mask_bottom_left_corner

uchar sdl_std_cursor_mask_bottom_left_corner[]
static
Initial value:
= {
0x0f, 0x00, 0x0f, 0x00, 0xef, 0x30, 0xef, 0x38, 0xef, 0x1c, 0xef, 0x0e, 0xef, 0x07, 0xef, 0x03,
0xef, 0x3f, 0xef, 0x3f, 0xef, 0x3f, 0x0f, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
}

Definition at line 474 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_mask_bottom_right_corner

uchar sdl_std_cursor_mask_bottom_right_corner[]
static
Initial value:
= {
0x00, 0xf0, 0x00, 0xf0, 0x0c, 0xf7, 0x1c, 0xf7, 0x38, 0xf7, 0x70, 0xf7, 0xe0, 0xf7, 0xc0, 0xf7,
0xfc, 0xf7, 0xfc, 0xf7, 0xfc, 0xf7, 0x00, 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
}

Definition at line 461 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_mask_bottom_side

uchar sdl_std_cursor_mask_bottom_side[]
static
Initial value:
= {
0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01, 0xcc, 0x19, 0xdc, 0x1d,
0xf8, 0x0f, 0xf0, 0x07, 0xe0, 0x03, 0xc0, 0x01, 0xff, 0x7f, 0xff, 0x7f, 0xff, 0x7f, 0xff, 0x7f,
}

Definition at line 448 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_mask_crosshair

uchar sdl_std_cursor_mask_crosshair[]
static
Initial value:
= {
0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01,
}

Definition at line 435 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_mask_left_ptr

uchar sdl_std_cursor_mask_left_ptr[]
static
Initial value:
= {
0x03, 0x00, 0x07, 0x00, 0x0f, 0x00, 0x1f, 0x00, 0x3f, 0x00, 0x7f, 0x00, 0xff, 0x00, 0xff, 0x01,
0xff, 0x03, 0xff, 0x03, 0x7f, 0x00, 0xf7, 0x00, 0xf3, 0x00, 0xe0, 0x01, 0xe0, 0x01, 0xc0, 0x00,
}

Definition at line 422 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_mask_left_side

uchar sdl_std_cursor_mask_left_side[]
static
Initial value:
= {
0x0f, 0x00, 0x0f, 0x00, 0x0f, 0x03, 0x8f, 0x03, 0xcf, 0x01, 0xef, 0x00, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xef, 0x00, 0xcf, 0x01, 0x8f, 0x03, 0x0f, 0x03, 0x0f, 0x00, 0x0f, 0x00,
}

Definition at line 409 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_mask_pirate

uchar sdl_std_cursor_mask_pirate[]
static
Initial value:
= {
0xf0, 0x03, 0xf8, 0x07, 0xfc, 0x0f, 0xfe, 0x1f, 0xfe, 0x1f, 0xfc, 0x0f, 0xf8, 0x07, 0xf1, 0x83,
0xf1, 0xe3, 0xf3, 0xf3, 0xef, 0x39, 0x1e, 0x1e, 0xe0, 0x01, 0xfe, 0xc7, 0xff, 0xff, 0x0f, 0x7c,
}

Definition at line 396 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_mask_question_arrow

uchar sdl_std_cursor_mask_question_arrow[]
static
Initial value:
= {
0xf8, 0x00, 0xfc, 0x01, 0xfe, 0x03, 0xff, 0x07, 0x8f, 0x07, 0x9f, 0x07, 0xde, 0x07, 0xfc, 0x03,
0xf8, 0x01, 0xf8, 0x00, 0xf8, 0x00, 0xfc, 0x01, 0xfe, 0x03, 0xfc, 0x01, 0xf8, 0x00, 0x70, 0x00,
}

Definition at line 383 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_mask_right_ptr

uchar sdl_std_cursor_mask_right_ptr[]
static
Initial value:
= {
0x00, 0x03, 0x80, 0x03, 0xc0, 0x03, 0xe0, 0x03, 0xf0, 0x03, 0xf8, 0x03, 0xfc, 0x03, 0xfe, 0x03,
0xff, 0x03, 0xff, 0x03, 0xf8, 0x03, 0xbc, 0x03, 0x3c, 0x03, 0x1e, 0x00, 0x1e, 0x00, 0x0c, 0x00,
}

Definition at line 370 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_mask_right_side

uchar sdl_std_cursor_mask_right_side[]
static
Initial value:
= {
0x00, 0xf0, 0x00, 0xf0, 0xc0, 0xf0, 0xc0, 0xf1, 0x80, 0xf3, 0x00, 0xf7, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0x00, 0xf7, 0x80, 0xf3, 0xc0, 0xf1, 0xc0, 0xf0, 0x00, 0xf0, 0x00, 0xf0,
}

Definition at line 357 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_mask_sb_h_double_arrow

uchar sdl_std_cursor_mask_sb_h_double_arrow[]
static
Initial value:
= {
0x18,
0x0c,
0x1c,
0x1c,
0xfe,
0x3f,
0xff,
0x7f,
0xff,
0x7f,
0xff,
0x7f,
0xfe,
0x3f,
0x1c,
0x1c,
0x18,
0x0c,
}

Definition at line 312 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_mask_sb_v_double_arrow

uchar sdl_std_cursor_mask_sb_v_double_arrow[]
static
Initial value:
= {
0x38, 0x00, 0x7c, 0x00, 0xfe, 0x00, 0xff, 0x01, 0xff, 0x01, 0x7c, 0x00, 0x7c, 0x00, 0x7c,
0x00, 0x7c, 0x00, 0x7c, 0x00, 0xff, 0x01, 0xff, 0x01, 0xfe, 0x00, 0x7c, 0x00, 0x38, 0x00,
}

Definition at line 299 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_mask_top_left_corner

uchar sdl_std_cursor_mask_top_left_corner[]
static
Initial value:
= {
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x0f, 0x00, 0xef, 0x3f, 0xef, 0x3f, 0xef, 0x3f,
0xef, 0x03, 0xef, 0x07, 0xef, 0x0e, 0xef, 0x1c, 0xef, 0x38, 0xef, 0x30, 0x0f, 0x00, 0x0f, 0x00,
}

Definition at line 286 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_mask_top_right_corner

uchar sdl_std_cursor_mask_top_right_corner[]
static
Initial value:
= {
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0xf0, 0xfc, 0xf7, 0xfc, 0xf7, 0xfc, 0xf7,
0xc0, 0xf7, 0xe0, 0xf7, 0x70, 0xf7, 0x38, 0xf7, 0x1c, 0xf7, 0x0c, 0xf7, 0x00, 0xf0, 0x00, 0xf0,
}

Definition at line 273 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_mask_top_side

uchar sdl_std_cursor_mask_top_side[]
static
Initial value:
= {
0xff, 0x7f, 0xff, 0x7f, 0xff, 0x7f, 0xff, 0x7f, 0xc0, 0x01, 0xe0, 0x03, 0xf0, 0x07, 0xf8, 0x0f,
0xdc, 0x1d, 0xcc, 0x19, 0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01,
}

Definition at line 260 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_mask_umbrella

uchar sdl_std_cursor_mask_umbrella[]
static
Initial value:
= {
0xe8, 0x76, 0xfb, 0xdf, 0xfd, 0x3f, 0xfe, 0xff, 0xff, 0x3f, 0xff, 0xff, 0xcf, 0x79, 0xc0, 0x01,
0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x07, 0xc0, 0x07, 0xc0, 0x07, 0xc0, 0x07, 0x80, 0x03,
}

Definition at line 247 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_mask_watch

uchar sdl_std_cursor_mask_watch[]
static
Initial value:
= {
0xfc, 0x0f, 0xfc, 0x0f, 0xfc, 0x0f, 0xfe, 0x1f, 0xff, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f, 0xfe, 0x1f, 0xfc, 0x0f, 0xfc, 0x0f, 0xfc, 0x0f,
}

Definition at line 234 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_mask_xterm

uchar sdl_std_cursor_mask_xterm[]
static
Initial value:
= {
0xef, 0x01, 0xff, 0x01, 0xff, 0x01, 0x7c, 0x00, 0x38, 0x00, 0x38, 0x00, 0x38, 0x00, 0x38, 0x00,
0x38, 0x00, 0x38, 0x00, 0x38, 0x00, 0x38, 0x00, 0x7c, 0x00, 0xff, 0x01, 0xff, 0x01, 0xef, 0x01,
}

Definition at line 221 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_pirate

uchar sdl_std_cursor_pirate[]
static
Initial value:
= {
0xe0, 0x01, 0xf0, 0x03, 0xf8, 0x07, 0xcc, 0x0c, 0xcc, 0x0c, 0xf8, 0x07, 0xf0, 0x03, 0xe0, 0x01,
0xe1, 0x21, 0xe1, 0x61, 0xc2, 0x10, 0x1c, 0x0e, 0xe0, 0x01, 0xf8, 0x47, 0x0f, 0x7c, 0x01, 0x20,
}

Definition at line 400 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_question_arrow

uchar sdl_std_cursor_question_arrow[]
static
Initial value:
= {
0x7c, 0x00, 0xfe, 0x00, 0xc7, 0x01, 0x83, 0x01, 0x87, 0x01, 0xc6, 0x01, 0xe0, 0x00, 0x78, 0x00,
0x38, 0x00, 0x28, 0x00, 0x28, 0x00, 0xee, 0x00, 0x6c, 0x00, 0x38, 0x00, 0x10, 0x00, 0x00, 0x00,
}

Definition at line 387 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_right_ptr

uchar sdl_std_cursor_right_ptr[]
static
Initial value:
= {
0x00, 0x80, 0x00, 0xc0, 0x00, 0xe0, 0x00, 0xf0, 0x00, 0xf8, 0x00, 0xfc, 0x00, 0xfe, 0x00, 0xff,
0x00, 0xf8, 0x00, 0xd8, 0x00, 0x8c, 0x00, 0x0c, 0x00, 0x06, 0x00, 0x06, 0x00, 0x00, 0x00, 0x00,
}

Definition at line 374 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_right_side

uchar sdl_std_cursor_right_side[]
static
Initial value:
= {
0x00, 0x30, 0x00, 0x30, 0x40, 0x30, 0x80, 0x30, 0x00, 0x31, 0x00, 0x32, 0xff, 0x37, 0x00,
0x32, 0x00, 0x31, 0x80, 0x30, 0x40, 0x30, 0x00, 0x30, 0x00, 0x30, 0x00, 0x00, 0x00, 0x00,
}

Definition at line 361 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_sb_h_double_arrow

uchar sdl_std_cursor_sb_h_double_arrow[]
static
Initial value:
= {
0x00,
0x00,
0x08,
0x08,
0x0c,
0x18,
0xfe,
0x3f,
0x0f,
0x78,
0xfe,
0x3f,
0x0c,
0x18,
0x08,
0x08,
0x00,
0x00,
}

Definition at line 332 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_sb_v_double_arrow

uchar sdl_std_cursor_sb_v_double_arrow[]
static
Initial value:
= {
0x10, 0x00, 0x38, 0x00, 0x7c, 0x00, 0xfe, 0x00, 0x28, 0x00, 0x28, 0x00, 0x28, 0x00, 0x28,
0x00, 0x28, 0x00, 0x28, 0x00, 0x28, 0x00, 0xfe, 0x00, 0x7c, 0x00, 0x38, 0x00, 0x10, 0x00,
}

Definition at line 303 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_top_left_corner

uchar sdl_std_cursor_top_left_corner[]
static
Initial value:
= {
0xff, 0x3f, 0xff, 0x3f, 0x03, 0x00, 0x03, 0x00, 0x03, 0x00, 0xe3, 0x0f, 0x63, 0x00, 0xa3, 0x00,
0x23, 0x01, 0x23, 0x02, 0x23, 0x04, 0x23, 0x08, 0x03, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00,
}

Definition at line 290 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_top_right_corner

uchar sdl_std_cursor_top_right_corner[]
static
Initial value:
= {
0xff, 0x3f, 0xff, 0x3f, 0x00, 0x30, 0x00, 0x30, 0x00, 0x30, 0xfc, 0x31, 0x80, 0x31, 0x40, 0x31,
0x20, 0x31, 0x10, 0x31, 0x08, 0x31, 0x04, 0x31, 0x00, 0x30, 0x00, 0x30, 0x00, 0x00, 0x00, 0x00,
}

Definition at line 277 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_top_side

uchar sdl_std_cursor_top_side[]
static
Initial value:
= {
0xff, 0x1f, 0xff, 0x1f, 0x00, 0x00, 0x40, 0x00, 0xe0, 0x00, 0x50, 0x01, 0x48, 0x02, 0x44, 0x04,
0x40, 0x00, 0x40, 0x00, 0x40, 0x00, 0x40, 0x00, 0x40, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00,
}

Definition at line 264 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_umbrella

uchar sdl_std_cursor_umbrella[]
static
Initial value:
= {
0x88, 0x04, 0x20, 0x0a, 0xc9, 0x32, 0xf2, 0x09, 0x4c, 0x06, 0x43, 0x18, 0x40, 0x00, 0x40, 0x00,
0x40, 0x00, 0x40, 0x00, 0x40, 0x00, 0x40, 0x01, 0x40, 0x01, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00,
}

Definition at line 251 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_watch

uchar sdl_std_cursor_watch[]
static
Initial value:
= {
0xf8, 0x07, 0xf8, 0x07, 0xf8, 0x07, 0xfc, 0x0f, 0x86, 0x18, 0x83, 0x30, 0x81, 0xe0, 0xc1, 0xe1,
0xc1, 0xe1, 0x21, 0xe0, 0x13, 0x30, 0x06, 0x18, 0xfc, 0x0f, 0xf8, 0x07, 0xf8, 0x07, 0xf8, 0x07,
}

Definition at line 238 of file GHOST_WindowSDL.cc.

◆ sdl_std_cursor_xterm

uchar sdl_std_cursor_xterm[]
static
Initial value:
= {
0x00, 0x77, 0x00, 0x1c, 0x00, 0x08, 0x00, 0x08, 0x00, 0x08, 0x00, 0x08, 0x00, 0x08, 0x00, 0x08,
0x00, 0x08, 0x00, 0x08, 0x00, 0x08, 0x00, 0x08, 0x00, 0x1c, 0x00, 0x77, 0x00, 0x00, 0x00, 0x00,
}

Definition at line 225 of file GHOST_WindowSDL.cc.