You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
999 B
C++

//
// G A M E.O.N.E - LOW LEVEL LIB V1.0
// Copyright (C) 2001 LEVEL ONE ENTERTAINMENT,
// Licensed under the terms of LGPL.
//:---------------------------------------------------------------------------
//:Description
//
// FRAMEWORK Layerobject - displays a floating text
//
// CActor
// +--CLayer
// +-- CLayerFloatingText
//
//
//:---------------------------------------------------------------------------
//////////////////////////////////////////////////////////////////////
#if !defined(_LAYER_FLOATINGTEXT_H)
#define _LAYER_FLOATINGTEXT_H
#include "llfrm_layer.h"
class CLayerFloatingText : public CLayer
{
public:
CLayerFloatingText();
virtual ~CLayerFloatingText();
virtual bool ParseMsg(const char *Type );
virtual void Action(float delta);
virtual void Draw(llgfx_id id );
char * m_text;
char * m_fontname;
int m_xsize;
int m_ysize;
s_font m_font;
TxU32 m_colorkey;
bool m_bColorkeySet;
bool m_bUppercase;
};
#endif // !defined(_LAYER_FLOATINGTEXT_H)