Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
J2DWindow.h
Go to the documentation of this file.
1#ifndef J2DWINDOW_H
2#define J2DWINDOW_H
3
6
8class JUTTexture;
9
14class J2DWindow : public J2DPane {
15public:
16 struct TMaterial {
22 }; // Size: 0x14
23
31
34 /* 802F9A7C */ J2DWindow();
36 /* 802FA604 */ void initinfo2();
37 /* 802FAA5C */ void draw_private(JGeometry::TBox2<f32> const&, JGeometry::TBox2<f32> const&);
40 /* 802FB634 */ void drawFrameTexture(JUTTexture*, f32, f32, f32, f32, u16, u16, u16, u16, bool);
41 /* 802FB7C8 */ void drawFrameTexture(JUTTexture*, f32, f32, bool, bool, bool);
42 /* 802FB868 */ void drawContentsTexture(f32, f32, f32, f32);
44
45 /* 802FA880 */ virtual ~J2DWindow();
46 /* 802FBF98 */ virtual u16 getTypeID() const;
47 /* 802FB000 */ virtual void resize(f32, f32);
48 /* 802FB1D8 */ virtual void drawSelf(f32, f32);
49 /* 802FB240 */ virtual void drawSelf(f32, f32, Mtx*);
50 /* 802FBEDC */ virtual bool isUsed(ResTIMG const*);
51 /* 802FC02C */ virtual bool isUsed(ResFONT const*);
52 /* 802FC04C */ virtual void rewriteAlpha();
53 /* 802FA928 */ virtual void draw(JGeometry::TBox2<f32> const&);
54 /* 802FAED0 */ virtual void draw(JGeometry::TBox2<f32> const&, JGeometry::TBox2<f32> const&);
55 /* 802FBFA0 */ virtual void draw(f32, f32, f32, f32);
56 /* 80254430 */ virtual bool setBlack(JUtility::TColor);
57 /* 802543E0 */ virtual bool setWhite(JUtility::TColor);
58 /* 80254568 */ virtual bool setBlackWhite(JUtility::TColor, JUtility::TColor);
59 /* 80254000 */ virtual JUtility::TColor getBlack() const;
60 /* 8025400C */ virtual JUtility::TColor getWhite() const;
61 /* 802FBE60 */ virtual JUTTexture* getFrameTexture(u8, u8) const;
62 /* 802FBFE8 */ virtual JUTTexture* getContentsTexture(u8) const;
63 /* 802FC000 */ virtual void getMaterial(J2DWindow::TMaterial&) const;
64 /* 802FC01C */ virtual J2DMaterial* getFrameMaterial(u8) const;
65 /* 802FC024 */ virtual J2DMaterial* getContentsMaterial() const;
66 /* 802FB338 */ virtual void drawContents(JGeometry::TBox2<f32> const&);
67
69
71 param_0.field_0x0 = field_0x128;
72 param_0.field_0x4 = field_0x12C;
73 param_0.field_0x8 = field_0x130;
74 param_0.field_0xc = field_0x134;
75 }
79
80protected:
81 /* 0x100 */ JUTTexture* field_0x100;
82 /* 0x104 */ JUTTexture* field_0x104;
83 /* 0x108 */ JUTTexture* field_0x108;
84 /* 0x10C */ JUTTexture* field_0x10c;
85 /* 0x110 */ JUTTexture* field_0x110;
87 /* 0x124 */ JUTPalette* mPalette;
94 /* 0x140 */ s16 field_0x140;
95 /* 0x142 */ s16 field_0x142;
96 /* 0x144 */ u8 field_0x144;
97 /* 0x145 */ u8 field_0x145;
98}; // Size: 0x148
99
100#endif /* J2DWINDOW_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition J2DMaterial.h:11
Definition J2DPane.h:51
Definition J2DWindow.h:14
virtual JUTTexture * getContentsTexture(u8) const
Definition J2DWindow.cpp:643
bool isField0x145Set(u8 flag)
Definition J2DWindow.h:68
JGeometry::TBox2< f32 > field_0x114
Definition J2DWindow.h:86
void drawFrameTexture(JUTTexture *, f32, f32, f32, f32, u16, u16, u16, u16, bool)
Definition J2DWindow.cpp:480
void drawContentsTexture(f32, f32, f32, f32)
Definition J2DWindow.cpp:521
J2DWindow()
Definition J2DWindow.cpp:8
JUTTexture * field_0x100
Definition J2DWindow.h:81
virtual bool isUsed(ResTIMG const *)
Definition J2DWindow.cpp:616
JUTTexture * field_0x104
Definition J2DWindow.h:82
virtual JUtility::TColor getWhite() const
Definition d_pane_class.cpp:168
virtual JUtility::TColor getBlack() const
Definition d_pane_class.cpp:163
virtual ~J2DWindow()
Definition J2DWindow.cpp:239
virtual void getMaterial(J2DWindow::TMaterial &) const
Definition J2DWindow.cpp:652
JUtility::TColor field_0x134
Definition J2DWindow.h:91
JUtility::TColor mBlack
Definition J2DWindow.h:93
s16 field_0x142
Definition J2DWindow.h:95
virtual JUTTexture * getFrameTexture(u8, u8) const
Definition J2DWindow.cpp:603
void setContentsColor(JUtility::TColor, JUtility::TColor, JUtility::TColor, JUtility::TColor)
Definition J2DWindow.cpp:391
u8 field_0x144
Definition J2DWindow.h:96
virtual J2DMaterial * getContentsMaterial() const
Definition J2DWindow.cpp:667
virtual void rewriteAlpha()
Definition J2DWindow.cpp:677
virtual bool setBlackWhite(JUtility::TColor, JUtility::TColor)
Definition d_pane_class.cpp:264
virtual void drawSelf(f32, f32)
Definition J2DWindow.cpp:400
void private_readStream(J2DPane *, JSURandomInputStream *, JKRArchive *)
Definition J2DWindow.cpp:152
virtual u16 getTypeID() const
Definition J2DWindow.cpp:632
JUtility::TColor field_0x12C
Definition J2DWindow.h:89
virtual void drawContents(JGeometry::TBox2< f32 > const &)
Definition J2DWindow.cpp:421
u8 field_0x145
Definition J2DWindow.h:97
void setContentsColor(JUtility::TColor param_0)
Definition J2DWindow.h:76
JUTTexture * field_0x10c
Definition J2DWindow.h:84
JUTPalette * mPalette
Definition J2DWindow.h:87
JUTTexture * field_0x110
Definition J2DWindow.h:85
virtual void resize(f32, f32)
Definition J2DWindow.cpp:373
JUTTexture * field_0x108
Definition J2DWindow.h:83
void getContentsColor(TContentsColor &param_0) const
Definition J2DWindow.h:70
JUtility::TColor field_0x128
Definition J2DWindow.h:88
s16 field_0x140
Definition J2DWindow.h:94
void initinfo2()
Definition J2DWindow.cpp:214
virtual J2DMaterial * getFrameMaterial(u8) const
Definition J2DWindow.cpp:661
void draw_private(JGeometry::TBox2< f32 > const &, JGeometry::TBox2< f32 > const &)
Definition J2DWindow.cpp:263
JUtility::TColor field_0x130
Definition J2DWindow.h:90
virtual bool setBlack(JUtility::TColor)
Definition d_pane_class.cpp:238
void setTevMode(JUTTexture *, JUtility::TColor, JUtility::TColor)
Definition J2DWindow.cpp:562
JUtility::TColor mWhite
Definition J2DWindow.h:92
virtual void draw(JGeometry::TBox2< f32 > const &)
Definition J2DWindow.cpp:249
virtual bool setWhite(JUtility::TColor)
Definition d_pane_class.cpp:226
Definition JKRArchive.h:57
Definition JSURandomInputStream.h:10
Definition JUTPalette.h:22
Definition JUTTexture.h:46
static volatile BOOL flag
Definition dspproc.cpp:20
f32 Mtx[3][4]
Definition mtx.h:15
Definition J2DWindow.h:24
JUtility::TColor field_0x8
Definition J2DWindow.h:28
TContentsColor()
Definition J2DWindow.h:25
JUtility::TColor field_0x4
Definition J2DWindow.h:27
JUtility::TColor field_0xc
Definition J2DWindow.h:29
JUtility::TColor field_0x0
Definition J2DWindow.h:26
Definition J2DWindow.h:16
J2DMaterial * field_0x4
Definition J2DWindow.h:18
J2DMaterial * field_0xc
Definition J2DWindow.h:20
J2DMaterial * field_0x8
Definition J2DWindow.h:19
J2DMaterial * field_0x0
Definition J2DWindow.h:17
J2DMaterial * field_0x10
Definition J2DWindow.h:21
Definition JGeometry.h:496
Definition TColor.h:12
Definition JUTFont.h:11
Image data header.
Definition d_menu_dmap_map.cpp:109
float f32
Definition types.h:22
signed short s16
Definition types.h:5
unsigned short u16
Definition types.h:9
unsigned char u8
Definition types.h:8