2022-10-09 05:13:17 +00:00
|
|
|
#ifndef _CGUISYS
|
|
|
|
#define _CGUISYS
|
2022-09-13 04:26:54 +00:00
|
|
|
|
|
|
|
#include "types.h"
|
|
|
|
|
|
|
|
class IFactory;
|
|
|
|
class CSimplePool;
|
|
|
|
|
2022-10-01 06:19:09 +00:00
|
|
|
class CGuiSys;
|
|
|
|
extern CGuiSys* gGuiSystem;
|
|
|
|
|
2022-09-13 04:26:54 +00:00
|
|
|
class CGuiSys {
|
|
|
|
public:
|
|
|
|
enum EUsageMode {
|
|
|
|
kUM_Zero,
|
|
|
|
kUM_One,
|
|
|
|
kUM_Two,
|
|
|
|
};
|
|
|
|
|
|
|
|
CGuiSys(IFactory*, CSimplePool*, EUsageMode);
|
2022-10-01 06:19:09 +00:00
|
|
|
~CGuiSys();
|
|
|
|
|
|
|
|
static void SetGlobalGuiSys(CGuiSys* ptr) {
|
|
|
|
gGuiSystem = ptr;
|
|
|
|
spGuiSys = ptr;
|
|
|
|
}
|
2022-09-13 04:26:54 +00:00
|
|
|
|
|
|
|
private:
|
2022-10-09 05:37:23 +00:00
|
|
|
uchar pad[0x14];
|
2022-10-01 06:19:09 +00:00
|
|
|
|
|
|
|
static CGuiSys* spGuiSys;
|
2022-09-13 04:26:54 +00:00
|
|
|
};
|
|
|
|
|
2022-10-09 05:13:17 +00:00
|
|
|
#endif // _CGUISYS
|