openclonk/engine/inc/C4UpperBoard.h

44 lines
1.0 KiB
C++

/*
* OpenClonk, http://www.openclonk.org
*
* Copyright (c) 2001 Sven Eberhardt
* Copyright (c) 2001 Michael Käser
* Copyright (c) 2001-2009, RedWolf Design GmbH, http://www.clonk.de
*
* Portions might be copyrighted by other authors who have contributed
* to OpenClonk.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
* See isc_license.txt for full license and disclaimer.
*
* "Clonk" is a registered trademark of Matthes Bender.
* See clonk_trademark_license.txt for full license.
*/
#ifndef INC_C4UpperBoard
#define INC_C4UpperBoard
#include <C4Facet.h>
class C4UpperBoard
{
friend class C4GraphicsSystem;
public:
C4UpperBoard();
~C4UpperBoard();
void Default();
void Clear();
void Init(C4Facet &cgo);
void Execute();
protected:
void Draw(C4Facet &cgo);
C4Facet Output;
char cTimeString[64];
char cTimeString2[64];
int TextWidth;
int TextYPosition;
};
#endif