A2osX/INCLUDE/libgui.h.txt

81 lines
1.6 KiB
Plaintext
Raw Normal View History

NEW
AUTO 3,1
#define C_BLACK ((void *)0)
#define C_WHITE ((void *)255)
2022-10-11 06:20:24 +00:00
#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 ((void *)12)
2022-10-11 06:20:24 +00:00
#define PTR_T_TEXT 14
#define PTR_T_WAIT 16
2022-11-02 06:54:30 +00:00
#define OBJ_F_BORDER 128
#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
2022-11-02 06:54:30 +00:00
#define WND_F_MODAL 32
#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
2022-11-02 06:54:30 +00:00
#define WND_P_pTITLE 28
#define WND_P_pMBAR 30
#define WND_P_pSTATUS 32
#define WND_P_pICON 34
2022-10-11 06:20:24 +00:00
2022-11-02 06:54:30 +00:00
#define WND_P_BGCOLOR 36
#define WND_P_pBGBM 38
#define WND_P_pPTR 40
2022-10-11 06:20:24 +00:00
#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);
2022-11-02 06:54:30 +00:00
void guiDrawLine(HWND, short int, short int, int, int, int, int);
void guiFill(HWND, short int, short int, int, int, int, int);
void guiDrawBitMap(HWND, short int, short int, void*, int, int);
void guiDrawText(HWND, short int, short int, short int, int, int, char*);
2022-10-11 06:20:24 +00:00
int fastcall guiGetMsg(MSG*);
2022-11-02 06:54:30 +00:00
int guiMsgBox(HWND, void*, void*, void*, int);
MAN
TEXT include/libgui.h