Debian Codegraph @

src/effect/TTFException.cpp

raw
1 /*
2 * Copyright (C) 2004 Ivo Danihelka ([email protected])
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 */
9 #include "TTFException.h"
10
11 #include "SDL_ttf.h"
12
13 //-----------------------------------------------------------------
14 /**
15 * Add TTF_GetError to info.
16 * @param problem detail info
17 */
18 TTFException::TTFException(const ExInfo &problem)
19 : BaseException(ExInfo(problem).addInfo("TTF", TTF_GetError()))
20 {
21 /* empty */
22 }