changeset 107:860d81602a2a

- prepared basicapplication to use WindowTitle / WindowIcon from clients settings.py - modified editor settings.py - modified rio de hola settings.py
author chewie@33b003aa-7bff-0310-803a-e67f0ece8222
date Fri, 25 Jul 2008 17:14:13 +0000
parents 1fa74d3229d5
children 0c017b8e4ab2
files clients/editor/settings.py clients/rio_de_hola/settings.py engine/extensions/basicapplication.py
diffstat 3 files changed, 14 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/clients/editor/settings.py	Fri Jul 25 00:59:08 2008 +0000
+++ b/clients/editor/settings.py	Fri Jul 25 17:14:13 2008 +0000
@@ -6,6 +6,7 @@
 SDLRemoveFakeAlpha  = 1
 ScreenWidth         = 1024
 ScreenHeight        = 768
+
 Font                = 'content/fonts/samanata.ttf'
 FontGlyphs          = " abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.,!?-+/():;%&`'*#=[]\""
 
@@ -13,3 +14,6 @@
 LogToPrompt         = 1
 LogToFile           = 0
 
+WindowTitle			= 'FIFE - Editor client'
+WindowIcon			= ''
+
--- a/clients/rio_de_hola/settings.py	Fri Jul 25 00:59:08 2008 +0000
+++ b/clients/rio_de_hola/settings.py	Fri Jul 25 17:14:13 2008 +0000
@@ -6,6 +6,9 @@
 SDLRemoveFakeAlpha  = 1
 ScreenWidth         = 1024
 ScreenHeight        = 768
+WindowTitle			= 'FIFE - Rio de hola'
+WindowIcon			= ''
+
 MapFile             = 'maps/shrine.xml'
 Font                = 'fonts/samanata.ttf'
 FontGlyphs          = " abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.,!?-+/():;%&`'*#=[]\""
--- a/engine/extensions/basicapplication.py	Fri Jul 25 00:59:08 2008 +0000
+++ b/engine/extensions/basicapplication.py	Fri Jul 25 17:14:13 2008 +0000
@@ -78,6 +78,13 @@
 		engineSetting.setSDLRemoveFakeAlpha(settings.SDLRemoveFakeAlpha)
 		engineSetting.setScreenWidth(settings.ScreenWidth)
 		engineSetting.setScreenHeight(settings.ScreenHeight)
+
+
+		try:
+			engineSetting.setWindowTitle(settings.WindowTitle)
+			engineSetting.setWindowIcon(settings.WindowIcon)
+		except:
+			pass			
 		try:
 			engineSetting.setImageChunkingSize(settings.ImageChunkSize)
 		except: