summaryrefslogtreecommitdiff
path: root/include/d/d_file_sel_warning.h
blob: c8740b5f7468c861941d615dedd11085ad2a2cb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#ifndef D_FILE_D_FILE_SEL_WARNING_H
#define D_FILE_D_FILE_SEL_WARNING_H

#include "d/d_drawlist.h"

class JKRArchive;
class CPaneMgr;
class J2DScreen;
class JUTFont;
class J2DTextBox;
class dMsgString_c;

class dDlst_FileWarn_c : public dDlst_base_c {
public:
    virtual void draw();
    virtual ~dDlst_FileWarn_c() {}

    /* 0x04 */ J2DScreen* Scr;
    /* 0x08 */ JUTFont* mFont;
    /* 0x0C */ dMsgString_c* mMsgString;
};

class dFile_warning_c {
public:
    dFile_warning_c(JKRArchive*, u8);
    void screenSet();
    void _move();
    void modeWait();
    void modeMove();
    bool baseMoveAnm();
    void openInit();
    void closeInit();
    void init();
    void _draw();
    void drawSelf();
    void setText(u32);
    void setFontColor(JUtility::TColor, JUtility::TColor);

    virtual ~dFile_warning_c();

    BOOL getStatus() { return mStatus != 0; }
    void draw() { _draw(); }

    /* 0x04 */ JKRArchive* mpArchive;
    /* 0x08 */ dDlst_FileWarn_c mFileWarn;
    /* 0x18 */ u8 field_0x18;
    /* 0x1C */ CPaneMgr* mpRootPane;
    /* 0x20 */ J2DTextBox* field_0x20;
    /* 0x24 */ J2DAnmTransform* field_0x24;
    /* 0x28 */ int field_0x28;
    /* 0x2C */ int field_0x2c;
    /* 0x30 */ u8 field_0x30[4];
    /* 0x34 */ f32 field_0x34;
    /* 0x38 */ f32 mPosY;
    /* 0x3C */ u8 field_0x3c;
    /* 0x3D */ u8 mStatus;
    /* 0x3E */ u8 field_0x3e;
};

#endif /* D_FILE_D_FILE_SEL_WARNING_H */