| 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 "WiLabel.h" |
| 10 |
|
| 11 |
#include "Font.h" |
| 12 |
|
| 13 |
//----------------------------------------------------------------- |
| 14 |
WiLabel::WiLabel(const std::string &text, const Font &font, |
| 15 |
const SDL_Color &color) |
| 16 |
: WiPicture(font.renderTextOutlined(text, color)) |
| 17 |
{ |
| 18 |
} |