forked from Ares-Developers/YRpp
-
Notifications
You must be signed in to change notification settings - Fork 30
/
DropListClass.h
41 lines (33 loc) · 966 Bytes
/
DropListClass.h
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
#pragma once
#include <EditClass.h>
#include <ListClass.h>
class NOVTABLE DropListClass : public EditClass
{
public:
//DropListClass
virtual int AddItem(const wchar_t* lpStr) R0;
virtual wchar_t* CurrentItem() R0;
virtual int CurrentIndex() R0;
virtual void SetSelectedItem(const wchar_t* lpStr) RX;
virtual void SetSelectedIndex(int index) RX;
virtual int GetCount() R0;
virtual wchar_t* GetItem(int index) R0;
//Non virtual
//Statics
//Constructors
DropListClass(unsigned int nID, wchar_t* pText, int nMaxLength, TextPrintType eTextFlag, int nX, int nY,
int nWidth, int nHeight, EditFlag eEditFlag,int nSomeHeight, SHPStruct* UpSHP, SHPStruct* DownSHP) noexcept
: DropListClass(noinit_t()) { JMP_THIS(0x4B4E10); }
protected:
explicit __forceinline DropListClass(noinit_t) noexcept
: EditClass(noinit_t())
, List(noinit_t())
{
}
//Properties
public:
bool bool_48;
int SomeHeight;
ShapeButtonClass SomeButton;
ListClass List;
};