SDL, two question: Scale image and delete the mouse on start

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
darkness
Posts: 121
Joined: Sun Jun 15, 2008 8:42 pm

SDL, two question: Scale image and delete the mouse on start

Post by darkness »

Excuse me,
I'm learning the SDL lib, I've simply try to blit a image on the screen and all works great, but before the image is blitted I can see a mouse(????) on the screen, but I've never blitted a mouse!!!! How to delete it? I wan't see it at start!
And the second question:
I'va a big image to blit on the screen but when it's blitted it's go out of screen, is possible to resize it???
darkness
Posts: 121
Joined: Sun Jun 15, 2008 8:42 pm

Post by darkness »

I've resolved with the funct for scale a image!
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

To hide the cursor, call SDL_ShowCursor(0).
darkness
Posts: 121
Joined: Sun Jun 15, 2008 8:42 pm

Post by darkness »

Thanks!
Post Reply