FireBirdLib - Topfield TMS PVR TAP Programming Library
OSDMenuModifyTitleLeft.c
Go to the documentation of this file.
1
#include <string.h>
2
#include "
FBLib_TMSOSDMenu.h
"
3
4
void
OSDMenuModifyTitleLeft
(
const
char
*Text)
5
{
6
TRACEENTER
();
7
8
tMenu
*pMenu;
9
10
if
(!Text)
11
{
12
TRACEEXIT
();
13
return
;
14
}
15
16
pMenu = &
Menu
[
CurrentMenuLevel
];
17
18
strncpyUC
(pMenu->
TitleLeft
, Text,
STDSTRINGSIZE
);
19
pMenu->
TitleLeft
[
STDSTRINGSIZE
- 1] =
'\0'
;
20
TitleDirty
= TRUE;
21
22
TRACEEXIT
();
23
}
FBLib_TMSOSDMenu.h
Menu
tMenu Menu[NRMENULEVELS]
Definition:
OSDMenuInit.c:6
STDSTRINGSIZE
#define STDSTRINGSIZE
Definition:
FBLib_TMSOSDMenu.h:8
CurrentMenuLevel
dword CurrentMenuLevel
Definition:
OSDMenuInit.c:7
TitleDirty
bool TitleDirty
Definition:
FBLib_TMSOSDMenu.h:223
OSDMenuModifyTitleLeft
void OSDMenuModifyTitleLeft(const char *Text)
Definition:
OSDMenuModifyTitleLeft.c:4
TRACEEXIT
#define TRACEEXIT()
Definition:
libFireBird.h:1244
TRACEENTER
#define TRACEENTER()
Definition:
libFireBird.h:1243
strncpyUC
byte * strncpyUC(byte *dest, const byte *src, size_t n)
Definition:
strncpyUC.c:4
tMenu
Definition:
FBLib_TMSOSDMenu.h:67
tMenu::TitleLeft
char TitleLeft[STDSTRINGSIZE]
Definition:
FBLib_TMSOSDMenu.h:86
TMSOSDMenu
OSDMenuModifyTitleLeft.c
Generated on Fri Apr 29 2022 13:34:01 for FireBirdLib - Topfield TMS PVR TAP Programming Library by
1.9.3