Mercurial > fife-parpg
comparison engine/core/video/fonts/subimagefont.h @ 425:ad7969d9460b
A client can now specify a global color key to be used with all images. The default color key is (255,0,255) in RGB format. Also the client can enable/disable the color key feature by using the setColorKeyEnabled function in the EngineSettings class. By default the color key feature is disabled. fixes[t:451]
author | vtchill@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Sat, 20 Feb 2010 19:11:01 +0000 |
parents | 90005975cdbb |
children |
comparison
equal
deleted
inserted
replaced
424:e29fbf84cb41 | 425:ad7969d9460b |
---|---|
52 */ | 52 */ |
53 SubImageFont(const std::string& filename, const std::string& glyphs, ImagePool& pool); | 53 SubImageFont(const std::string& filename, const std::string& glyphs, ImagePool& pool); |
54 ~SubImageFont() {} | 54 ~SubImageFont() {} |
55 private: | 55 private: |
56 ImagePool& m_pool; | 56 ImagePool& m_pool; |
57 SDL_Color m_colorkey; | |
57 }; | 58 }; |
58 | 59 |
59 } | 60 } |
60 | 61 |
61 #endif | 62 #endif |