comparison src/video/SDL_cursor.c @ 1140:af8b0f9ac2f4

iPod Linux framebuffer support. --ryan. Date: Sun, 19 Jun 2005 15:53:22 -0700 From: Joshua Oreman <oremanj@gmail.com> To: sdl@libsdl.org Subject: [SDL] [PATCH] iPod framebuffer video driver Hi SDL-list, I've been working on a port of SDL to iPodLinux (http://www.ipodlinux.org). I've created a patch for both the standard 2-bit iPod screen (using an unchangeable palette) and the 16-bit iPod photo. The patch is attached, against version 1.2.8. I've created two pages on the iPodLinux wiki about this patch: http://www.ipodlinux.org/Building_SDL and http://www.ipodlinux.org/SDL_Programming. See those pages if you're curious. Comments? Questions? Is this something that might be able to get into SDL 1.2.9? Thanks for your feedback! -- Josh
author Ryan C. Gordon <icculus@icculus.org>
date Thu, 08 Sep 2005 07:33:22 +0000
parents b8d311d90021
children 96ef83467667
comparison
equal deleted inserted replaced
1139:d0ae4dff7208 1140:af8b0f9ac2f4
72 } 72 }
73 } 73 }
74 int SDL_CursorInit(Uint32 multithreaded) 74 int SDL_CursorInit(Uint32 multithreaded)
75 { 75 {
76 /* We don't have mouse focus, and the cursor isn't drawn yet */ 76 /* We don't have mouse focus, and the cursor isn't drawn yet */
77 #ifndef IPOD
77 SDL_cursorstate = CURSOR_VISIBLE; 78 SDL_cursorstate = CURSOR_VISIBLE;
79 #endif
78 80
79 /* Create the default cursor */ 81 /* Create the default cursor */
80 if ( SDL_defcursor == NULL ) { 82 if ( SDL_defcursor == NULL ) {
81 SDL_defcursor = SDL_CreateCursor(default_cdata, default_cmask, 83 SDL_defcursor = SDL_CreateCursor(default_cdata, default_cmask,
82 DEFAULT_CWIDTH, DEFAULT_CHEIGHT, 84 DEFAULT_CWIDTH, DEFAULT_CHEIGHT,