Help about sdl

Hi all!

I am trying to manipulate a 2D picture using sdl. The purpose is to get the
specular picture from the source one. Does anyone know how to do it? It is like
the function available in the photoeditor softwares (the mirror effect).

Furthermore, I need a special type of cursor. I know there is the function
CreateCursor but it doesnt let me customize the cursor. I want the cursor being
coloured and that could use an image by loading it. Is that possible? In that
case I would appreciate any suggestion or better, source code example for both
questions.

Thanks in advance.

Coder

Behalf Of COMPILER

Hi all!

I am trying to manipulate a 2D picture using sdl. The purpose is to
get the specular picture from the source one. Does anyone know
how to do it? It is like the function available in the photoeditor
softwares (the mirror effect).

Not sure about the function for this.

Furthermore, I need a special type of cursor. I know there is the
function CreateCursor but it doesnt let me customize the cursor.
I want the cursor being coloured and that could use an image by
loading it. Is that possible? In that case I would appreciate any
suggestion or better, source code example for both questions.

This is easy to do. Just create your own color cursor image and then catch
the SDL events for the mouse movement. Use the updated coordinates to move
your special cursor.

Ken Rogoway
Homebrew Software
http://www.homebrewsoftware.com/

No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.484 / Virus Database: 269.12.8/973 - Release Date: 8/25/2007
5:00 PM

----- Original Message -----
From: sdl-bounces@lists.libsdl.org [mailto:sdl-bounces at lists.libsdl.org] On
Sent: Saturday, August 25, 2007 3:05 PM
To: sdl at libsdl.org
Subject: [SDL] HELP ABOUT SDL