60 #ifndef D4D_MOUSE_BUFF_LENGTH
61 #define D4D_MOUSE_BUFF_LENGTH 4
65 #ifndef D4D_MOUSE_NORMAL_BMP
66 #define D4D_MOUSE_NORMAL_BMP NULL
70 #ifndef D4D_MOUSE_BUSY_BMP
71 #define D4D_MOUSE_BUSY_BMP NULL
75 #ifndef D4D_MOUSE_UNAVAILABLE_BMP
76 #define D4D_MOUSE_UNAVAILABLE_BMP NULL
80 #ifndef D4D_MOUSE_BMP_KEY_COLOR
81 #define D4D_MOUSE_BMP_KEY_COLOR 0x003F3F3F
89 #define D4D_MOUSE_CURSOR_TYPES 3
151 #define D4D_MOUSE_BTN_LEFT_MASK (0x01)
152 #define D4D_MOUSE_BTN_RIGHT_MASK (0x02)
153 #define D4D_MOUSE_BTN_MIDDLE_MASK (0x04)
155 #define D4D_MOUSE_CURSOR_MASK (0x70)
156 #define D4D_MOUSE_VISIBLE_MASK (0x80)
158 #define D4D_MOUSE_CURSOR_SHIFT (4)
177 #define D4D_DECLARE_MOUSE_CURSOR_BMP(name, pNormal, pBusy, pUnavailable, keyColor) \
178 extern D4D_BMP pNormal; \
179 extern D4D_BMP pBusy; \
180 extern D4D_BMP pUnavailable; \
181 const D4D_MOUSECURSOR_BMP name = \
182 { { (D4D_BMP*)&pNormal, (D4D_BMP*)&pBusy, (D4D_BMP*)&pUnavailable }, keyColor};
223 #define D4D_ClearMouseInputBuffer()
224 #define D4D_NewMouseEvent(x, y, event)
225 #define D4D_GetMouseHoverObject() NULL
226 #define D4D_GetMouseCoordinates(pObject) d4d_point_zero
227 #define D4D_GetMouseRawCoordinates() d4d_point_zero
228 #define D4D_MouseShow(show)
229 #define D4D_MouseVisible() D4D_FALSE
230 #define D4D_SetMouseCursorType(cursorIx, force)
231 #define D4D_GetMouseCursorType() 0
232 #define D4D_ObjectSetMouseCursor(pObj, cursorType)
233 #define D4D_ObjectGetMouseCursor(pObj) 0
234 #define D4D_ScreenSetMouseCursor(pScr, cursorType)
235 #define D4D_ScreenGetMouseCursor(pScr) 0
242 #define D4D_MouseInit()
243 #define D4D_HandleMouse()
244 #define D4D_MouseCenterCursor()
245 #define D4D_MouseChangedScreen()
Type definition of eGUI point structure.
#define D4D_GetMouseHoverObject()
D4D_MOUSECURSOR_BMP structure contains the pointer to cursor bitmaps and key color.
Set abosolute position event.
D4D_MOUSE_EVENT
D4D_MOUSE_EVENT Mouse input events enumeration.
#define D4D_ObjectSetMouseCursor(pObj, cursorType)
#define D4D_GetMouseCoordinates(pObject)
D4D_MOUSE_CURSOR_TYPE
D4D_MOUSE_CURSOR_TYPE enumeration type contains all types of MOUSE cursors.
#define D4D_NewMouseEvent(x, y, event)
#define D4D_MouseCenterCursor()
#define D4D_HandleMouse()
unsigned char Byte
Type definition of Byte (unsigned 8-bit).
#define D4D_MouseChangedScreen()
D4D_COLOR keyColor
key Color for transparent color
Middle button down event.
D4D_BMP eGUI main image structure.
#define D4D_MouseShow(show)
#define D4D_GetMouseRawCoordinates()
signed short sWord
Type definition of sWord (signed 16-bit).
#define D4D_ScreenSetMouseCursor(pScr, cursorType)
#define D4D_ScreenGetMouseCursor(pScr)
The object main structure type definition.
Drawed busy cursor but the object/screen doesn't get any click/wheel events.
Drawed unavailable cursor but the object/screen doesn't get any click/wheel events.
Drawed normal cursor and all events are sending to objects/screens.
LWord D4D_BOOL
Type definition of eGUI boolean.
#define D4D_SetMouseCursorType(cursorIx, force)
Just system define that specified the count of cursors, must be kept on end of the enumeration field...
#define D4D_MouseVisible()
Drawed normal cursor but the object/screen doesn't get any click/wheel events.
The screen structure type. The main screen structure that contains all needed data to run the eGUI sc...
#define D4D_ObjectGetMouseCursor(pObj)
#define D4D_MOUSE_CURSOR_TYPES
#define D4D_GetMouseCursorType()
#define D4D_MOUSE_BUFF_LENGTH
D4D_MOUSE_BUFF_LENGTH constant default declaration.
#define D4D_ClearMouseInputBuffer()
LWord D4D_COLOR
Type definition of eGUI color variables.