Public Methods |
| TextEdit (TextView *pcParent, const Rect &cFrame, const char *pzTitle, uint32 nResizeMask=CF_FOLLOW_LEFT|CF_FOLLOW_TOP, uint32 nFlags=WID_WILL_DRAW|WID_CLEAR_BACKGROUND) |
| ~TextEdit () |
void | SetEnable (bool bEnabled=true) |
bool | IsEnabled () const |
void | SetMultiLine (bool bMultiLine) |
bool | GetMultiLine () |
void | SetPasswordMode (bool bPassword) |
bool | GetPasswordMode () const |
void | SetNumeric (bool bNumeric) |
bool | GetNumeric () const |
void | SetReadOnly (bool bFlag) |
bool | GetReadOnly () const |
int | GetMaxUndoSize () const |
void | SetMaxUndoSize (int nSize) |
void | SetMinPreferredSize (int nWidthChars, int nHeightChars) |
IPoint | GetMinPreferredSize () const |
void | SetMaxPreferredSize (int nWidthChars, int nHeightChars) |
IPoint | GetMaxPreferredSize () const |
void | GetRegion (IPoint cStart, IPoint cEnd, std::string *pcBuffer, bool bAddToClipboard=true) |
void | GetRegion (std::string *pcBuffer, bool bAddToClipboard=true) |
void | MakeCsrVisible () |
void | InsertString (IPoint *pcPos, const char *pzBuffer, bool bMakeUndo=true) |
void | Delete (IPoint cStart, IPoint cEnd, bool bMakeUndo=true) |
void | Delete () |
void | Clear () |
void | SetCursor (int x, int y) |
const std::vector<std::string>& | GetBuffer () const |
virtual Point | GetPreferredSize (bool bLargest) const |
virtual void | Activated (bool bIsActive) |
| Hook called when the view gain or loose focus. More...
|
virtual void | FontChanged (Font *pcNewFont) |
| Called to notify the view that the font has changed. More...
|
virtual void | FrameSized (const Point &cDelta) |
virtual void | Paint (const Rect &cUpdateRect) |
| Called by the system update "damaged" areas of the view. More...
|
virtual void | MouseMove (const Point &cNewPos, int nCode, uint32 nButtons, Message *pcData) |
virtual void | MouseDown (const Point &cPosition, uint32 nButtons) |
virtual void | MouseUp (const Point &cPosition, uint32 nButtons, Message *pcData) |
virtual void | KeyDown (const char *pzString, const char *pzRawString, uint32 nQualifiers) |