-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMessage.h
More file actions
32 lines (24 loc) · 786 Bytes
/
Copy pathMessage.h
File metadata and controls
32 lines (24 loc) · 786 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Message.h: interface for the CMessage class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_MESSAGE_H__B72B4340_9F55_11D5_9857_D5CF9032E940__INCLUDED_)
#define AFX_MESSAGE_H__B72B4340_9F55_11D5_9857_D5CF9032E940__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define CDXINCLUDEALL // this define includes all headers, otherwise include one by one
#include <cdx.h>
class CMessage
{
private:
int Count; // time till message dissapears.
int x, y;
char Message[10000];
CDXSurface *Surface;
public:
CMessage();
virtual ~CMessage();
void NewText(CDXSurface *surface, char *msg, int a=10, int b=380);
void Draw();
};
#endif // !defined(AFX_MESSAGE_H__B72B4340_9F55_11D5_9857_D5CF9032E940__INCLUDED_)