+1  A: 

I see you found your solution, but please note that you could also get away with writing a class wrapper for SDL_rect, or even a global function SDL_rect createRect( int x, int y, int w, int h )

Kornel Kisielewicz
Good idea. I'll remember that in future.
Pod