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