FireBirdLib - Topfield TMS PVR TAP Programming Library
OSDMenuMessageBoxDestroyNoOSDUpdate.c
Go to the documentation of this file.
1
#include "
FBLib_TMSOSDMenu.h
"
2
3
void
OSDMenuMessageBoxDestroyNoOSDUpdate
(
void
)
4
{
5
TRACEENTER
();
6
7
tOSDMapInfo
*OSDMapInfo;
8
9
if
(
MessageBoxOSDRgn
)
10
{
11
TAP_Osd_Delete(
MessageBoxOSDRgn
);
12
MessageBoxOSDRgn
= 0;
13
14
if
(
InfoBoxSaveArea
)
15
{
16
if
(
MyOSDRgn
)
17
{
18
OSDMapInfo = (
tOSDMapInfo
*)
FIS_vOsdMap
();
19
if
(OSDMapInfo)
20
TAP_Osd_RestoreBox(
MyOSDRgn
,
InfoBoxSaveAreaX
- OSDMapInfo[
MyOSDRgn
].x,
InfoBoxSaveAreaY
- OSDMapInfo[
MyOSDRgn
].y,
_InfoBox_Gd
.width,
_InfoBox_Gd
.height,
InfoBoxSaveArea
);
21
}
22
else
if
(
OSDRgn
) TAP_Osd_RestoreBox(
OSDRgn
,
InfoBoxSaveAreaX
,
InfoBoxSaveAreaY
,
_InfoBox_Gd
.width,
_InfoBox_Gd
.height,
InfoBoxSaveArea
);
23
24
TAP_MemFree(
InfoBoxSaveArea
);
25
InfoBoxSaveArea
= NULL;
26
MyOSDRgn
= 0;
27
}
28
}
29
30
OSDMenuFreeStdFonts
();
31
32
TRACEEXIT
();
33
}
FBLib_TMSOSDMenu.h
InfoBoxSaveAreaX
dword InfoBoxSaveAreaX
Definition:
OSDMenuInit.c:15
OSDMenuFreeStdFonts
void OSDMenuFreeStdFonts(void)
Definition:
OSDMenuFreeStdFonts.c:3
MessageBoxOSDRgn
word MessageBoxOSDRgn
Definition:
OSDMenuInit.c:18
_InfoBox_Gd
TYPE_GrData _InfoBox_Gd
InfoBoxSaveArea
byte * InfoBoxSaveArea
Definition:
OSDMenuInit.c:14
OSDRgn
word OSDRgn
Definition:
OSDMenuInit.c:4
MyOSDRgn
word MyOSDRgn
Definition:
OSDMenuInit.c:4
InfoBoxSaveAreaY
dword InfoBoxSaveAreaY
Definition:
FBLib_TMSOSDMenu.h:234
FIS_vOsdMap
dword FIS_vOsdMap(void)
Definition:
FIS_vOSDMap.c:3
OSDMenuMessageBoxDestroyNoOSDUpdate
void OSDMenuMessageBoxDestroyNoOSDUpdate(void)
Definition:
OSDMenuMessageBoxDestroyNoOSDUpdate.c:3
TRACEEXIT
#define TRACEEXIT()
Definition:
libFireBird.h:1244
TRACEENTER
#define TRACEENTER()
Definition:
libFireBird.h:1243
tOSDMapInfo
Definition:
libFireBird.h:275
TMSOSDMenu
OSDMenuMessageBoxDestroyNoOSDUpdate.c
Generated on Fri Apr 29 2022 13:34:01 for FireBirdLib - Topfield TMS PVR TAP Programming Library by
1.9.3