forked from isledecomp/racers
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmenucolorbox.h
More file actions
48 lines (40 loc) · 1.31 KB
/
Copy pathmenucolorbox.h
File metadata and controls
48 lines (40 loc) · 1.31 KB
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
#ifndef MENUCOLORBOX_H
#define MENUCOLORBOX_H
#include "compat.h"
#include "decomp.h"
#include "menu/widgets/menutriangle.h"
#include "menu/widgets/menuwidget.h"
#include "types.h"
// VTABLE: LEGORACERS 0x004b20a0
// SIZE 0xc0
class MenuColorBox : public MenuTriangle {
public:
// SIZE 0x44
class CreateParams : public MenuWidget::CreateParams {
public:
undefined4 m_blinkEnabled; // 0x38
LegoU32 m_onDurationMs; // 0x3c
LegoU32 m_offDurationMs; // 0x40
};
MenuColorBox();
void Reset() override; // vtable+0x00
~MenuColorBox() override; // vtable+0x04
void SetRect(Rect*) override; // vtable+0x10
MenuWidget* DrawSelf(Rect*, Rect*) override; // vtable+0x38
undefined4 OnEvent(undefined4) override; // vtable+0x3c
LegoBool32 Create(CreateParams* p_createParams);
void SetPosition(LegoS32 p_x, LegoS32 p_y);
void SetWidth(LegoS32 p_width);
void SetHeight(LegoS32 p_height);
// SYNTHETIC: LEGORACERS 0x00467ec0
// MenuColorBox::`scalar deleting destructor'
protected:
undefined4 m_visible; // 0xa4
LegoU32 m_onDurationMs; // 0xa8
LegoU32 m_offDurationMs; // 0xac
LegoU32 m_blinkMs; // 0xb0
undefined4 m_blinkEnabled; // 0xb4
undefined4 m_width; // 0xb8
undefined4 m_height; // 0xbc
};
#endif // MENUCOLORBOX_H