FireBirdLib - Topfield TMS PVR TAP Programming Library
OSDMenuMessageBoxInitialize.c
Go to the documentation of this file.
1
#include <string.h>
2
#include "
FBLib_TMSOSDMenu.h
"
3
4
void
OSDMenuMessageBoxInitialize
(
const
char
*Title,
const
char
*Text)
5
{
6
TRACEENTER
();
7
8
if
(
InfoBoxOSDRgn
)
OSDMenuInfoBoxDestroy
();
9
10
if
(
MessageBoxOSDRgn
)
OSDMenuMessageBoxDestroy
();
11
12
OSDMenuLoadStdFonts
();
13
14
MessageBox
.
NrButtons
= 0;
15
MessageBox
.
CurrentButton
= 0;
16
MessageBoxNoNormalMode
= FALSE;
17
MessageBoxAllowScrollOver
= FALSE;
18
19
strncpyUC
(
MessageBox
.
Title
, Title,
STDSTRINGSIZE
);
20
MessageBox
.
Title
[
STDSTRINGSIZE
- 1] =
'\0'
;
21
22
strncpyUC
(
MessageBox
.
Text
, Text,
STDSTRINGSIZE
);
23
MessageBox
.
Text
[
STDSTRINGSIZE
- 1] =
'\0'
;
24
25
TRACEEXIT
();
26
}
FBLib_TMSOSDMenu.h
MessageBox
tMessageBox MessageBox
Definition:
OSDMenuInit.c:19
MessageBoxOSDRgn
word MessageBoxOSDRgn
Definition:
OSDMenuInit.c:18
MessageBoxAllowScrollOver
bool MessageBoxAllowScrollOver
Definition:
OSDMenuInit.c:21
InfoBoxOSDRgn
word InfoBoxOSDRgn
Definition:
OSDMenuInit.c:12
STDSTRINGSIZE
#define STDSTRINGSIZE
Definition:
FBLib_TMSOSDMenu.h:8
OSDMenuLoadStdFonts
void OSDMenuLoadStdFonts(void)
Definition:
OSDMenuLoadStdFonts.c:3
MessageBoxNoNormalMode
bool MessageBoxNoNormalMode
Definition:
OSDMenuInit.c:20
OSDMenuMessageBoxInitialize
void OSDMenuMessageBoxInitialize(const char *Title, const char *Text)
Definition:
OSDMenuMessageBoxInitialize.c:4
TRACEEXIT
#define TRACEEXIT()
Definition:
libFireBird.h:1244
OSDMenuMessageBoxDestroy
void OSDMenuMessageBoxDestroy(void)
Definition:
OSDMenuMessageBoxDestroy.c:3
TRACEENTER
#define TRACEENTER()
Definition:
libFireBird.h:1243
OSDMenuInfoBoxDestroy
void OSDMenuInfoBoxDestroy(void)
Definition:
OSDMenuInfoBoxDestroy.c:3
strncpyUC
byte * strncpyUC(byte *dest, const byte *src, size_t n)
Definition:
strncpyUC.c:4
tMessageBox::Title
char Title[STDSTRINGSIZE]
Definition:
FBLib_TMSOSDMenu.h:112
tMessageBox::Text
char Text[STDSTRINGSIZE]
Definition:
FBLib_TMSOSDMenu.h:113
tMessageBox::CurrentButton
dword CurrentButton
Definition:
FBLib_TMSOSDMenu.h:110
tMessageBox::NrButtons
dword NrButtons
Definition:
FBLib_TMSOSDMenu.h:109
TMSOSDMenu
OSDMenuMessageBoxInitialize.c
Generated on Fri Apr 29 2022 13:34:01 for FireBirdLib - Topfield TMS PVR TAP Programming Library by
1.9.3