FireBirdLib - Topfield TMS PVR TAP Programming Library
OSDMenuItemGetNameColor.c
Go to the documentation of this file.
1#include "FBLib_TMSOSDMenu.h"
2
3dword OSDMenuItemGetNameColor (int ItemIndex)
4{
5 tMenu *pMenu;
6
8
9 pMenu = &Menu[CurrentMenuLevel];
10
11 if(ItemIndex < 0 || ItemIndex >= pMenu->NrItems)
12 {
13 TRACEEXIT();
14 return 0;
15 }
16
17 TRACEEXIT();
18
19 return pMenu->Item[ItemIndex].NameColor;
20}
tMenu Menu[NRMENULEVELS]
Definition: OSDMenuInit.c:6
dword CurrentMenuLevel
Definition: OSDMenuInit.c:7
dword OSDMenuItemGetNameColor(int ItemIndex)
#define TRACEEXIT()
Definition: libFireBird.h:1244
#define TRACEENTER()
Definition: libFireBird.h:1243
dword NameColor
tItem * Item