FireBirdLib - Topfield TMS PVR TAP Programming Library
OSDMenuItemModifyValueArrows.c
Go to the documentation of this file.
1
#include "
FBLib_TMSOSDMenu.h
"
2
3
bool
OSDMenuItemModifyValueArrows
(
int
ItemIndex,
bool
ValueArrows)
4
{
5
tMenu
*pMenu;
6
7
TRACEENTER
();
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].
ValueArrows
= ValueArrows;
18
19
ListDirty
= TRUE;
20
21
TRACEEXIT
();
22
23
return
TRUE;
24
}
FBLib_TMSOSDMenu.h
Menu
tMenu Menu[NRMENULEVELS]
Definition:
OSDMenuInit.c:6
CurrentMenuLevel
dword CurrentMenuLevel
Definition:
OSDMenuInit.c:7
ListDirty
bool ListDirty
Definition:
FBLib_TMSOSDMenu.h:223
OSDMenuItemModifyValueArrows
bool OSDMenuItemModifyValueArrows(int ItemIndex, bool ValueArrows)
Definition:
OSDMenuItemModifyValueArrows.c:3
TRACEEXIT
#define TRACEEXIT()
Definition:
libFireBird.h:1244
TRACEENTER
#define TRACEENTER()
Definition:
libFireBird.h:1243
tItem::ValueArrows
bool ValueArrows
Definition:
FBLib_TMSOSDMenu.h:41
tMenu
Definition:
FBLib_TMSOSDMenu.h:67
tMenu::Item
tItem * Item
Definition:
FBLib_TMSOSDMenu.h:71
tMenu::NrItems
int NrItems
Definition:
FBLib_TMSOSDMenu.h:72
TMSOSDMenu
OSDMenuItemModifyValueArrows.c
Generated on Fri Apr 29 2022 13:34:01 for FireBirdLib - Topfield TMS PVR TAP Programming Library by
1.9.3