FireBirdLib - Topfield TMS PVR TAP Programming Library
OSDDrawLogo.c
Go to the documentation of this file.
1
#include "
FBLib_TMSOSDMenu.h
"
2
3
void
OSDDrawLogo
(
void
)
4
{
5
TRACEENTER
();
6
7
tMenu
*pMenu;
8
9
pMenu = &
Menu
[
CurrentMenuLevel
];
10
11
if
(pMenu->
PrevLogoW
&& pMenu->
PrevLogoH
)
12
{
13
TAP_Osd_FillBox(
OSDRgn
, pMenu->
PrevLogoX
, pMenu->
PrevLogoY
, pMenu->
PrevLogoW
, pMenu->
PrevLogoH
, RGB(16, 16, 16));
14
pMenu->
PrevLogoW
= 0;
15
pMenu->
PrevLogoH
= 0;
16
}
17
18
if
(pMenu->
pLogoGd
) TAP_Osd_PutGd(
OSDRgn
, pMenu->
LogoX
, pMenu->
LogoY
, pMenu->
pLogoGd
, FALSE);
19
20
if
(pMenu->
CallbackProcedure
) pMenu->
CallbackProcedure
(
OSDCB_Logo
,
OSDRgn
);
21
22
TRACEEXIT
();
23
}
FBLib_TMSOSDMenu.h
Menu
tMenu Menu[NRMENULEVELS]
Definition:
OSDMenuInit.c:6
CurrentMenuLevel
dword CurrentMenuLevel
Definition:
OSDMenuInit.c:7
OSDRgn
word OSDRgn
Definition:
OSDMenuInit.c:4
OSDDrawLogo
void OSDDrawLogo(void)
Definition:
OSDDrawLogo.c:3
OSDCB_Logo
@ OSDCB_Logo
Definition:
libFireBird.h:2794
TRACEEXIT
#define TRACEEXIT()
Definition:
libFireBird.h:1244
TRACEENTER
#define TRACEENTER()
Definition:
libFireBird.h:1243
tMenu
Definition:
FBLib_TMSOSDMenu.h:67
tMenu::LogoX
dword LogoX
Definition:
FBLib_TMSOSDMenu.h:88
tMenu::CallbackProcedure
void(* CallbackProcedure)(tOSDCB OSDCBType, word OSDRgn)
Definition:
FBLib_TMSOSDMenu.h:104
tMenu::PrevLogoY
dword PrevLogoY
Definition:
FBLib_TMSOSDMenu.h:92
tMenu::LogoY
dword LogoY
Definition:
FBLib_TMSOSDMenu.h:89
tMenu::PrevLogoH
dword PrevLogoH
Definition:
FBLib_TMSOSDMenu.h:94
tMenu::PrevLogoW
dword PrevLogoW
Definition:
FBLib_TMSOSDMenu.h:93
tMenu::pLogoGd
TYPE_GrData * pLogoGd
Definition:
FBLib_TMSOSDMenu.h:90
tMenu::PrevLogoX
dword PrevLogoX
Definition:
FBLib_TMSOSDMenu.h:91
TMSOSDMenu
OSDDrawLogo.c
Generated on Fri Apr 29 2022 13:34:01 for FireBirdLib - Topfield TMS PVR TAP Programming Library by
1.9.3