Mercurial > fife-parpg
diff 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 |
line wrap: on
line diff
--- a/engine/core/controller/enginesettings.cpp Tue Jul 15 20:12:30 2008 +0000 +++ b/engine/core/controller/enginesettings.cpp Wed Jul 16 12:37:41 2008 +0000 @@ -44,6 +44,8 @@ m_sldremovefakealpha(false), m_screenwidth(800), m_screenheight(600), + m_windowtitle("FIFE"), + m_windowicon(""), m_defaultfontpath(""), m_defaultfontsize(8), m_defaultfontglyphs(""), @@ -136,5 +138,14 @@ void EngineSettings::setDefaultFontGlyphs(const std::string& defaultfontglyphs) { m_defaultfontglyphs = defaultfontglyphs; } + + void EngineSettings::setWindowTitle(const std::string& title) { + m_windowtitle = title; + } + + void EngineSettings::setWindowIcon(const std::string& icon) { + m_windowicon = icon; + } + }