eGUI alias D4D  Release 3.0
Reference Manual
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
d4d_combo_box.h File Reference
This graph shows which files directly or indirectly include this file:

Macros

#define D4D_COMBO_BOX_F_DEFAULT
 This is combo box init flags. If not defined, it sets to (D4D_OBJECT_F_VISIBLE | D4D_OBJECT_F_ENABLED | D4D_OBJECT_F_TABSTOP | D4D_OBJECT_F_TOUCHENABLE | D4D_OBJECT_F_FOCUSRECT | D4D_OBJECT_F_MOUSE_NORMAL | D4D_OBJECT_F_BEVEL_RAISED) as a default. More...
 
#define D4D_COMBO_BOX_F_EDITBOX_DEFAULT
 This is combo box init flags for embedded edit box . If not defined, it sets to (D4D_OBJECT_F_VISIBLE | D4D_OBJECT_F_ENABLED | D4D_OBJECT_F_TABSTOP | D4D_OBJECT_F_TOUCHENABLE | D4D_OBJECT_F_FASTTOUCH | D4D_OBJECT_F_MOUSE_NORMAL | D4D_OBJECT_F_BEVEL_DENTED) as a default. More...
 
#define D4D_COMBO_BOX_F_BTN_DEFAULT
 This is combo box init flags for embedded button. If not defined, it sets to (D4D_OBJECT_F_VISIBLE | D4D_OBJECT_F_ENABLED | D4D_OBJECT_F_TABSTOP | D4D_OBJECT_F_TOUCHENABLE | D4D_OBJECT_F_FASTTOUCH | D4D_OBJECT_F_MOUSE_NORMAL | D4D_OBJECT_F_BEVEL_RAISED | D4D_BTN_F_3D | D4D_BTN_F_CONT_RECT) as a default. More...
 
#define D4D_COMBO_BOX_F_LISTBOX_DEFAULT
 This is combo box init flags for embedded list box . If not defined, it sets to (D4D_OBJECT_F_ENABLED | D4D_OBJECT_F_TABSTOP | D4D_OBJECT_F_TOUCHENABLE | D4D_OBJECT_F_FASTTOUCH | D4D_OBJECT_F_FOCUSRECT | D4D_OBJECT_F_MOUSE_NORMAL | D4D_OBJECT_F_BEVEL_RAISED) as a default. More...
 
#define D4D_COMBO_BOX_ITEM_FNT_PRTY_DEFAULT
 This is combo box init items font properties. If not defined, it sets to ( 0 ) as a default. More...
 
#define D4D_COMBO_BOX_STR_MAX_LEN
 This is combo box maximal length of item strings used by default declaration macros. If not defined, it sets to 20 as a default. More...
 
#define D4D_COMBO_BOX_CHILD_EDIT_BOX_IX
 
#define D4D_COMBO_BOX_CHILD_BUTTON_IX
 
#define D4D_COMBO_BOX_CHILD_LIST_BOX_IX
 
#define D4D_GET_COMBO_BOX(pObj)
 
#define D4D_GET_COMBO_BOX_DATA(pObj)
 
#define D4D_GET_COMBO_BOX_EDIT_BOX(pObj)
 
#define D4D_GET_COMBO_BOX_BUTTON(pObj)
 
#define D4D_GET_COMBO_BOX_LIST_BOX(pObj)
 
#define _D4D_DECLARE_COMBO_BOX_BEGIN(type, name, x, y, cx, cy, cy_list, radius, pMargin, pParent, flags, pScheme, itemsFontId, maxStrLen, posCnt, comboBoxItemsOff, pUser, pOnEvent, pOnUsrMsg)
 Macro that create the Combo box object structure in memory including all substructures. More...
 
#define D4D_DECLARE_COMBO_BOX_ITEM
 Macro that is used to add item to combo box definition. More...
 
#define D4D_DECLARE_COMBO_BOX_END
 Macro that is used to close the item list for combo box definition. More...
 
#define D4D_DECLARE_COMBO_BOX_BEGIN(name, x, y, cx, cy, cy_list, flags, pParent, pScheme, itemsFontId, maxStrLen, posCnt, comboBoxItemsOff, pUser, pOnEvent, pOnUsrMsg)
 Macro that create the Combo box object structure in memory including all substructures with restricted count of parameters to simplify definition. More...
 
#define D4D_DECLARE_STD_COMBO_BOX_BEGIN(name, x, y, cx, cy, cy_list, pParent, itemsFontId, pOnEvent)
 Macro that create the Combo box object structure in memory including all substructures with restricted count of parameters to simplify definition The missing parameters are replaced by default values. More...
 
#define D4D_DECLARE_RCOMBO_BOX_BEGIN(name, x, y, cx, cy, cy_list, radius, flags, pParent, pScheme, itemsFontId, maxStrLen, posCnt, comboBoxItemsOff, pUser, pOnEvent, pOnUsrMsg)
 Macro that create the rounded Combo box object structure in memory including all substructures with restricted count of parameters to simplify definition. More...
 
#define D4D_DECLARE_STD_RCOMBO_BOX_BEGIN(name, x, y, cx, cy, cy_list, radius, pParent, itemsFontId, pOnEvent)
 Macro that create the rounded Combo box object structure in memory including all substructures with restricted count of parameters to simplify definition The missing parameters are replaced by default values. More...
 
#define D4D_DECLARE_COMBO_BOX_BEGIN_INRAM(name, x, y, cx, cy, cy_list, flags, pParent, pScheme, itemsFontId, maxStrLen, posCnt, comboBoxItemsOff, pUser, pOnEvent, pOnUsrMsg)
 Same as D4D_DECLARE_COMBO_BOX_BEGIN, but is created in RAM instead of the ROM memory. More...
 
#define D4D_DECLARE_STD_COMBO_BOX_BEGIN_INRAM(name, x, y, cx, cy, cy_list, pParent, itemsFontId, pOnEvent)
 Same as D4D_DECLARE_STD_COMBO_BOX_BEGIN, but is created in RAM instead of the ROM memory. More...
 
#define D4D_DECLARE_RCOMBO_BOX_BEGIN_INRAM(name, x, y, cx, cy, cy_list, radius, flags, pParent, pScheme, itemsFontId, maxStrLen, posCnt, comboBoxItemsOff, pUser, pOnEvent, pOnUsrMsg)
 Same as D4D_DECLARE_RCOMBO_BOX_BEGIN, but is created in RAM instead of the ROM memory. More...
 
#define D4D_DECLARE_STD_RCOMBO_BOX_BEGIN_INRAM(name, x, y, cx, cy, cy_list, radius, pParent, itemsFontId, pOnEvent)
 Same as D4D_DECLARE_STD_RCOMBO_BOX_BEGIN, but is created in RAM instead of the ROM memory. More...
 
#define D4D_ComboBoxGetItemCount(pThis)
 Function gets the count of combo box items. More...
 
#define D4D_ComboBoxFindUserDataItem(pThis, pUser)
 Function finds the index of items with specified user data. More...
 
#define D4D_ComboBoxGetItemUserData(pThis)
 Function gets the selected item user data. More...
 
#define D4D_ComboBoxGetItemText(pThis)
 Function gets the selected item text. More...
 
#define D4D_ComboBoxGetItemTextIx(pThis, ix)
 Function gets the text of item choosed by item index. More...
 
#define D4D_ComboBoxEnsureVisible(pThis)
 Function ensure that the selected item in list will be scrolled to visible area. More...
 
#define D4D_ComboBoxChangeItemList(pThis, pItems)
 Function change the items list using by combo box. More...
 
#define D4D_ComboBoxGetItemList(pThis)
 Function gets the current using item list. More...
 

Typedefs

typedef void(* D4D_CMBBX_ON_EVENT )(D4D_OBJECT *pThis, D4D_EVENTID eventId)
 Type definition of combo box on event callback function. More...
 
typedef D4D_LIST_BOX_INDEX D4D_COMBO_BOX_INDEX
 
typedef D4D_LIST_BOX_ITEM D4D_COMBO_BOX_ITEM
 
typedef struct D4D_COMBO_BOX_DATA_S D4D_COMBO_BOX_DATA
 
typedef struct D4D_COMBO_BOX_S D4D_COMBO_BOX
 

Functions

void D4D_ComboBoxListFeedBack (D4D_OBJECT *pThis, D4D_EVENTID eventId)
 
void D4D_ComboBoxEditFeedBack (D4D_OBJECT *pThis, D4D_EVENTID eventId)
 
void D4D_ComboBoxButtonFeedBack (D4D_OBJECT *pThis)
 
Byte D4D_ComboBoxButtonMsgFeedBack (D4D_MESSAGE *pMsg)
 
Byte D4D_ComboBoxListBoxMsgFeedBack (D4D_MESSAGE *pMsg)
 
 D4D_EXTERN_BMP (bmp_arrow)
 

Variables

const D4D_OBJECT_SYS_FUNCTION d4d_comboBoxSysFunc
 
const D4D_MARGIN comboBox_marginDefault
 

Detailed Description

D4D Driver comboBox object header file.

Author
Petr Gargulak
Version
0.0.5.0
Date
Oct-14-2013

Definition in file d4d_combo_box.h.

Macro Definition Documentation

#define D4D_COMBO_BOX_CHILD_BUTTON_IX

Definition at line 147 of file d4d_combo_box.h.

#define D4D_COMBO_BOX_CHILD_EDIT_BOX_IX

Definition at line 146 of file d4d_combo_box.h.

#define D4D_COMBO_BOX_CHILD_LIST_BOX_IX

Definition at line 148 of file d4d_combo_box.h.

#define D4D_GET_COMBO_BOX (   pObj)

Definition at line 157 of file d4d_combo_box.h.

#define D4D_GET_COMBO_BOX_BUTTON (   pObj)

Definition at line 161 of file d4d_combo_box.h.

#define D4D_GET_COMBO_BOX_DATA (   pObj)

Definition at line 158 of file d4d_combo_box.h.

#define D4D_GET_COMBO_BOX_EDIT_BOX (   pObj)

Definition at line 160 of file d4d_combo_box.h.

#define D4D_GET_COMBO_BOX_LIST_BOX (   pObj)

Definition at line 162 of file d4d_combo_box.h.

Typedef Documentation

Definition at line 130 of file d4d_combo_box.h.

Definition at line 131 of file d4d_combo_box.h.

Function Documentation

void D4D_ComboBoxButtonFeedBack ( D4D_OBJECT pThis)

Definition at line 214 of file d4d_combo_box.c.

Here is the call graph for this function:

Byte D4D_ComboBoxButtonMsgFeedBack ( D4D_MESSAGE pMsg)

Definition at line 196 of file d4d_combo_box.c.

Here is the call graph for this function:

void D4D_ComboBoxEditFeedBack ( D4D_OBJECT pThis,
D4D_EVENTID  eventId 
)

Definition at line 167 of file d4d_combo_box.c.

Here is the call graph for this function:

Byte D4D_ComboBoxListBoxMsgFeedBack ( D4D_MESSAGE pMsg)

Definition at line 120 of file d4d_combo_box.c.

Here is the call graph for this function:

void D4D_ComboBoxListFeedBack ( D4D_OBJECT pThis,
D4D_EVENTID  eventId 
)

Definition at line 131 of file d4d_combo_box.c.

Here is the call graph for this function:

D4D_EXTERN_BMP ( bmp_arrow  )

Variable Documentation

const D4D_MARGIN comboBox_marginDefault

Definition at line 95 of file d4d_combo_box.c.

const D4D_OBJECT_SYS_FUNCTION d4d_comboBoxSysFunc

Definition at line 87 of file d4d_combo_box.c.