Main Page | Class Hierarchy | Class List | File List | Class Members

aedTextBox Class Reference

#include <aedTextBox.h>

Inheritance diagram for aedTextBox:

aedStaticText List of all members.

Public Member Functions

virtual int wm_update (Uint32 msdelta)
virtual int wm_lbuttondown (Uint16 x, Uint16 y)
virtual int wm_lbuttonup (Uint16 x, Uint16 y)
virtual int wm_mousemove (Uint16 x, Uint16 y, Uint16 dx, Uint16 dy)
virtual int wm_mouseleave ()
virtual int wm_keydown (aedKeyEvent &event)
virtual void render ()
virtual void setReadOnly (bool state)
virtual bool getReadOnly (void) const
virtual void setBlinkInterval (Uint32 interval)
bool getPasswordMode () const
void setPasswordMode (bool enable)
void setCharMask (std::string mask)
std::string getCharMask ()
void setSelection (Uint32 start, Uint32 end)
void setSelectionStart (Uint32 start)
void setSelectionEnd (Uint32 end)
int calculateCaretPosition (Uint16 x, Uint16 y)

Protected Attributes

Uint16 m_CaretPos
bool m_Selecting
Uint32 m_SelectionStart
Uint32 m_SelectionEnd
Uint32 m_BlinkInterval
Uint32 m_TimeSinceLastUpdate
int m_StartPixel
bool m_ShowCaret
bool m_PasswordMode
std::string m_CharMask

Detailed Description

This class implements the textbox widget.


Member Function Documentation

virtual void aedTextBox::setBlinkInterval Uint32  interval  )  [inline, virtual]
 

Set caret's blinking interval.

Parameters:
interval time interval in milliseconds (0 disables blinking)

void aedTextBox::setCharMask std::string  mask  )  [inline]
 

Set the string of characters to be ignored when processing keyboard events.

void aedTextBox::setPasswordMode bool  enable  )  [inline]
 

Enable/disable password mode.

virtual void aedTextBox::setReadOnly bool  state  )  [inline, virtual]
 

Toggle textbox's read only property.


The documentation for this class was generated from the following file:
Generated on Mon Mar 1 19:56:19 2004 for aedGUI by doxygen 1.3.6