SBSPSS/source/gui/gtextbox.h
2000-11-03 16:41:57 +00:00

75 lines
1.4 KiB
C++

/*=========================================================================
gtextbox.h
Author: PKG
Created:
Project: Spongebob
Purpose:
Copyright (c) 2000 Climax Development Ltd
===========================================================================*/
#ifndef __GUI_GTEXTBOX_H__
#define __GUI_GTEXTBOX_H__
/*----------------------------------------------------------------------
Includes
-------- */
#ifndef __GUI_GUI_H__
#include "gui\gui.h"
#endif
/* Std Lib
------- */
/*----------------------------------------------------------------------
Tyepdefs && Defines
------------------- */
/*----------------------------------------------------------------------
Structure defintions
-------------------- */
class CGUITextBox : public CGUIObjectWithFont
{
public:
virtual void init(CGUIObject *_parent,GUIId _id=noId);
virtual void setText(unsigned int _textId);
virtual void render();
protected:
void recalc();
private:
unsigned int m_textId;
int m_textY;
};
/*----------------------------------------------------------------------
Globals
------- */
/*----------------------------------------------------------------------
Functions
--------- */
/*---------------------------------------------------------------------- */
#endif /* __GUI_GTEXTBOX_H__ */
/*===========================================================================
end */