NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
lyt_textBox.hpp
1#pragma once
2#include <lib/nw4r/lyt/lyt_draw_info.hpp>
3#include <lib/nw4r/lyt/lyt_pane.hpp>
4#include <_dummy_classes.hpp>
5
6namespace nw4r {
7namespace lyt {
8
9class TextBox : public Pane {
10public:
11
12 TextBox(const res::TextBox *, const ResBlockSet &);
13
14 virtual int *GetRuntimeTypeInfo() const { return &typeInfo; }
15 virtual void DrawSelf(const DrawInfo &);
16 virtual ut::Color GetVtxColor(unsigned long) const;
17 virtual ut::Color SetVtxColor(unsigned long, ut::Color);
18 virtual unsigned char GetVtxColorElement(unsigned long) const;
19 virtual void SetVtxColorElement(unsigned long, unsigned char);
20 virtual void LoadMtx(const DrawInfo &);
21
22 virtual void AllocStringBuffer(unsigned short);
23 virtual void FreeStringBuffer();
24 virtual unsigned short SetString(const wchar_t *, unsigned short);
25 virtual unsigned short SetString(const wchar_t *, unsigned short, unsigned short);
26
27 ut::Font *GetFont() const;
28 void SetFont(const ut::Font *);
29
30private:
31 static int typeInfo;
32};
33
34} // namespace lyt
35} // namespace nw4r
A 32-bit RGBA color.
Definition color.hpp:8