2022-09-13 04:26:54 +00:00
|
|
|
#ifndef _CGUISYS_HPP
|
|
|
|
#define _CGUISYS_HPP
|
|
|
|
|
|
|
|
#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:
|
|
|
|
u8 pad[0x14];
|
2022-10-01 06:19:09 +00:00
|
|
|
|
|
|
|
static CGuiSys* spGuiSys;
|
2022-09-13 04:26:54 +00:00
|
|
|
};
|
|
|
|
|
2022-09-18 06:05:46 +00:00
|
|
|
#endif
|