diff options
| author | Pheenoh <pheenoh@gmail.com> | 2022-12-26 22:53:24 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-26 22:53:24 -0700 |
| commit | 082f5b40af19dfe0e756bc476e05f91136f3b337 (patch) | |
| tree | 190704f0a62154d7b25e311454295d91ba1a75a7 /include/d/d_select_cursor.h | |
| parent | 38ac3b420c2ff42a006d1f5e3b0ab061add26a6b (diff) | |
d_select_cursor first pass (#221)
Diffstat (limited to 'include/d/d_select_cursor.h')
| -rw-r--r-- | include/d/d_select_cursor.h | 35 |
1 files changed, 27 insertions, 8 deletions
diff --git a/include/d/d_select_cursor.h b/include/d/d_select_cursor.h index eee23d7f3a..e9d3f70360 100644 --- a/include/d/d_select_cursor.h +++ b/include/d/d_select_cursor.h @@ -4,6 +4,8 @@ #include "d/d_drawlist.h" #include "d/d_select_icon.h" #include "dolphin/types.h" +#include "JSystem/J2DGraph/J2DScreen.h" +#include "JSystem/J2DGraph/J2DPane.h" class dSelect_cursorHIO_c { public: @@ -31,8 +33,8 @@ public: /* 801951B0 */ void setParam(f32, f32, f32, f32, f32); /* 801951C8 */ void setScale(f32); /* 801952A0 */ void setAlphaRate(f32); - /* 80195330 */ void addAlpha(); - /* 801953CC */ void decAlpha(); + /* 80195330 */ int addAlpha(); + /* 801953CC */ int decAlpha(); /* 80195460 */ void setBpkAnimation(J2DAnmColor*); /* 801955F0 */ void setBtk0Animation(J2DAnmTextureSRTKey*); /* 80195724 */ void setCursorAnimation(); @@ -43,15 +45,32 @@ public: /* 801949EC */ virtual ~dSelect_cursor_c(); void setPos(f32 x, f32 y) { - field_0x58 = x; - field_0x5c = y; + mPositionX = x; + mPositionY = y; } private: - u8 field_0x4[0x54]; - f32 field_0x58; - f32 field_0x5c; - u8 field_0x60[0x58]; + /* 0x04 */ J2DScreen* mpScreen; + /* 0x08 */ J2DPane* mpPane; + /* 0x0C */ dSelect_icon_c* mpSelectIcon; + /* 0x10 */ CPaneMgr* mpPaneMgr; + /* 0x14 */ u8 field_0x14[40]; + /* 0x3C */ dSelect_cursorHIO_c* mpCursorHIO; + /* 0x40 */ u8 field_0x40[16]; + /* 0x50 */ f32 field_0x50; + /* 0x54 */ f32 field_0x54; + /* 0x58 */ f32 mPositionX; + /* 0x5C */ f32 mPositionY; + /* 0x60 */ f32 mParam1; + /* 0x64 */ f32 mParam2; + /* 0x68 */ f32 mParam3; + /* 0x6C */ f32 mParam4; + /* 0x70 */ f32 mParam5; + /* 0x74 */ u8 field_0x74[32]; + /* 0x94 */ f32 field_0x94[4]; + /* 0xA4 */ f32 field_0xa4[4]; + /* 0xB4 */ u8 field_0xb4; + /* 0xB5 */ s8 mNameIdx; }; #endif /* D_D_SELECT_CURSOR_H */ |
