NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
lyt_window.hpp
1#pragma once
2#include <lib/nw4r/lyt/lyt_pane.hpp>
3#include <lib/nw4r/math/vec.hpp>
4#include <_dummy_classes.hpp>
5
6namespace nw4r {
7namespace lyt {
8
9class Window : public Pane {
10 class Frame;
11
12public:
13
14 Window(const res::Window *, const ResBlockSet &);
15
16 virtual int *GetRuntimeTypeInfo() const { return &typeInfo; }
17 virtual void DrawSelf(const DrawInfo &);
18 virtual void AnimateSelf(unsigned long);
19 virtual ut::Color GetVtxColor(unsigned long) const;
20 virtual ut::Color SetVtxColor(unsigned long, ut::Color);
21 virtual unsigned char GetVtxColorElement(unsigned long) const;
22 virtual void SetVtxColorElement(unsigned long, unsigned char);
23 virtual Material *FindMaterialByName(const char *, bool);
24 virtual void UnbindAnimationSelf(AnimTransform *);
25 virtual bool GetMaterialNum() const;
26 virtual Material *GetMaterial(unsigned long) const;
27
28 Material *GetContentMaterial() const;
29 Material *GetFrameMaterial(unsigned long) const;
30 void DrawContent(const math::VEC2 &, const WindowFrameSize &, unsigned char);
31 void DrawFrame(const math::VEC2 &, const Window::Frame &, const WindowFrameSize &, unsigned char);
32 void DrawFrame4(const math::VEC2 &, const Window::Frame *, const WindowFrameSize &, unsigned char);
33 void DrawFrame8(const math::VEC2 &, const Window::Frame *, const WindowFrameSize &, unsigned char);
34
35private:
36 static int typeInfo;
37};
38
39} // namespace lyt
40} // namespace nw4r
A two-dimensional floating point vector.
Definition vec.hpp:7
A 32-bit RGBA color.
Definition color.hpp:8