Public Member Functions | |
PG_MultiLineEdit (PG_Widget *parent, const PG_Rect &r, const char *style="LineEdit", int maximumLength=1000000) | |
virtual void | SetText (const char *new_text) |
Set the current text string. | |
Protected Member Functions | |
void | eventBlit (SDL_Surface *surface, const PG_Rect &src, const PG_Rect &dst) |
overridable eventhandler to blit the widget contents to the screen | |
bool | eventKeyDown (const SDL_KeyboardEvent *key) |
Overridable Eventhandler for a SDL_KeyboardEvent message. | |
bool | eventMouseButtonDown (const SDL_MouseButtonEvent *button) |
Overridable Eventhandler for a SDL_MouseButtonEvent message. | |
bool | eventMouseMotion (const SDL_MouseMotionEvent *motion) |
Overridable Eventhandler for a SDL_MouseMotionEvent message. | |
bool | eventMouseButtonUp (const SDL_MouseButtonEvent *button) |
Overridable Eventhandler for a SDL_MouseButtonEvent message. | |
virtual void | InsertChar (const PG_Char *c) |
virtual void | DeleteChar (Uint16 pos) |
bool | handleScroll (PG_ScrollBar *widget, long data) |
|
|
|
Reimplemented from PG_LineEdit. |
|
overridable eventhandler to blit the widget contents to the screen
Reimplemented from PG_LineEdit. |
|
Overridable Eventhandler for a SDL_KeyboardEvent message. This handler is called when a key changed it's state from unpressed to pressed. The default implementation returns 'false' which indicates that this message is not processed by this object.
Reimplemented from PG_LineEdit. |
|
Overridable Eventhandler for a SDL_MouseButtonEvent message. This handler is called when a mouse button is pressed. The default implementation returns 'false' which indicates that this message is not processed by this object.
Reimplemented from PG_MessageObject. |
|
Overridable Eventhandler for a SDL_MouseButtonEvent message. This handler is called when a mouse button is released. The default implementation returns 'false' which indicates that this message is not processed by this object.
Reimplemented from PG_LineEdit. |
|
Overridable Eventhandler for a SDL_MouseMotionEvent message. This handler is called when mouse movement is detected. The default implementation returns 'false' which indicates that this message is not processed by this object.
Reimplemented from PG_MessageObject. |
|
|
|
Reimplemented from PG_LineEdit. |
|
Set the current text string.
Reimplemented from PG_LineEdit.
|