Files
tp/include/d/d_home_button.h
T

35 lines
777 B
C++
Raw Normal View History

2025-06-27 03:14:58 -07:00
#ifndef D_HOME_BUTTON_H
#define D_HOME_BUTTON_H
#include <revolution/hbm.h>
#include "JSystem/J2DGraph/J2DOrthoGraph.h"
class dHomeButton_c {
public:
2025-06-30 15:17:50 -07:00
dHomeButton_c() {
field_0x7c = 0;
}
2025-06-27 03:14:58 -07:00
void create_(int, void*);
int execute_();
void initHomeButtonInfo(int, void*);
void initCursorPos();
void calcCursorPos();
void onReset();
2025-06-30 15:17:50 -07:00
static void create(int, void*);
static int execute();
static void drawCapture(u8, void (*)(J2DOrthoGraph&, void*), void*);
static dHomeButton_c* m_myObj;
static u8 lbl_8053A724;
static u8 lbl_8053A725;
2025-06-27 03:14:58 -07:00
/* 0x00 */ HBMDataInfo m_info;
2025-06-30 15:17:50 -07:00
/* 0x38 */ HBMControllerData m_controllerData;
/* 0x78 */ u32 field_0x78;
/* 0x7C */ u8 field_0x7c;
2025-06-27 03:14:58 -07:00
};
#endif /* D_HOME_BUTTON_H */