NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Toggle main menu visibility
Introduction
Documentation
References
Namespace Reference
Class Reference
File Reference
Contributing
Build System Overview
Contribution Guidelines
Decompilation Progress
Todo List
Other Pages
Game Bugs
Unused Elements
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
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
6
namespace
nw4r {
7
namespace
lyt
{
8
9
class
Window :
public
Pane {
10
class
Frame;
11
12
public
:
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
35
private
:
36
static
int
typeInfo;
37
};
9
class
Window :
public
Pane {
…
};
38
39
}
// namespace lyt
40
}
// namespace nw4r
nw4r::lyt::DrawInfo
Definition
lyt_draw_info.hpp:10
nw4r::lyt::Material
Definition
lyt_material.hpp:25
nw4r::lyt
2D graphics drawing library.
Definition
_dummy_classes.hpp:9
nw4r::math::VEC2
Definition
vec.hpp:11
nw4r::ut::Color
A 32-bit RGBA color.
Definition
Color.h:8
include
lib
nw4r
lyt
lyt_window.hpp
Made with ❤️ by
CLF78
and
RootCubed
. Logos by
Chasical
and
B1
. Website generated by
Doxygen
1.13.2