Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

NonEditableLineEdit Class Reference

Inheritance diagram for NonEditableLineEdit:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 NonEditableLineEdit (PG_Widget *parent, const PG_Rect &r=PG_Rect::null, const std::string &style="LineEdit", int maximumLength=1000000)
virtual bool eventKeyDown (const SDL_KeyboardEvent *key)
 Overridable Eventhandler for a SDL_KeyboardEvent message.
virtual bool eventFilterKey (const SDL_KeyboardEvent *key)

Constructor & Destructor Documentation

NonEditableLineEdit::NonEditableLineEdit PG_Widget parent,
const PG_Rect r = PG_Rect::null,
const std::string &  style = "LineEdit",
int  maximumLength = 1000000
[inline]
 

Definition at line 214 of file selectionwindow.cpp.

References PG_LineEdit::EditBegin(), PG_Widget::SetBorderSize(), and PG_ThemeWidget::SetTransparency().


Member Function Documentation

virtual bool NonEditableLineEdit::eventFilterKey const SDL_KeyboardEvent *  key  )  [inline, virtual]
 

Reimplemented from PG_LineEdit.

Definition at line 221 of file selectionwindow.cpp.

virtual bool NonEditableLineEdit::eventKeyDown const SDL_KeyboardEvent *  key  )  [inline, virtual]
 

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.

Parameters:
key SDL_KeyboardEvent message
Returns:
Notifies the message pump if this message is processed by this object or it should be routed to the next message receiver.

Reimplemented from PG_LineEdit.

Definition at line 220 of file selectionwindow.cpp.


The documentation for this class was generated from the following file:
Generated on Tue Jun 24 02:18:39 2008 for Advanced Strategic Command by  doxygen 1.4.2