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

Macros

#define _calc
 

Functions

void D4D_MenuOnMessage (D4D_MESSAGE *pMsg)
 
D4D_STRINGD4D_MenuGetTextBuffer (D4D_OBJECT *pThis)
 
static void D4D_MenuOnInit (D4D_MESSAGE *pMsg)
 
static D4D_MENU_INDEX D4D_GetItemsCount (D4D_MENU *pMenu)
 
static D4D_SIZE D4D_GetIconsMaxSize (D4D_MENU *pMenu)
 
static D4D_COOR D4D_GetTitleBarHeight (D4D_OBJECT *pThis)
 
static void D4D_MenuValue2Coor (D4D_OBJECT *pThis)
 
static void D4D_MenuOnDraw (D4D_MESSAGE *pMsg)
 
static void D4D_MenuFocusNextItem (D4D_OBJECT *pThis)
 
static void D4D_MenuFocusPreviousItem (D4D_OBJECT *pThis)
 
static void D4D_MenuOnKeyDown (D4D_MESSAGE *pMsg)
 
static void D4D_MenuOnKeyUp (D4D_MESSAGE *pMsg)
 
static D4D_BOOL D4D_MenuScrollBarSetup (D4D_OBJECT *pObject)
 
void D4D_MenuScrollBarsFeedBack (D4D_OBJECT *pThis, D4D_INDEX old_position, D4D_INDEX new_position)
 
D4D_MENU_INDEX D4D_MenuGetIndex (D4D_OBJECT *pThis)
 Function returns the current selected item index. More...
 
void D4D_MenuSetIndex (D4D_OBJECT *pThis, D4D_MENU_INDEX ix)
 Function select new item by index. More...
 
D4D_MENU_INDEX D4D_MenuGetItemCount (D4D_OBJECT_PTR pThis)
 Function gets the count of menu items. More...
 
D4D_MENU_INDEX D4D_MenuFindUserDataItem (D4D_OBJECT_PTR pThis, void *pUser)
 Function finds the index of items with specified user data. More...
 
void * D4D_MenuGetItemUserData (D4D_OBJECT_PTR pThis)
 Function gets the selected item user data. More...
 
D4D_STRINGD4D_MenuGetItemText (D4D_OBJECT_PTR pThis)
 Function gets the selected item text. More...
 

Variables

const D4D_OBJECT_SYS_FUNCTION d4d_menuSysFunc
 

Detailed Description

D4D driver menu object c file.

Author
Petr Gargulak
Version
0.0.51.0
Date
Jan-14-2014

Definition in file d4d_menu.c.

Macro Definition Documentation

#define _calc

Definition at line 78 of file d4d_menu.c.

Function Documentation

static D4D_SIZE D4D_GetIconsMaxSize ( D4D_MENU pMenu)
static

Definition at line 89 of file d4d_menu.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static D4D_MENU_INDEX D4D_GetItemsCount ( D4D_MENU pMenu)
static

Definition at line 141 of file d4d_menu.c.

Here is the caller graph for this function:

static D4D_COOR D4D_GetTitleBarHeight ( D4D_OBJECT pThis)
static

Definition at line 111 of file d4d_menu.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void D4D_MenuFocusNextItem ( D4D_OBJECT pThis)
static

Definition at line 360 of file d4d_menu.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void D4D_MenuFocusPreviousItem ( D4D_OBJECT pThis)
static

Definition at line 394 of file d4d_menu.c.

Here is the call graph for this function:

Here is the caller graph for this function:

D4D_STRING * D4D_MenuGetTextBuffer ( D4D_OBJECT pThis)

Get object text buffer

Definition at line 794 of file d4d_menu.c.

static void D4D_MenuOnDraw ( D4D_MESSAGE pMsg)
static

Definition at line 205 of file d4d_menu.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void D4D_MenuOnInit ( D4D_MESSAGE pMsg)
static

Definition at line 586 of file d4d_menu.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void D4D_MenuOnKeyDown ( D4D_MESSAGE pMsg)
static

Definition at line 432 of file d4d_menu.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void D4D_MenuOnKeyUp ( D4D_MESSAGE pMsg)
static

Definition at line 455 of file d4d_menu.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void D4D_MenuOnMessage ( D4D_MESSAGE pMsg)

THE INTERNAL API FUNCTIONS

Definition at line 735 of file d4d_menu.c.

Here is the call graph for this function:

static D4D_BOOL D4D_MenuScrollBarSetup ( D4D_OBJECT pObject)
static

Definition at line 548 of file d4d_menu.c.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 597 of file d4d_menu.c.

Here is the call graph for this function:

static void D4D_MenuValue2Coor ( D4D_OBJECT pThis)
static

Definition at line 154 of file d4d_menu.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_menuSysFunc

Definition at line 56 of file d4d_menu.c.