openclonk/src/gui/C4UpperBoard.h

39 lines
892 B
C++

/*
* OpenClonk, http://www.openclonk.org
*
* Copyright (c) 2001-2009, RedWolf Design GmbH, http://www.clonk.de/
* Copyright (c) 2013-2016, The OpenClonk Team and contributors
*
* Distributed under the terms of the ISC license; see accompanying file
* "COPYING" for details.
*
* "Clonk" is a registered trademark of Matthes Bender, used with permission.
* See accompanying file "TRADEMARK" for details.
*
* To redistribute this file separately, substitute the full license texts
* for the above references.
*/
#ifndef INC_C4UpperBoard
#define INC_C4UpperBoard
#include "graphics/C4Facet.h"
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