MCPcopy Create free account
hub / github.com/EasyRPG/Player / Window_Help

Method Window_Help

src/window_help.cpp:23–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21#include "font.h"
22
23Window_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
32void Window_Help::SetText(std::string text, int color, Text::Alignment align, bool halfwidthspace) {
33 if (this->text != text || this->color != color || this->align != align) {

Callers

nothing calls this directly

Calls 1

ClearMethod · 0.45

Tested by

no test coverage detected