diff engine/core/controller/enginesettings.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 98541d3b9220
line wrap: on
line diff
--- a/engine/core/controller/enginesettings.h	Tue Jul 15 20:12:30 2008 +0000
+++ b/engine/core/controller/enginesettings.h	Wed Jul 16 12:37:41 2008 +0000
@@ -181,8 +181,19 @@
 		unsigned int getImageChunkingSize() {
 			return m_image_chunking_size;
 		}
+
+		void setWindowTitle(const std::string& title);
+
+		std::string getWindowTitle() const {
+			return m_windowtitle;
+		}
 	
-	
+		void setWindowIcon(const std::string& icon);
+
+		std::string getWindowIcon() const {
+			return m_windowicon;
+		}
+		
 	private:
 		unsigned int m_bitsperpixel;
 		bool m_fullscreen;
@@ -191,6 +202,9 @@
 		bool m_sldremovefakealpha;
 		unsigned int m_screenwidth;
 		unsigned int m_screenheight;
+		std::string m_windowtitle;
+		std::string m_windowicon;
+		
 		
 		std::string m_defaultfontpath;
 		unsigned int m_defaultfontsize;