hollyhock
Loading...
Searching...
No Matches
longLabel.hpp
1#pragma once
2#include "util.hpp"
3
5struct GUILongLabel_Wrapped_VTable {
6 VTABLE_FAKE_ENTRY(9, 0);
7
8 VTableFunction<void> Refresh;
9
10 VTABLE_FAKE_ENTRY(33, 1);
11
12 // Args: text
13 VTableFunction<void, const char *> SetText;
14};
15
17struct GUILongLabel_Wrapped {
18 uint8_t unknown0[0x4C];
19
20 struct GUILongLabel_Wrapped_VTable *vtable;
21
22 uint8_t unknown1[0x5C];
23};
24#ifndef __clang__
25static_assert(sizeof(struct GUILongLabel_Wrapped) == 0xAC);
26#endif
27
28class GUILongLabel : public GUIElement {
29public:
31 uint16_t leftX, uint16_t topY, uint16_t rightX, uint16_t bottomY,
32 const char *text
33 );
34
35 void SetText(const char *text);
36 void Refresh();
37};
Definition util.hpp:78
Definition longLabel.hpp:28
void SetText(const char *text)
Definition longLabel.cpp:28
void Refresh()
Definition longLabel.cpp:38