diff engine/core/video/sdl/renderbackendsdl.h @ 61:18c2a21ac0ad

allow clients to set a custom window title and icon
author spq@33b003aa-7bff-0310-803a-e67f0ece8222
date Wed, 16 Jul 2008 12:37:41 +0000
parents 90005975cdbb
children ad7969d9460b
line wrap: on
line diff
--- a/engine/core/video/sdl/renderbackendsdl.h	Tue Jul 15 20:12:30 2008 +0000
+++ b/engine/core/video/sdl/renderbackendsdl.h	Wed Jul 16 12:37:41 2008 +0000
@@ -47,7 +47,7 @@
 		void startFrame();
 		void endFrame();
 		void init();
-		Image* createMainScreen(unsigned int width, unsigned int height, unsigned char bitsPerPixel, bool fullscreen);
+		Image* createMainScreen(unsigned int width, unsigned int height, unsigned char bitsPerPixel, bool fullscreen, const std::string& title, const std::string& icon);
 		Image* createImage(const uint8_t* data, unsigned int width, unsigned int height);
 		Image* createImage(SDL_Surface* surface);
  		bool putPixel(int x, int y, int r, int g, int b);