2009-05-08 13:28:41 +00:00
|
|
|
/*
|
|
|
|
* OpenClonk, http://www.openclonk.org
|
|
|
|
*
|
2013-12-17 20:01:09 +00:00
|
|
|
* Copyright (c) 2001-2009, RedWolf Design GmbH, http://www.clonk.de/
|
2016-04-03 18:18:29 +00:00
|
|
|
* Copyright (c) 2013-2016, The OpenClonk Team and contributors
|
2009-05-08 13:28:41 +00:00
|
|
|
*
|
2013-12-17 20:01:09 +00:00
|
|
|
* Distributed under the terms of the ISC license; see accompanying file
|
|
|
|
* "COPYING" for details.
|
2009-05-08 13:28:41 +00:00
|
|
|
*
|
2013-12-17 20:01:09 +00:00
|
|
|
* "Clonk" is a registered trademark of Matthes Bender, used with permission.
|
|
|
|
* See accompanying file "TRADEMARK" for details.
|
2009-05-08 13:28:41 +00:00
|
|
|
*
|
2013-12-17 20:01:09 +00:00
|
|
|
* To redistribute this file separately, substitute the full license texts
|
|
|
|
* for the above references.
|
2009-05-08 13:28:41 +00:00
|
|
|
*/
|
|
|
|
#ifndef INC_C4UpperBoard
|
|
|
|
#define INC_C4UpperBoard
|
|
|
|
|
2016-04-03 18:07:56 +00:00
|
|
|
#include "graphics/C4Facet.h"
|
2009-05-08 13:28:41 +00:00
|
|
|
|
|
|
|
class C4UpperBoard
|
|
|
|
{
|
|
|
|
friend class C4GraphicsSystem;
|
|
|
|
public:
|
|
|
|
C4UpperBoard();
|
|
|
|
~C4UpperBoard();
|
|
|
|
void Init(C4Facet &cgo);
|
|
|
|
void Execute();
|
|
|
|
protected:
|
|
|
|
void Draw(C4Facet &cgo);
|
|
|
|
C4Facet Output;
|
|
|
|
char cTimeString[64];
|
|
|
|
char cTimeString2[64];
|
|
|
|
int TextWidth;
|
|
|
|
int TextYPosition;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|