A2osX/INCLUDE/libgui.h.txt
2022-10-11 08:20:24 +02:00

74 lines
1.3 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

NEW
AUTO 3,1
#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
#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
#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
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);
int fastcall guiGetMsg(MSG*);
MAN
TEXT include/libgui.h