Mercurial > fife-parpg
comparison engine/core/video/renderbackend.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 |
comparison
equal
deleted
inserted
replaced
60:1de7e6740a4a | 61:18c2a21ac0ad |
---|---|
84 * @param height Height of the window. | 84 * @param height Height of the window. |
85 * @param bitsPerPixel Bits per pixel, 0 means autodetect. | 85 * @param bitsPerPixel Bits per pixel, 0 means autodetect. |
86 * @param fullscreen Use fullscreen mode? | 86 * @param fullscreen Use fullscreen mode? |
87 * @return The new Screen Image | 87 * @return The new Screen Image |
88 */ | 88 */ |
89 virtual Image* createMainScreen(unsigned int width, unsigned int height, unsigned char bitsPerPixel, bool fullscreen) = 0; | 89 virtual Image* createMainScreen(unsigned int width, unsigned int height, unsigned char bitsPerPixel, bool fullscreen, const std::string& title, const std::string& icon) = 0; |
90 | 90 |
91 /** Creates an Image suitable for this renderbackend. | 91 /** Creates an Image suitable for this renderbackend. |
92 * @param data Pointer to the imagedata (needs to be in RGBA, 8 bits per channel). | 92 * @param data Pointer to the imagedata (needs to be in RGBA, 8 bits per channel). |
93 * @param width Width of the image. | 93 * @param width Width of the image. |
94 * @param height Height of the image. | 94 * @param height Height of the image. |