Sprite store API

This commit is contained in:
Konstantin Käfer
2015-06-11 11:07:28 -04:00
parent 03c4ed75a2
commit 7f705da564
9 changed files with 280 additions and 0 deletions

View File

@@ -11,6 +11,11 @@ struct Exception : std::runtime_error {
inline Exception(const std::string &msg) : std::runtime_error(msg) {}
};
struct SpriteImageException : Exception {
inline SpriteImageException(const char *msg) : Exception(msg) {}
inline SpriteImageException(const std::string &msg) : Exception(msg) {}
};
struct GlyphRangeLoadingException : Exception {
inline GlyphRangeLoadingException(const char *msg) : Exception(msg) {}
inline GlyphRangeLoadingException(const std::string &msg) : Exception(msg) {}