|
Blender
V2.93
|
#include "GHOST_WindowSDL.h"#include "SDL_mouse.h"#include "glew-mx.h"#include "GHOST_ContextSDL.h"#include <assert.h>Go to the source code of this file.
Functions | |
| static SDL_Cursor * | sdl_ghost_CreateCursor (const Uint8 *data, const Uint8 *mask, int w, int h, int hot_x, int hot_y) |
| static SDL_Cursor * | getStandardCursorShape (GHOST_TStandardCursor shape) |
| #define DEF_CURSOR | ( | name, | |
| ind | |||
| ) |
| #define sdl_std_cursor_HEIGHT_arrow 16 |
Definition at line 501 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HEIGHT_bottom_left_corner 16 |
Definition at line 488 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HEIGHT_bottom_right_corner 16 |
Definition at line 475 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HEIGHT_bottom_side 16 |
Definition at line 462 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HEIGHT_crosshair 16 |
Definition at line 449 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HEIGHT_left_ptr 16 |
Definition at line 436 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HEIGHT_left_side 15 |
Definition at line 423 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HEIGHT_pirate 16 |
Definition at line 410 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HEIGHT_question_arrow 16 |
Definition at line 397 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HEIGHT_right_ptr 16 |
Definition at line 384 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HEIGHT_right_side 15 |
Definition at line 371 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HEIGHT_sb_h_double_arrow 9 |
Definition at line 358 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HEIGHT_sb_v_double_arrow 15 |
Definition at line 313 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HEIGHT_top_left_corner 16 |
Definition at line 300 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HEIGHT_top_right_corner 16 |
Definition at line 287 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HEIGHT_top_side 16 |
Definition at line 274 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HEIGHT_umbrella 16 |
Definition at line 261 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HEIGHT_watch 16 |
Definition at line 248 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HEIGHT_xterm 16 |
Definition at line 235 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HOT_X_arrow -13 |
Definition at line 502 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HOT_X_bottom_left_corner 0 |
Definition at line 489 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HOT_X_bottom_right_corner -13 |
Definition at line 476 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HOT_X_bottom_side -6 |
Definition at line 463 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HOT_X_crosshair -7 |
Definition at line 450 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HOT_X_left_ptr -8 |
Definition at line 437 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HOT_X_left_side 0 |
Definition at line 424 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HOT_X_pirate -7 |
Definition at line 411 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HOT_X_question_arrow -4 |
Definition at line 398 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HOT_X_right_ptr -7 |
Definition at line 385 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HOT_X_right_side -13 |
Definition at line 372 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HOT_X_sb_h_double_arrow -7 |
Definition at line 359 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HOT_X_sb_v_double_arrow -3 |
Definition at line 314 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HOT_X_top_left_corner 0 |
Definition at line 301 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HOT_X_top_right_corner -13 |
Definition at line 288 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HOT_X_top_side -6 |
Definition at line 275 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HOT_X_umbrella -7 |
Definition at line 262 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HOT_X_watch -15 |
Definition at line 249 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HOT_X_xterm -3 |
Definition at line 236 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HOT_Y_arrow -14 |
Definition at line 503 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HOT_Y_bottom_left_corner -1 |
Definition at line 490 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HOT_Y_bottom_right_corner -1 |
Definition at line 477 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HOT_Y_bottom_side -1 |
Definition at line 464 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HOT_Y_crosshair -8 |
Definition at line 451 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HOT_Y_left_ptr -14 |
Definition at line 438 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HOT_Y_left_side -7 |
Definition at line 425 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HOT_Y_pirate -4 |
Definition at line 412 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HOT_Y_question_arrow -8 |
Definition at line 399 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HOT_Y_right_ptr -14 |
Definition at line 386 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HOT_Y_right_side -7 |
Definition at line 373 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HOT_Y_sb_h_double_arrow -4 |
Definition at line 360 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HOT_Y_sb_v_double_arrow -8 |
Definition at line 315 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HOT_Y_top_left_corner -14 |
Definition at line 302 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HOT_Y_top_right_corner -14 |
Definition at line 289 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HOT_Y_top_side -14 |
Definition at line 276 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HOT_Y_umbrella -12 |
Definition at line 263 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HOT_Y_watch -7 |
Definition at line 250 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_HOT_Y_xterm -7 |
Definition at line 237 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_WIDTH_arrow 16 |
Definition at line 500 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_WIDTH_bottom_left_corner 16 |
Definition at line 487 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_WIDTH_bottom_right_corner 16 |
Definition at line 474 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_WIDTH_bottom_side 15 |
Definition at line 461 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_WIDTH_crosshair 16 |
Definition at line 448 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_WIDTH_left_ptr 10 |
Definition at line 435 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_WIDTH_left_side 16 |
Definition at line 422 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_WIDTH_pirate 16 |
Definition at line 409 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_WIDTH_question_arrow 11 |
Definition at line 396 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_WIDTH_right_ptr 10 |
Definition at line 383 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_WIDTH_right_side 16 |
Definition at line 370 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_WIDTH_sb_h_double_arrow 15 |
Definition at line 357 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_WIDTH_sb_v_double_arrow 9 |
Definition at line 312 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_WIDTH_top_left_corner 16 |
Definition at line 299 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_WIDTH_top_right_corner 16 |
Definition at line 286 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_WIDTH_top_side 15 |
Definition at line 273 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_WIDTH_umbrella 16 |
Definition at line 260 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_WIDTH_watch 16 |
Definition at line 247 of file GHOST_WindowSDL.cpp.
| #define sdl_std_cursor_WIDTH_xterm 9 |
Definition at line 234 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 560 of file GHOST_WindowSDL.cpp.
References DEF_CURSOR, GHOST_kStandardCursorBottomLeftCorner, GHOST_kStandardCursorBottomRightCorner, GHOST_kStandardCursorBottomSide, GHOST_kStandardCursorCopy, GHOST_kStandardCursorCrosshair, GHOST_kStandardCursorDefault, GHOST_kStandardCursorDestroy, GHOST_kStandardCursorHelp, GHOST_kStandardCursorInfo, GHOST_kStandardCursorLeftArrow, GHOST_kStandardCursorLeftRight, GHOST_kStandardCursorLeftSide, GHOST_kStandardCursorPencil, GHOST_kStandardCursorRightArrow, GHOST_kStandardCursorRightSide, GHOST_kStandardCursorText, GHOST_kStandardCursorTopLeftCorner, GHOST_kStandardCursorTopRightCorner, GHOST_kStandardCursorTopSide, GHOST_kStandardCursorUpDown, GHOST_kStandardCursorWait, NULL, and sdl_std_cursor_array.
Referenced by GHOST_WindowSDL::hasCursorShape(), and GHOST_WindowSDL::setWindowCursorShape().
|
static |
Definition at line 510 of file GHOST_WindowSDL.cpp.
References data, mask(), NULL, surface, w(), x, and y.
Referenced by GHOST_WindowSDL::setWindowCustomCursorShape().
|
static |
Definition at line 506 of file GHOST_WindowSDL.cpp.
Referenced by getStandardCursorShape().
|
static |
Definition at line 496 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 483 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 470 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 457 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 444 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 431 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 418 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 492 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 479 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 466 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 453 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 440 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 427 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 414 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 401 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 388 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 375 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 362 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 317 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 304 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 291 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 278 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 265 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 252 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 239 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 226 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 405 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 392 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 379 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 366 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 337 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 308 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 295 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 282 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 269 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 256 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 243 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 230 of file GHOST_WindowSDL.cpp.