mirror of
https://github.com/A2osX/A2osX.git
synced 2024-11-25 05:32:20 +00:00
9a7d20a7e1
FORMAT: new switches & checks SH:BREAK in FOR and WHILE ASM / S-C MASM: new directives, CString support and .HX LC / UC:bugfix DHGR.DRV:bugfix LIBGUI:wip CC:wip
81 lines
1.6 KiB
Plaintext
81 lines
1.6 KiB
Plaintext
NEW
|
||
AUTO 3,1
|
||
|
||
#define C_BLACK ((void *)0)
|
||
#define C_WHITE ((void *)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 ((void *)12)
|
||
#define PTR_T_TEXT 14
|
||
#define PTR_T_WAIT 16
|
||
|
||
#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
|
||
#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
|
||
|
||
#define WND_P_pTITLE 28
|
||
#define WND_P_pMBAR 30
|
||
#define WND_P_pSTATUS 32
|
||
#define WND_P_pICON 34
|
||
|
||
#define WND_P_BGCOLOR 36
|
||
#define WND_P_pBGBM 38
|
||
#define WND_P_pPTR 40
|
||
|
||
#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);
|
||
|
||
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*);
|
||
|
||
int fastcall guiGetMsg(MSG*);
|
||
|
||
int guiMsgBox(HWND, void*, void*, void*, int);
|
||
|
||
MAN
|
||
TEXT include/libgui.h
|