| 21 | #include "font.h" |
| 22 | |
| 23 | Window_Help::Window_Help(int ix, int iy, int iwidth, int iheight, Drawable::Flags flags) : |
| 24 | Window_Base(ix, iy, iwidth, iheight, flags), |
| 25 | align(Text::AlignLeft) { |
| 26 | |
| 27 | SetContents(Bitmap::Create(width - 16, height - 16)); |
| 28 | |
| 29 | contents->Clear(); |
| 30 | } |
| 31 | |
| 32 | void Window_Help::SetText(std::string text, int color, Text::Alignment align, bool halfwidthspace) { |
| 33 | if (this->text != text || this->color != color || this->align != align) { |