Public Types |
typedef std::vector<std::string> | buffer_type |
Public Methods |
| TextView (const Rect &cFrame, const char *pzTitle, const char *pzBuffer, uint32 nResizeMask=CF_FOLLOW_LEFT|CF_FOLLOW_TOP, uint32 nFlags=WID_WILL_DRAW|WID_FULL_UPDATE_ON_RESIZE) |
| ~TextView () |
View* | GetEditor () const |
void | SetEnable (bool bEnabled=true) |
bool | IsEnabled () const |
void | SetMultiLine (bool bMultiLine=true) |
bool | GetMultiLine () |
void | SetPasswordMode (bool bPassword=true) |
bool | GetPasswordMode () const |
void | SetNumeric (bool bNumeric) |
bool | GetNumeric () const |
void | SetReadOnly (bool bFlag=true) |
bool | GetReadOnly () const |
int | GetMaxUndoSize () const |
void | SetMaxUndoSize (int nSize) |
void | GetRegion (std::string *pcBuffer) |
void | SetMinPreferredSize (int nWidthChars, int nHeightChars) |
IPoint | GetMinPreferredSize () const |
void | SetMaxPreferredSize (int nWidthChars, int nHeightChars) |
IPoint | GetMaxPreferredSize () const |
void | MakeCsrVisible () |
void | Clear () |
void | Set (const char *pzBuffer) |
void | Insert (const char *pzBuffer) |
void | Cut () |
void | Copy () |
void | Paste () |
void | Delete () |
const buffer_type& | GetBuffer () const |
virtual void | SetTabOrder (int nOrder) |
| Set the keyboard manouvering sorting order. More...
|
virtual Point | GetPreferredSize (bool bLargest) const |
virtual bool | FilterKeyStroke (const std::string *pcString) |
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 | KeyDown (const char *pzString, const char *pzRawString, uint32 nQualifiers) |
Friends |
class | TextEdit |