mirror of
https://github.com/reactos/reactos.git
synced 2024-08-20 18:35:32 +00:00
![Colin Finck](/assets/img/avatar_default.png)
I created an "applications/screensavers" directory for that, eventually rosapps should get a similar directory structure to reactos. Also changed the appropriate parts in reactos.dff. svn path=/trunk/; revision=29961
33 lines
538 B
C
33 lines
538 B
C
#ifndef MESSAGE_INCLUDED
|
|
#define MESSAGE_INCLUDED
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
//
|
|
// counter starts off negative (rand() < 0)..when it gets
|
|
// to zero the message starts to display
|
|
//
|
|
typedef struct
|
|
{
|
|
WORD message[MAXMSG_WIDTH][MAXMSG_HEIGHT];
|
|
|
|
int msgindex;
|
|
|
|
int counter;
|
|
WORD random_reg1;
|
|
|
|
int width, height;
|
|
|
|
} MATRIX_MESSAGE;
|
|
|
|
void SetMessageFont(HWND hwnd, TCHAR *szFontName, int nPointSize, BOOL fBold);
|
|
MATRIX_MESSAGE *InitMatrixMessage(HWND hwnd, int width, int height);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|