52 lines
985 B
C++
52 lines
985 B
C++
#ifndef TAUTHORIZESTATE_H_
|
|
#define TAUTHORIZESTATE_H_
|
|
|
|
#include "gType.h"
|
|
#include "GraphBase.h"
|
|
#include "string.h"
|
|
#include "my_string.h"
|
|
#include "Device.h"
|
|
#include "EpDevice.h"
|
|
#include "StaticText.h"
|
|
#include "CtlPanel1.h"
|
|
#include "ProtoInnerCan.h"
|
|
|
|
class TAuthorizeState{
|
|
public:
|
|
unsigned int OnActive;
|
|
public:
|
|
TStaticText Caption;
|
|
|
|
u32 Color;
|
|
|
|
int TabOrder;
|
|
TRect Bound;
|
|
TRect Content;
|
|
public:
|
|
TAuthorizeState(){};
|
|
TAuthorizeState(int x1, int y1, int aW, int aH, int OwnerX, int OwnerY, u32 aColor){
|
|
Init(x1, y1, aW, aH, OwnerX, OwnerY, aColor);
|
|
}
|
|
void Init(int x1, int y1, int aW, int aH, int OwnerX, int OwnerY, u32 aColor);
|
|
|
|
void RenderBackGround(void);
|
|
void RenderBackGround(unsigned int aClr);
|
|
void DrawSelf(void);
|
|
|
|
void Show(void);
|
|
void FullRedraw(int Prm);
|
|
void ReDraw(void);
|
|
|
|
TGuiMsgReturn KeyIn(unsigned char aKey);
|
|
|
|
void LoadData();
|
|
void ReDrawInf();
|
|
|
|
int ExtRequst(unsigned char Prm){return 0;}
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|