FireBirdLib - Topfield TMS PVR TAP Programming Library
OSDMenuScrollUp.c
Go to the documentation of this file.
1
#include "
FBLib_TMSOSDMenu.h
"
2
3
int
OSDMenuScrollUp
(
void
)
4
{
5
TRACEENTER
();
6
7
tMenu
*pMenu;
8
int
ret;
9
10
pMenu = &
Menu
[
CurrentMenuLevel
];
11
12
ret =
OSDMenuFindPreviousSelectableEntry
(pMenu->
CurrentSelection
);
13
if
(ret == -1)
14
{
15
TRACEEXIT
();
16
return
-1;
17
}
18
19
pMenu->
CurrentSelection
= ret;
20
ListDirty
= TRUE;
21
22
TRACEEXIT
();
23
return
ret;
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
OSDMenuScrollUp
int OSDMenuScrollUp(void)
Definition:
OSDMenuScrollUp.c:3
OSDMenuFindPreviousSelectableEntry
int OSDMenuFindPreviousSelectableEntry(int CurrentSelection)
Definition:
OSDMenuFindPreviousSelectableEntry.c:3
TRACEEXIT
#define TRACEEXIT()
Definition:
libFireBird.h:1244
TRACEENTER
#define TRACEENTER()
Definition:
libFireBird.h:1243
tMenu
Definition:
FBLib_TMSOSDMenu.h:67
tMenu::CurrentSelection
int CurrentSelection
Definition:
FBLib_TMSOSDMenu.h:74
TMSOSDMenu
OSDMenuScrollUp.c
Generated on Fri Apr 29 2022 13:34:01 for FireBirdLib - Topfield TMS PVR TAP Programming Library by
1.9.3