Blender
V3.3
|
#include "GHOST_WindowSDL.h"
#include "SDL_mouse.h"
#include "glew-mx.h"
#include "GHOST_ContextSDL.h"
#include <cassert>
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 484 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HEIGHT_bottom_left_corner 16 |
Definition at line 471 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HEIGHT_bottom_right_corner 16 |
Definition at line 458 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HEIGHT_bottom_side 16 |
Definition at line 445 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HEIGHT_crosshair 16 |
Definition at line 432 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HEIGHT_left_ptr 16 |
Definition at line 419 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HEIGHT_left_side 15 |
Definition at line 406 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HEIGHT_pirate 16 |
Definition at line 393 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HEIGHT_question_arrow 16 |
Definition at line 380 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HEIGHT_right_ptr 16 |
Definition at line 367 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HEIGHT_right_side 15 |
Definition at line 354 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HEIGHT_sb_h_double_arrow 9 |
Definition at line 341 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HEIGHT_sb_v_double_arrow 15 |
Definition at line 296 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HEIGHT_top_left_corner 16 |
Definition at line 283 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HEIGHT_top_right_corner 16 |
Definition at line 270 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HEIGHT_top_side 16 |
Definition at line 257 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HEIGHT_umbrella 16 |
Definition at line 244 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HEIGHT_watch 16 |
Definition at line 231 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HEIGHT_xterm 16 |
Definition at line 218 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HOT_X_arrow -13 |
Definition at line 485 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HOT_X_bottom_left_corner 0 |
Definition at line 472 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HOT_X_bottom_right_corner -13 |
Definition at line 459 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HOT_X_bottom_side -6 |
Definition at line 446 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HOT_X_crosshair -7 |
Definition at line 433 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HOT_X_left_ptr -8 |
Definition at line 420 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HOT_X_left_side 0 |
Definition at line 407 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HOT_X_pirate -7 |
Definition at line 394 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HOT_X_question_arrow -4 |
Definition at line 381 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HOT_X_right_ptr -7 |
Definition at line 368 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HOT_X_right_side -13 |
Definition at line 355 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HOT_X_sb_h_double_arrow -7 |
Definition at line 342 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HOT_X_sb_v_double_arrow -3 |
Definition at line 297 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HOT_X_top_left_corner 0 |
Definition at line 284 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HOT_X_top_right_corner -13 |
Definition at line 271 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HOT_X_top_side -6 |
Definition at line 258 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HOT_X_umbrella -7 |
Definition at line 245 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HOT_X_watch -15 |
Definition at line 232 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HOT_X_xterm -3 |
Definition at line 219 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HOT_Y_arrow -14 |
Definition at line 486 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HOT_Y_bottom_left_corner -1 |
Definition at line 473 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HOT_Y_bottom_right_corner -1 |
Definition at line 460 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HOT_Y_bottom_side -1 |
Definition at line 447 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HOT_Y_crosshair -8 |
Definition at line 434 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HOT_Y_left_ptr -14 |
Definition at line 421 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HOT_Y_left_side -7 |
Definition at line 408 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HOT_Y_pirate -4 |
Definition at line 395 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HOT_Y_question_arrow -8 |
Definition at line 382 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HOT_Y_right_ptr -14 |
Definition at line 369 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HOT_Y_right_side -7 |
Definition at line 356 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HOT_Y_sb_h_double_arrow -4 |
Definition at line 343 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HOT_Y_sb_v_double_arrow -8 |
Definition at line 298 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HOT_Y_top_left_corner -14 |
Definition at line 285 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HOT_Y_top_right_corner -14 |
Definition at line 272 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HOT_Y_top_side -14 |
Definition at line 259 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HOT_Y_umbrella -12 |
Definition at line 246 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HOT_Y_watch -7 |
Definition at line 233 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_HOT_Y_xterm -7 |
Definition at line 220 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_WIDTH_arrow 16 |
Definition at line 483 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_WIDTH_bottom_left_corner 16 |
Definition at line 470 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_WIDTH_bottom_right_corner 16 |
Definition at line 457 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_WIDTH_bottom_side 15 |
Definition at line 444 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_WIDTH_crosshair 16 |
Definition at line 431 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_WIDTH_left_ptr 10 |
Definition at line 418 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_WIDTH_left_side 16 |
Definition at line 405 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_WIDTH_pirate 16 |
Definition at line 392 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_WIDTH_question_arrow 11 |
Definition at line 379 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_WIDTH_right_ptr 10 |
Definition at line 366 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_WIDTH_right_side 16 |
Definition at line 353 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_WIDTH_sb_h_double_arrow 15 |
Definition at line 340 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_WIDTH_sb_v_double_arrow 9 |
Definition at line 295 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_WIDTH_top_left_corner 16 |
Definition at line 282 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_WIDTH_top_right_corner 16 |
Definition at line 269 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_WIDTH_top_side 15 |
Definition at line 256 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_WIDTH_umbrella 16 |
Definition at line 243 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_WIDTH_watch 16 |
Definition at line 230 of file GHOST_WindowSDL.cpp.
#define sdl_std_cursor_WIDTH_xterm 9 |
Definition at line 217 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 543 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, and sdl_std_cursor_array.
Referenced by GHOST_WindowSDL::hasCursorShape(), and GHOST_WindowSDL::setWindowCursorShape().
|
static |
Definition at line 493 of file GHOST_WindowSDL.cpp.
References data, mask(), surface, w(), x, and y.
Referenced by GHOST_WindowSDL::setWindowCustomCursorShape().
|
static |
Definition at line 489 of file GHOST_WindowSDL.cpp.
Referenced by getStandardCursorShape().
|
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 475 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 462 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 449 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 436 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 423 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 410 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 397 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 384 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 371 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 358 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 345 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 300 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 287 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 274 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 261 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 248 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 235 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 222 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 209 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 349 of file GHOST_WindowSDL.cpp.
|
static |
Definition at line 320 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 213 of file GHOST_WindowSDL.cpp.