FireBirdLib - Topfield TMS PVR TAP Programming Library
OSDMenuListBoxDestroy.c
Go to the documentation of this file.
1#include "FBLib_TMSOSDMenu.h"
2
4{
5 bool destroyable;
6
8
10 {
11 destroyable = (CurrentMenuLevel == 1 && Menu[0].Item == NULL);
12
13 OSDMenuPop();
14
15 if (destroyable) OSDMenuDestroy();
16 else OSDMenuUpdate(FALSE);
17 }
18
19 TRACEEXIT();
20}
tMenu Menu[NRMENULEVELS]
Definition: OSDMenuInit.c:6
dword CurrentMenuLevel
Definition: OSDMenuInit.c:7
void OSDMenuListBoxDestroy(void)
void OSDMenuDestroy(void)
Definition: OSDMenuDestroy.c:4
bool OSDMenuListBoxIsVisible(void)
void OSDMenuUpdate(bool SuppressOSDSync)
Definition: OSDMenuUpdate.c:3
#define TRACEEXIT()
Definition: libFireBird.h:1244
#define TRACEENTER()
Definition: libFireBird.h:1243
bool OSDMenuPop(void)
Definition: OSDMenuPop.c:4
tItem * Item