76 0x00, 0x0C, 0x00, 0x06,
82 0x00, 0x00, 0x0B, 0x01, 0x01, 0x08, 0x00, 0x00, 0x01, 0x01, 0x01, 0x06, 0x00, 0x00, 0x03, 0x01,
83 0x01, 0x04, 0x00, 0x00, 0x05, 0x01, 0x01, 0x02, 0x00, 0x00, 0x07, 0x01, 0x01, 0x00, 0x00, 0x00,
111 } D4D_COMBO_BOX_TMP_VAL;
113 #define _calc (*((D4D_COMBO_BOX_TMP_VAL*)d4d_scratchPad))
D4D_COLOR D4D_ObjectGetBckgColor(D4D_OBJECT *pObj, D4D_OBJECT_DRAWFLAGS draw)
Function return object current background color.
static void D4D_ComboBoxOnMessage(D4D_MESSAGE *pMsg)
D4D_BOOL D4D_IsMineFocus(D4D_OBJECT *pObject)
Function find out if the object (including compounded objects) is focused.
D4D_OBJECT * D4D_GetParentObject(D4D_OBJECT *pObject)
#define D4D_COLOR_RGB565(R, G, B)
The macro create the color from the color component Red/Green/Blue to 16-bit RGB565 format (the input...
D4D_COLOR D4D_ObjectGetForeColor(D4D_OBJECT *pObj, D4D_OBJECT_DRAWFLAGS draw)
Function return object current fore color.
const D4D_OBJECT_SYS_FUNCTION d4d_comboBoxSysFunc
void D4D_InvalidateScreen(const D4D_SCREEN *pScreen, D4D_BOOL bComplete)
The function mark the screen and its abject as "redraw pending".
#define D4D_COLOR_GET_B(color)
Byte D4D_ComboBoxButtonMsgFeedBack(D4D_MESSAGE *pMsg)
struct D4D_SCREEN_S * pScreen
pointer to object screen owner - it is placed in RAM bacause one object could be used in multiply scr...
Type definition of eGUI point structure.
On Init message - is send for first time when the object is inicialized.
D4D object messages structure.
D4D_OBJECT_DATA_PTR pData
Pointer on runtime object data.
#define D4D_GET_COMBO_BOX(pObj)
static void D4D_ComboBoxStornoSelection(D4D_OBJECT *pThis)
#define D4D_FALSE
This is definition of boolean operation value in eGUI - FALSE.
void D4D_ComboBoxEditFeedBack(D4D_OBJECT *pThis, D4D_EVENTID eventId)
void D4D_ComboBoxButtonFeedBack(D4D_OBJECT *pThis)
On Change done (complete change is finished.
D4D_LIST_BOX_INDEX D4D_COMBO_BOX_INDEX
#define D4D_TRUE
This is definition of boolean operation value in eGUI - TRUE.
#define D4D_CompareStringsUniversal(s1, s2)
struct D4D_OBJECT_S * pObject
Pointer to object who is receiver of this message. If the receiver is just screen this field must be ...
D4D_COMBO_BOX_DATA * pData
D4D Driver main header file.
D4D_OBJECT_FLAGS flags
runtime object flags
Byte D4D_ComboBoxListBoxMsgFeedBack(D4D_MESSAGE *pMsg)
D4D_LIST_BOX_INDEX D4D_ListBoxGetIndex(D4D_OBJECT *pThis)
Function returns the current selected item index.
D4D Driver private header file.
void D4D_ComboBoxListFeedBack(D4D_OBJECT *pThis, D4D_EVENTID eventId)
#define D4D_DEFSTR(str)
Macro that helps declare the strings in eGUI.
D4D_CMBBX_ON_EVENT OnEvent
Byte D4D_COOR
Type definition of eGUI coordination variables.
#define D4D_ComboBoxGetItemCount(pThis)
Function gets the count of combo box items.
unsigned char Byte
Type definition of Byte (unsigned 8-bit).
void D4D_ObjOnMessage(D4D_MESSAGE *pMsg)
void D4D_ShowObject(D4D_OBJECT_PTR pObject, D4D_BOOL bShow)
Function control visibility of object on screen.
void D4D_ListBoxSetIndex(D4D_OBJECT *pThis, D4D_LIST_BOX_INDEX ix)
Function select new item by index.
#define NULL
Type definition of null pointer.
D4D_EVENTID
D4D events that is handled by object callback functions.
#define D4D_ComboBoxGetItemTextIx(pThis, ix)
Function gets the text of item choosed by item index.
void D4D_EditBoxClearAll(D4D_OBJECT_PTR pObj)
The function clear whole edit box data.
D4D_LIST_BOX_INDEX real_ix
#define D4D_OBJECT_F_NOTINIT
D4D_SIZE size
Screen size (standard screen has full size of physical screen)
D4D_MSGID nMsgId
Type of message.
D4D_TCHAR * D4D_EditBoxGetText(D4D_OBJECT_PTR pObj)
The function returns the pointer to the edit box text buffer.
#define D4D_GET_COMBO_BOX_EDIT_BOX(pObj)
D4D_BOOL D4D_IsVisible(D4D_OBJECT *pObject)
Function find out if the object is visible or not.
The object main structure type definition.
void D4D_CaptureKeys(D4D_OBJECT_PTR pObj)
Function switch on capturing the keys to objects.
#define D4D_BEVEL_WIDTH
D4D_BEVEL_WIDTH constant declaration - can't be changed!
Draw message - is send when the object should be redrawed.
The return value of user/application message function - continue handling of message by eGUI...
const D4D_MARGIN comboBox_marginDefault
D4D_TCHAR * D4D_ListBoxGetItemText(D4D_OBJECT_PTR pThis)
Function gets the selected item text.
D4D_DECLARE_BMP(bmp_arrow, arrow, palette_arrow)
The object system function needed for each object - this is part of D4D_OBJECT main structure...
D4D_POINT position
Screen coordination on physical screen (standard screen has {0,0})
void D4D_ComboBoxSetIndex(D4D_OBJECT *pThis, D4D_COMBO_BOX_INDEX ix)
Type definition of eGUI size structure.
#define D4D_COLOR_GET_G(color)
D4D_BOOL D4D_EditBoxPutString(D4D_OBJECT_PTR pObj, D4D_TCHAR *pText)
The function puts string on cursor position and updates cursor.
D4D_OBJECT_DRAWFLAGS draw
Contains draw flags - is valid with D4D_MSG_DRAW and D4D_MSG_DRAWDONE message.
void D4D_InvalidateObject(D4D_OBJECT_PTR pObject, D4D_BOOL bComplete)
Function invalidate object to redraw on screen.
LWord D4D_COLOR
Type definition of eGUI color variables.
unsigned short Word
Type definition of Word (unsigned 16-bit).
#define D4D_GET_COMBO_BOX_LIST_BOX(pObj)
#define D4D_GET_COMBO_BOX_DATA(pObj)
#define D4D_COLOR_GET_R(color)
Kill Focus message - is send when the object is losing focus.
union D4D_MESSAGE_S::@0 prm
Additional data for some type of messages.
Type definition of eGUI client area margin structure.
Mouse Cursor Leave message - is send in case that mouse cursor leave the object area.
D4D_COMBO_BOX_INDEX D4D_ComboBoxGetIndex(D4D_OBJECT *pThis)