FireBirdLib - Topfield TMS PVR TAP Programming Library
OSDMenuSetFont.c
Go to the documentation of this file.
1
#include <string.h>
2
#include "
FBLib_TMSOSDMenu.h
"
3
4
void
OSDMenuSetFont
(
tFontDataUC
*LeftTitle,
tFontDataUC
*RightTitle,
tFontDataUC
*ListNumber,
tFontDataUC
*ListName,
tFontDataUC
*ListValue,
tFontDataUC
*Buttons,
tFontDataUC
*Memo)
5
{
6
TRACEENTER
();
7
8
tMenu
*pMenu;
9
10
pMenu = &
Menu
[
CurrentMenuLevel
];
11
12
if
(LeftTitle)
13
{
14
pMenu->
FontLeftTitle
= LeftTitle;
15
TitleDirty
= TRUE;
16
}
17
18
if
(RightTitle)
19
{
20
pMenu->
FontRightTitle
= RightTitle;
21
TitleDirty
= TRUE;
22
}
23
24
if
(ListNumber)
25
{
26
pMenu->
FontListLineNumber
= ListNumber;
27
ListDirty
= TRUE;
28
}
29
30
if
(ListName)
31
{
32
pMenu->
FontListNameColumn
= ListName;
33
ListDirty
= TRUE;
34
}
35
36
if
(ListValue)
37
{
38
pMenu->
FontListValueColumn
= ListValue;
39
ListDirty
= TRUE;
40
}
41
42
if
(Buttons)
43
{
44
pMenu->
FontButtons
= Buttons;
45
ButtonsDirty
= TRUE;
46
}
47
48
if
(Memo)
49
{
50
pMenu->
FontMemo
= Memo;
51
ListDirty
= TRUE;
52
}
53
54
TRACEEXIT
();
55
}
FBLib_TMSOSDMenu.h
Menu
tMenu Menu[NRMENULEVELS]
Definition:
OSDMenuInit.c:6
CurrentMenuLevel
dword CurrentMenuLevel
Definition:
OSDMenuInit.c:7
ListDirty
bool ListDirty
Definition:
FBLib_TMSOSDMenu.h:223
ButtonsDirty
bool ButtonsDirty
Definition:
FBLib_TMSOSDMenu.h:223
TitleDirty
bool TitleDirty
Definition:
FBLib_TMSOSDMenu.h:223
OSDMenuSetFont
void OSDMenuSetFont(tFontDataUC *LeftTitle, tFontDataUC *RightTitle, tFontDataUC *ListNumber, tFontDataUC *ListName, tFontDataUC *ListValue, tFontDataUC *Buttons, tFontDataUC *Memo)
Definition:
OSDMenuSetFont.c:4
TRACEEXIT
#define TRACEEXIT()
Definition:
libFireBird.h:1244
TRACEENTER
#define TRACEENTER()
Definition:
libFireBird.h:1243
tFontDataUC
Definition:
libFireBird.h:1849
tMenu
Definition:
FBLib_TMSOSDMenu.h:67
tMenu::FontListLineNumber
tFontDataUC * FontListLineNumber
Definition:
FBLib_TMSOSDMenu.h:99
tMenu::FontRightTitle
tFontDataUC * FontRightTitle
Definition:
FBLib_TMSOSDMenu.h:98
tMenu::FontListNameColumn
tFontDataUC * FontListNameColumn
Definition:
FBLib_TMSOSDMenu.h:100
tMenu::FontLeftTitle
tFontDataUC * FontLeftTitle
Definition:
FBLib_TMSOSDMenu.h:97
tMenu::FontListValueColumn
tFontDataUC * FontListValueColumn
Definition:
FBLib_TMSOSDMenu.h:101
tMenu::FontButtons
tFontDataUC * FontButtons
Definition:
FBLib_TMSOSDMenu.h:102
tMenu::FontMemo
tFontDataUC * FontMemo
Definition:
FBLib_TMSOSDMenu.h:103
TMSOSDMenu
OSDMenuSetFont.c
Generated on Fri Apr 29 2022 13:34:01 for FireBirdLib - Topfield TMS PVR TAP Programming Library by
1.9.3