class
GmTextField
Class description
Inheritance:
Public Methods
GmTextField
()
Standard constructor
virtual
~GmTextField
()
Virtual destructor
Inherited from
GmTextWidget
:
Public Methods
void
getGlExtents
(float& width, float& height)
void
getOffset
(float& xOffset, float& yOffset)
virtual char*
getText
()
GlmColor4*
getTextColor
()
void
getTextJustification
(
GmTypes::JustificationType
& horizontal,
GmTypes::JustificationType
& vertical)
float
getTextPointSize
()
void
setOffset
(float xOffset, float yOffset)
virtual void
setText
(char* text)
void
setTextColor
(float r, float g, float b, float a)
void
setTextColor
(GlmColor4* color)
void
setTextJustification
(
GmTypes::JustificationType
horizontal,
GmTypes::JustificationType
vertical)
void
setTextPointSize
(float pointSize)
Protected Fields
OGLFT::Face*
mFontFace
char*
mText
GlmColor4
mTextColor
GmTypes::JustificationType
mTextHJustification
float
mTextPointSize
GmTypes::JustificationType
mTextVJustification
float
mXOffset
float
mYOffset
Inherited from
GmInteractiveWidget
:
Public Fields
GmFocusEventHandler
*
focusEventHandler
GmKeyEventHandler
*
keyEventHandler
GmAnimation
*
mFocusGainAnim
GmAnimation
*
mFocusLoseAnim
GmTypes::FocusType
mFocusState
unsigned int
mFocusTimestamp
GmAnimation
*
mKeyPressAnim
GmAnimation
*
mKeyReleaseAnim
GmAnimation
*
mMouseExitAnim
GmAnimation
*
mMouseOverAnim
GmAnimation
*
mMousePressAnim
GmAnimation
*
mMouseReleaseAnim
WidgetIDType
mWidgetId
GmToolTip
*
mWidgetToolTip
GmMouseEventHandler
*
mouseEventHandler
GmUserEventHandler
*
userEventHandler
GmWidgetEventHandler
*
widgetEventHandler
Public Methods
virtual void
focusGainEvent
(
GmEvent
* event)
virtual void
focusLoseEvent
(
GmEvent
* event)
virtual WidgetIDType
getWidgetId
()
virtual void
keyPressEvent
(
GmEvent
* event)
virtual void
keyReleaseEvent
(
GmEvent
* event)
virtual void
mouseDragEvent
(
GmEvent
* event)
virtual void
mouseMoveEvent
(
GmEvent
* event)
virtual void
mousePressEvent
(
GmEvent
* event)
virtual void
mouseReleaseEvent
(
GmEvent
* event)
virtual void
setFocusEventHandler
(
GmFocusEventHandler
* focusHandler, WidgetIDType widgetId)
virtual void
setKeyEventHandler
(
GmKeyEventHandler
* keyHandler, WidgetIDType widgetId)
virtual void
setMouseEventHandler
(
GmMouseEventHandler
* mouseHandler, WidgetIDType widgetId)
virtual void
setToolTip
(
GmToolTip
* tooltip)
virtual void
setUserEventHandler
(
GmUserEventHandler
* userHandler, WidgetIDType widgetId)
virtual void
setWidgetEventHandler
(
GmWidgetEventHandler
* widgetHandler, WidgetIDType widgetId)
virtual void
userEvent
(
GmEvent
* event)
virtual void
wheelMoveEvent
(
GmEvent
* event)
Protected Methods
virtual void
render2dToolTip
(
GmTypes::RenderOptionType
renderOptions)
Inherited from
GmAnimatedWidget
:
Public Methods
virtual void
animationFinished
(
GmTypes::AnimationType
animationType)
virtual void
applyAnimationTransforms
()
virtual void
setEventAnimation
(
GmTypes::AnimationType
animType,
GmAnimation
* animation)
Protected Fields
GmAnimation
*
mAppearAnimation
GmTypes::AnimationType
mCurrentAnimation
GmAnimation
*
mIdleAnimation
GmAnimation
*
mVanishAnimation
Inherited from
GmDrawable
:
Public Methods
virtual void
applyLayout
(float minX, float minY, float minZ, float maxX, float maxY, float maxZ)
virtual GlmColor4*
getBaseColor
()
virtual
GmTypes::CoordinateType
getCoordType
()
virtual float
getDepth
()
virtual float
getGlDepth
()
virtual float
getGlHeight
()
virtual GlmPoint3*
getGlPosition
()
virtual float
getGlWidth
()
virtual float
getHeight
()
virtual void
getMinimumGeometry
(float& width, float& height, float& depth)
virtual GlmPoint3*
getPosition
()
virtual bool
getVisible
()
virtual float
getWidth
()
virtual void
render
(
GmTypes::RenderOptionType
renderOptions)
virtual void
setAbsoluteGeometry
(float
x
, float
y
, float z, float width, float height, float depth)
virtual void
setBaseColor
(GlmColor4* color)
virtual void
setBaseColor
(float r, float g, float b, float a)
virtual void
setCoordType
(
GmTypes::CoordinateType
coordType)
virtual void
setDepth
(float depth)
virtual void
setHeight
(float height)
virtual void
setPosition
(GlmPoint3* point)
virtual void
setPosition
(float
x
, float
y
, float z)
virtual void
setRelativeGeometry
(float
x
, float
y
, float width, float height)
virtual void
setRelativeGeometry
(float
x
, float
y
, float z, float width, float height, float depth)
virtual void
setVisible
(bool visible)
virtual void
setWidth
(float width)
Protected Fields
GlmColor4
mBaseColor
GmTypes::CoordinateType
mCoordType
float
mDepth
bool
mDisplayListGenerate
int
mDisplayListId
float
mGlDepth
float
mGlHeight
GlmPoint3
mGlPosition
float
mGlWidth
float
mHeight
GlmPoint3
mPosition
bool
mVisible
float
mWidth
Protected Methods
virtual bool
getDisplayListGenerate
()
virtual int
getDisplayListId
()
virtual void
render2d
(
GmTypes::RenderOptionType
renderOptions)
virtual void
render2dSelect
(
GmTypes::RenderOptionType
renderOptions)
virtual void
setDisplayListGenerate
(bool generate)
virtual void
setDisplayListId
(int id)
Inherited from
GmObject
:
Public Methods
unsigned short
getObjectId
()
Protected Fields
The object ID is used to uniquely identify each
GmObject
unsigned short
mObjectId
Inherited from
GmAnimationEventHandler
:
Documentation
Class description
GmTextField()
Standard constructor
virtual ~GmTextField()
Virtual destructor
This class has no child classes.
Alphabetic index
HTML hierarchy of classes
or
Java
This page was generated with the help of
DOC++
.