eGUI alias D4D  Release 3.0
Reference Manual
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
d4d_list_box.c File Reference
#include "d4d.h"
#include "common_files/d4d_private.h"
Include dependency graph for d4d_list_box.c:

Macros

#define _calc
 

Functions

void D4D_ListBoxOnMessage (D4D_MESSAGE *pMsg)
 
static void D4D_ListBoxOnInit (D4D_OBJECT *pThis)
 
static D4D_LIST_BOX_INDEX D4D_GetItemsCount (D4D_LIST_BOX *pListBox)
 
static D4D_LIST_BOX_INDEX D4D_GetPositionCount (D4D_OBJECT *pThis)
 
static void D4D_ListBoxValue2Coor (D4D_OBJECT *pThis)
 
static void D4D_ListBoxOnDraw (D4D_MESSAGE *pMsg)
 
static void D4D_ListBoxFocusNextItem (D4D_OBJECT *pThis)
 
static void D4D_ListBoxFocusPreviousItem (D4D_OBJECT *pThis)
 
static void D4D_ListBoxOnKeyUp (D4D_MESSAGE *pMsg)
 
void D4D_ListBoxScrollBarsFeedBack (D4D_OBJECT *pThis, D4D_INDEX old_position, D4D_INDEX new_position)
 
void D4D_ListBoxEnsureVisible (D4D_OBJECT *pThis)
 Function ensure that the selected item in list will be scrolled to visible area. More...
 
D4D_LIST_BOX_INDEX D4D_ListBoxGetIndex (D4D_OBJECT *pThis)
 Function returns the current selected item index. More...
 
void D4D_ListBoxSetIndex (D4D_OBJECT *pThis, D4D_LIST_BOX_INDEX ix)
 Function select new item by index. More...
 
D4D_LIST_BOX_INDEX D4D_ListBoxGetItemCount (D4D_OBJECT_PTR pThis)
 Function gets the count of list box items. More...
 
D4D_LIST_BOX_INDEX D4D_ListBoxFindUserDataItem (D4D_OBJECT_PTR pThis, void *pUser)
 Function finds the index of items with specified user data. More...
 
void * D4D_ListBoxGetItemUserData (D4D_OBJECT_PTR pThis)
 Function gets the selected item user data. More...
 
D4D_TCHARD4D_ListBoxGetItemText (D4D_OBJECT_PTR pThis)
 Function gets the selected item text. More...
 
D4D_TCHARD4D_ListBoxGetItemTextIx (D4D_OBJECT_PTR pThis, D4D_LIST_BOX_INDEX ix)
 Function gets the text of item choosed by item index. More...
 
void D4D_ListBoxChangeItemList (D4D_OBJECT_PTR pThis, const D4D_LIST_BOX_ITEM *pItems)
 Function change the items list using by list box. More...
 
D4D_LIST_BOX_ITEMD4D_ListBoxGetItemList (D4D_OBJECT_PTR pThis)
 Function gets the current using item list. More...
 

Variables

const D4D_OBJECT_SYS_FUNCTION d4d_listBoxSysFunc
 
const D4D_MARGIN listBox_marginDefault
 

Detailed Description

D4D driver listBox object c file.

Author
Petr Gargulak
Version
0.0.10.0
Date
Oct-16-2013

Definition in file d4d_list_box.c.

Macro Definition Documentation

#define _calc

Definition at line 83 of file d4d_list_box.c.

Function Documentation

static D4D_LIST_BOX_INDEX D4D_GetItemsCount ( D4D_LIST_BOX pListBox)
static

Definition at line 93 of file d4d_list_box.c.

Here is the caller graph for this function:

static D4D_LIST_BOX_INDEX D4D_GetPositionCount ( D4D_OBJECT pThis)
static

Definition at line 103 of file d4d_list_box.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void D4D_ListBoxFocusNextItem ( D4D_OBJECT pThis)
static

Definition at line 280 of file d4d_list_box.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void D4D_ListBoxFocusPreviousItem ( D4D_OBJECT pThis)
static

Definition at line 304 of file d4d_list_box.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void D4D_ListBoxOnDraw ( D4D_MESSAGE pMsg)
static

Definition at line 180 of file d4d_list_box.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void D4D_ListBoxOnInit ( D4D_OBJECT pThis)
static

Definition at line 438 of file d4d_list_box.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void D4D_ListBoxOnKeyUp ( D4D_MESSAGE pMsg)
static

Definition at line 340 of file d4d_list_box.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void D4D_ListBoxOnMessage ( D4D_MESSAGE pMsg)

THE INTERNAL API FUNCTIONS

Definition at line 685 of file d4d_list_box.c.

Here is the call graph for this function:

void D4D_ListBoxScrollBarsFeedBack ( D4D_OBJECT pThis,
D4D_INDEX  old_position,
D4D_INDEX  new_position 
)

Definition at line 472 of file d4d_list_box.c.

Here is the call graph for this function:

static void D4D_ListBoxValue2Coor ( D4D_OBJECT pThis)
static

Definition at line 133 of file d4d_list_box.c.

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

const D4D_OBJECT_SYS_FUNCTION d4d_listBoxSysFunc

Definition at line 56 of file d4d_list_box.c.

const D4D_MARGIN listBox_marginDefault

Definition at line 64 of file d4d_list_box.c.