2022-10-09 21:22:46 +00:00
|
|
|
|
NEW
|
|
|
|
|
AUTO 3,1
|
|
|
|
|
|
2022-10-11 06:20:24 +00:00
|
|
|
|
#define C_BLACK 0
|
|
|
|
|
#define C_WHITE 255
|
|
|
|
|
|
|
|
|
|
#define PTR_T_ARROW 0
|
|
|
|
|
#define PTR_T_MOVE 2
|
|
|
|
|
#define PTR_T_RESIZEX 4
|
|
|
|
|
#define PTR_T_RESIZEY 6
|
|
|
|
|
#define PTR_T_RESIZEXY1 8
|
|
|
|
|
#define PTR_T_RESIZEXY2 10
|
|
|
|
|
#define PTR_T_CROSS 12
|
|
|
|
|
#define PTR_T_TEXT 14
|
|
|
|
|
#define PTR_T_WAIT 16
|
2022-10-09 21:22:46 +00:00
|
|
|
|
|
|
|
|
|
#define WND_F_RESIZE 1
|
|
|
|
|
#define WND_F_MOVE 2
|
|
|
|
|
#define WND_F_CLOSE 4
|
|
|
|
|
#define WND_F_MIN 8
|
|
|
|
|
#define WND_F_MAX 16
|
|
|
|
|
#define WND_F_BORDER 32
|
|
|
|
|
#define WND_F_MODAL 64
|
|
|
|
|
#define WND_F_SYSMODAL 128
|
|
|
|
|
|
|
|
|
|
#define WND_S_HASTBAR 1
|
|
|
|
|
#define WND_S_HASMBAR 2
|
|
|
|
|
#define WND_S_HASSBAR 4
|
|
|
|
|
#define WND_S_MAXIMIZED 8
|
|
|
|
|
#define WND_S_MINIMIZED 16
|
|
|
|
|
#define WND_S_ACTIVE 64
|
|
|
|
|
|
|
|
|
|
#define WND_P_pTITLE 24
|
|
|
|
|
#define WND_P_pMBAR 26
|
|
|
|
|
#define WND_P_pSTATUS 28
|
2022-10-11 06:20:24 +00:00
|
|
|
|
#define WND_P_pICON 30
|
|
|
|
|
|
|
|
|
|
#define WND_P_BGCOLOR 32
|
|
|
|
|
#define WND_P_pBGBM 34
|
|
|
|
|
#define WND_P_pPTR 36
|
|
|
|
|
|
|
|
|
|
#define MSG_T_KEY 0
|
|
|
|
|
#define MSG_T_XY 2
|
|
|
|
|
#define MSG_T_ID 2
|
|
|
|
|
#define MSG_T_WND 6
|
2022-10-09 21:22:46 +00:00
|
|
|
|
|
|
|
|
|
typedef short int HWND;
|
|
|
|
|
|
|
|
|
|
struct _MSG_ {
|
|
|
|
|
short int type;
|
|
|
|
|
short int subt;
|
|
|
|
|
short int keymod;
|
|
|
|
|
short int key;
|
|
|
|
|
int x1;
|
|
|
|
|
int y1;
|
|
|
|
|
int x2;
|
|
|
|
|
int y2;
|
|
|
|
|
int s;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
typedef struct _MSG_ MSG;
|
|
|
|
|
|
|
|
|
|
HWND guiNewWnd(short int,int,int,int,int);
|
|
|
|
|
void guiDestroyWnd(HWND);
|
|
|
|
|
void guiShowWnd(HWND);
|
|
|
|
|
|
|
|
|
|
void* guiSetProp(HWND,short int,void*);
|
|
|
|
|
void* guiGetProp(HWND,short int);
|
|
|
|
|
|
2022-10-11 06:20:24 +00:00
|
|
|
|
int fastcall guiGetMsg(MSG*);
|
2022-10-09 21:22:46 +00:00
|
|
|
|
|
|
|
|
|
MAN
|
|
|
|
|
TEXT include/libgui.h
|