This commit is contained in:
parent
acc7bdf7d9
commit
903a84367b
2 changed files with 505 additions and 0 deletions
79
source/gui/gtextent.h
Normal file
79
source/gui/gtextent.h
Normal file
|
@ -0,0 +1,79 @@
|
|||
NB - This is not used.. but left IN VSS incase it needs to be resurrected (PKG)
|
||||
|
||||
|
||||
/*=========================================================================
|
||||
|
||||
gtextent.h
|
||||
|
||||
Author: PKG
|
||||
Created:
|
||||
Project: Spongebob
|
||||
Purpose:
|
||||
|
||||
Copyright (c) 2000 Climax Development Ltd
|
||||
|
||||
===========================================================================*/
|
||||
|
||||
#ifndef __GUI_GTEXTENT_H__
|
||||
#define __GUI_GTEXTENT_H__
|
||||
|
||||
/*----------------------------------------------------------------------
|
||||
Includes
|
||||
-------- */
|
||||
|
||||
#ifndef __GUI_GUI_H__
|
||||
#include "gui\gui.h"
|
||||
#endif
|
||||
|
||||
|
||||
/* Std Lib
|
||||
------- */
|
||||
|
||||
/*----------------------------------------------------------------------
|
||||
Tyepdefs && Defines
|
||||
------------------- */
|
||||
|
||||
/*----------------------------------------------------------------------
|
||||
Structure defintions
|
||||
-------------------- */
|
||||
|
||||
class CGUITextEntry : public CGUIObjectWithFont
|
||||
{
|
||||
public:
|
||||
virtual void init(CGUIObject *_parent,GUIId _id=noId);
|
||||
virtual void shutdown();
|
||||
|
||||
virtual void setTextDetails(char *_store,int _maxLength);
|
||||
|
||||
virtual void render();
|
||||
virtual void think(int _frames);
|
||||
|
||||
virtual void setFlags(GUI_FLAGS _flags);
|
||||
|
||||
virtual int isSelectable() {return true;}
|
||||
virtual int isUnselectable();
|
||||
|
||||
|
||||
private:
|
||||
class CGUIKeyboard *m_keyboard;
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------
|
||||
Globals
|
||||
------- */
|
||||
|
||||
/*----------------------------------------------------------------------
|
||||
Functions
|
||||
--------- */
|
||||
|
||||
/*---------------------------------------------------------------------- */
|
||||
|
||||
#endif /* __GUI_GTEXTBOX_H__ */
|
||||
|
||||
/*===========================================================================
|
||||
end */
|
Loading…
Add table
Add a link
Reference in a new issue