FireBirdLib - Topfield TMS PVR TAP Programming Library
OSDMenuLogo.c
Go to the documentation of this file.
1
#include "
FBLib_TMSOSDMenu.h
"
2
3
void
OSDMenuLogo
(dword
X
, dword
Y
, TYPE_GrData *LogoGd)
4
{
5
TRACEENTER
();
6
7
tMenu
*pMenu;
8
9
pMenu = &
Menu
[
CurrentMenuLevel
];
10
11
if
(pMenu->
pLogoGd
)
12
{
13
pMenu->
PrevLogoX
= pMenu->
LogoX
;
14
pMenu->
PrevLogoY
= pMenu->
LogoY
;
15
pMenu->
PrevLogoW
= pMenu->
pLogoGd
->width;
16
pMenu->
PrevLogoH
= pMenu->
pLogoGd
->height;
17
}
18
19
pMenu->
LogoX
=
X
;
20
pMenu->
LogoY
=
Y
;
21
pMenu->
pLogoGd
= LogoGd;
22
23
LogoDirty
= TRUE;
24
25
TRACEEXIT
();
26
}
FBLib_TMSOSDMenu.h
Menu
tMenu Menu[NRMENULEVELS]
Definition:
OSDMenuInit.c:6
CurrentMenuLevel
dword CurrentMenuLevel
Definition:
OSDMenuInit.c:7
LogoDirty
bool LogoDirty
Definition:
FBLib_TMSOSDMenu.h:223
OSDMenuLogo
void OSDMenuLogo(dword X, dword Y, TYPE_GrData *LogoGd)
Definition:
OSDMenuLogo.c:3
TRACEEXIT
#define TRACEEXIT()
Definition:
libFireBird.h:1244
Y
@ Y
Definition:
libFireBird.h:291
X
@ X
Definition:
libFireBird.h:290
TRACEENTER
#define TRACEENTER()
Definition:
libFireBird.h:1243
tMenu
Definition:
FBLib_TMSOSDMenu.h:67
tMenu::LogoX
dword LogoX
Definition:
FBLib_TMSOSDMenu.h:88
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
OSDMenuLogo.c
Generated on Fri Apr 29 2022 13:34:01 for FireBirdLib - Topfield TMS PVR TAP Programming Library by
1.9.3