FireBirdLib - Topfield TMS PVR TAP Programming Library
OSDMenuItemPassDrawing.c
Go to the documentation of this file.
1
#include "
FBLib_TMSOSDMenu.h
"
2
3
bool
OSDMenuItemPassDrawing
(
int
ItemIndex,
bool
VisibleName,
bool
VisibleValue)
4
{
5
tMenu
*pMenu;
6
bool
result = FALSE;
7
8
TRACEENTER
();
9
10
pMenu = &
Menu
[
CurrentMenuLevel
];
11
12
if
(ItemIndex >= 0 && ItemIndex < pMenu->NrItems)
13
{
14
pMenu->
Item
[ItemIndex].
passDrawing
= TRUE;
15
pMenu->
Item
[ItemIndex].
drawName
= VisibleName;
16
pMenu->
Item
[ItemIndex].
drawValue
= VisibleValue;
17
result = TRUE;
18
}
19
20
TRACEEXIT
();
21
22
return
result;
23
}
FBLib_TMSOSDMenu.h
Menu
tMenu Menu[NRMENULEVELS]
Definition:
OSDMenuInit.c:6
CurrentMenuLevel
dword CurrentMenuLevel
Definition:
OSDMenuInit.c:7
OSDMenuItemPassDrawing
bool OSDMenuItemPassDrawing(int ItemIndex, bool VisibleName, bool VisibleValue)
Definition:
OSDMenuItemPassDrawing.c:3
TRACEEXIT
#define TRACEEXIT()
Definition:
libFireBird.h:1244
TRACEENTER
#define TRACEENTER()
Definition:
libFireBird.h:1243
tItem::drawValue
bool drawValue
Definition:
FBLib_TMSOSDMenu.h:44
tItem::drawName
bool drawName
Definition:
FBLib_TMSOSDMenu.h:43
tItem::passDrawing
bool passDrawing
Definition:
FBLib_TMSOSDMenu.h:42
tMenu
Definition:
FBLib_TMSOSDMenu.h:67
tMenu::Item
tItem * Item
Definition:
FBLib_TMSOSDMenu.h:71
TMSOSDMenu
OSDMenuItemPassDrawing.c
Generated on Fri Apr 29 2022 13:34:01 for FireBirdLib - Topfield TMS PVR TAP Programming Library by
1.9.3