Mercurial > fife-parpg
comparison engine/core/controller/enginesettings.cpp @ 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 |
comparison
equal
deleted
inserted
replaced
60:1de7e6740a4a | 61:18c2a21ac0ad |
---|---|
42 m_initialvolume(MAXIMUM_VOLUME / 2), | 42 m_initialvolume(MAXIMUM_VOLUME / 2), |
43 m_renderbackend("SDL"), | 43 m_renderbackend("SDL"), |
44 m_sldremovefakealpha(false), | 44 m_sldremovefakealpha(false), |
45 m_screenwidth(800), | 45 m_screenwidth(800), |
46 m_screenheight(600), | 46 m_screenheight(600), |
47 m_windowtitle("FIFE"), | |
48 m_windowicon(""), | |
47 m_defaultfontpath(""), | 49 m_defaultfontpath(""), |
48 m_defaultfontsize(8), | 50 m_defaultfontsize(8), |
49 m_defaultfontglyphs(""), | 51 m_defaultfontglyphs(""), |
50 m_image_chunking_size(256) { | 52 m_image_chunking_size(256) { |
51 } | 53 } |
134 } | 136 } |
135 | 137 |
136 void EngineSettings::setDefaultFontGlyphs(const std::string& defaultfontglyphs) { | 138 void EngineSettings::setDefaultFontGlyphs(const std::string& defaultfontglyphs) { |
137 m_defaultfontglyphs = defaultfontglyphs; | 139 m_defaultfontglyphs = defaultfontglyphs; |
138 } | 140 } |
141 | |
142 void EngineSettings::setWindowTitle(const std::string& title) { | |
143 m_windowtitle = title; | |
144 } | |
145 | |
146 void EngineSettings::setWindowIcon(const std::string& icon) { | |
147 m_windowicon = icon; | |
148 } | |
149 | |
139 } | 150 } |
140 | 151 |