FireBirdLib - Topfield TMS PVR TAP Programming Library
OSDMenuDestroyNoOSDUpdate.c
Go to the documentation of this file.
1
#include <stdlib.h>
2
#include "
FBLib_TMSOSDMenu.h
"
3
4
void
OSDMenuDestroyNoOSDUpdate
(
void
)
5
{
6
TRACEENTER
();
7
8
if
(
OSDRgn
)
9
{
10
TAP_Osd_Delete(
OSDRgn
);
11
OSDRgn
= 0;
12
if
(
OSDMenuSelectionBarRgn
) TAP_Osd_Delete(
OSDMenuSelectionBarRgn
);
13
OSDMenuSelectionBarRgn
= 0;
14
OSDMenuLastCursor
=
LCT_NRCURSORS
;
15
}
16
if
(
Menu
[
CurrentMenuLevel
].Item)
17
{
18
TAP_MemFree(
Menu
[
CurrentMenuLevel
].Item);
19
Menu
[
CurrentMenuLevel
].
Item
= NULL;
20
}
21
22
if
(
Menu
[
CurrentMenuLevel
].MemoText)
23
{
24
TAP_MemFree(
Menu
[
CurrentMenuLevel
].MemoText);
25
Menu
[
CurrentMenuLevel
].
MemoText
= NULL;
26
}
27
28
OSDMenuFreeStdFonts
();
29
30
Menu
[
CurrentMenuLevel
].
CallbackProcedure
= NULL;
31
32
TRACEEXIT
();
33
}
FBLib_TMSOSDMenu.h
OSDMenuLastCursor
tOSDMenuLastCursorType OSDMenuLastCursor
Definition:
OSDMenuInit.c:10
Menu
tMenu Menu[NRMENULEVELS]
Definition:
OSDMenuInit.c:6
OSDMenuFreeStdFonts
void OSDMenuFreeStdFonts(void)
Definition:
OSDMenuFreeStdFonts.c:3
LCT_NRCURSORS
@ LCT_NRCURSORS
Definition:
FBLib_TMSOSDMenu.h:129
CurrentMenuLevel
dword CurrentMenuLevel
Definition:
OSDMenuInit.c:7
OSDRgn
word OSDRgn
Definition:
OSDMenuInit.c:4
OSDMenuSelectionBarRgn
word OSDMenuSelectionBarRgn
Definition:
OSDMenuInit.c:4
OSDMenuDestroyNoOSDUpdate
void OSDMenuDestroyNoOSDUpdate(void)
Definition:
OSDMenuDestroyNoOSDUpdate.c:4
TRACEEXIT
#define TRACEEXIT()
Definition:
libFireBird.h:1244
TRACEENTER
#define TRACEENTER()
Definition:
libFireBird.h:1243
tMenu::CallbackProcedure
void(* CallbackProcedure)(tOSDCB OSDCBType, word OSDRgn)
Definition:
FBLib_TMSOSDMenu.h:104
tMenu::MemoText
char * MemoText
Definition:
FBLib_TMSOSDMenu.h:95
tMenu::Item
tItem * Item
Definition:
FBLib_TMSOSDMenu.h:71
TMSOSDMenu
OSDMenuDestroyNoOSDUpdate.c
Generated on Fri Apr 29 2022 13:34:01 for FireBirdLib - Topfield TMS PVR TAP Programming Library by
1.9.3