ReactOS
0.4.15-dev-6679-g945ee4b
message.h
Go to the documentation of this file.
1
#ifndef MESSAGE_INCLUDED
2
#define MESSAGE_INCLUDED
3
4
#ifdef __cplusplus
5
extern
"C"
{
6
#endif
7
8
//
9
// counter starts off negative (rand() < 0)..when it gets
10
// to zero the message starts to display
11
//
12
typedef
struct
13
{
14
WORD
message
[
MAXMSG_WIDTH
][
MAXMSG_HEIGHT
];
15
16
int
msgindex
;
17
18
int
counter
;
19
WORD
random_reg1
;
20
21
int
width
,
height
;
22
23
}
MATRIX_MESSAGE
;
24
25
void
SetMessageFont
(
HWND
hwnd
,
TCHAR
*szFontName,
int
nPointSize,
BOOL
fBold);
26
MATRIX_MESSAGE
*
InitMatrixMessage
(
HWND
hwnd
,
int
width
,
int
height
);
27
28
#ifdef __cplusplus
29
}
30
#endif
31
32
#endif
BOOL
unsigned int BOOL
Definition:
ntddk_ex.h:94
WORD
unsigned short WORD
Definition:
ntddk_ex.h:93
height
GLint GLint GLsizei GLsizei height
Definition:
gl.h:1546
width
GLint GLint GLsizei width
Definition:
gl.h:1546
void
Definition:
nsiface.idl:2307
SetMessageFont
void SetMessageFont(HWND hwnd, TCHAR *szFontName, int nPointSize, BOOL fBold)
Definition:
message.c:201
InitMatrixMessage
MATRIX_MESSAGE * InitMatrixMessage(HWND hwnd, int width, int height)
Definition:
message.c:229
MAXMSG_WIDTH
#define MAXMSG_WIDTH
Definition:
globals.h:23
MAXMSG_HEIGHT
#define MAXMSG_HEIGHT
Definition:
globals.h:24
MATRIX_MESSAGE
Definition:
message.h:13
MATRIX_MESSAGE::height
int height
Definition:
message.h:21
MATRIX_MESSAGE::msgindex
int msgindex
Definition:
message.h:16
MATRIX_MESSAGE::random_reg1
WORD random_reg1
Definition:
message.h:19
MATRIX_MESSAGE::counter
int counter
Definition:
message.h:18
message
Definition:
tftpd.h:60
hwnd
_In_ LONG _In_ HWND hwnd
Definition:
winddi.h:4023
TCHAR
char TCHAR
Definition:
xmlstorage.h:189
modules
rosapps
applications
screensavers
matrix
message.h
Generated on Sat Sep 30 2023 06:05:49 for ReactOS by
1.9.6