#include <editbox.h>
Inheritance diagram for EditBox:
Public Types | |
enum | BORDERAREA |
Defines for the available areas. | |
enum | HITTESTRESULT { OUTSIDE, INSIDE, EDGE } |
Identifiers for hit test result. More... | |
Public Member Functions | |
EditBox (Object *pkParent, EditBox *pkObject=0, bool bCreateAreas=true) | |
virtual | ~EditBox () |
virtual bool | Render (NeoEngine::Frustum *pkFrustum=0, bool bForce=false) |
virtual void | Update (float fDeltaTime) |
virtual unsigned int | ProcessMsg (Msg *pkMsg) |
virtual Object * | Duplicate (Object *pkParent=0, Object *pkObject=0) |
virtual const Coord & | SetSize (const Coord &rkSize) |
virtual void | SetMaterial (const NeoEngine::MaterialPtr &pkMat) |
virtual Area * | GetArea (BORDERAREA eArea) |
virtual void | RecalcAreas () |
virtual void | SetCenterArea (Area *pkCenter) |
virtual const Coord & | SetPosition (const Coord &rkPos) |
const Coord & | GetPosition () const |
const Coord & | GetWorldPosition () |
const Coord & | GetSize () const |
virtual void | SetName (const NeoEngine::HashString &rstrName) |
virtual const NeoEngine::HashString & | GetName () const |
virtual void | SetAttribute (const AttributeBase &rkAttribute) |
unsigned int | GetID () const |
virtual Object * | GetParent () |
virtual Object * | GetRoot () |
virtual Object * | GetObject (const std::string &rstrName) |
virtual const std::vector< Object * > & | GetChildObjects () const |
virtual void | AttachObject (Object *pkObject) |
virtual void | DetachObject (Object *pkObject) |
virtual void | AttachToObject (Object *pkParent) |
virtual void | AddHook (MsgHook *pkMsgHook) |
virtual void | RemoveHook (MsgHook *pkMsgHook) |
virtual void | Input (const NeoEngine::InputEvent *pkEvent) |
HITTESTRESULT | HitTest (const Coord &rkCoord) |
Protected Member Functions | |
void | UpdateWorldCache (bool bRecurse=true) |
Protected Attributes | |
TextArea * | m_pkTextArea |
Object * | m_pkCursor |
bool | m_bInputFocus |
float | m_fCursorBlinkTime |
NeoEngine::MaterialPtr | m_pkMaterial |
unsigned int | m_uiID |
Object * | m_pkParent |
std::vector< Object * > | m_vpkChildren |
Coord | m_kPos |
Coord | m_kWorldPos |
Coord | m_kSize |
NeoEngine::HashString | m_strName |
std::vector< MsgHook * > | m_vpkMsgHook |
HITTESTRESULT | m_eLastMouse |
|
Identifiers for hit test result.
|
|
|
|
|
|
Render object, recurses on children
Reimplemented from BorderArea. |
|
Update object
Reimplemented from Object. |
|
Process message
Reimplemented from Object. |
|
Duplicate and/or copy this object
Reimplemented from BorderArea. |
|
Set size and recalculate areas
Reimplemented from Object. |
|
Set material
|
|
|
|
Recalculate position and sizes of subobjects. Call this method if you manually change size of position of any subobject. Corners and borders positions and sizes are determined from the sizes of the topleft and bottomright corners. |
|
Set center area object. This will delete previous area object
|
|
Update world cache position and recurse on children if flag set
|
|
Set position relative parent
|
|
|
|
|
|
|
|
|
|
|
|
Set an attribute
Reimplemented in TextArea. |
|
|
|
|
|
|
|
Search for a child object by name ("parent" for parent object, "root" for root object)
|
|
Get all child objects (no recursion)
|
|
Attach window object
|
|
Detach window object
|
|
Attach this object to new parent
|
|
Add a message hook object (hook object will be freed in dtor)
|
|
Remove a message hook object (you must now free the hook object yourself)
|
|
Process input
|
|
Test if coordinate is inside, on edge or outside object area
|
|
Textarea object |
|
Cursor object |
|
Input focus flag |
|
Cursor blink time |
|
Material for corners and borders |
|
Unique ID |
|
Parent object |
|
Children |
|
Position relative parent |
|
World position |
|
Size |
|
Name |
|
Hooked message actions |
|
Result of last mouse hit test |