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