#include <calineedit.h>
Inheritance diagram for CALineEdit:

Public Member Functions | |
| CALineEdit (const char *text, int letters, Alignment alignment, CL_Font *font) | |
| Constructor. | |
| ~CALineEdit () | |
| Destructor. | |
| char * | getText () |
| virtual void | display (bool active=true) |
| Displays the line edit. | |
| virtual void | handleKey (const CL_Key &key) |
| Handles the key inputs. | |
| CALineEdit::CALineEdit | ( | const char * | text, | |
| int | letters, | |||
| Alignment | alignment, | |||
| CL_Font * | font | |||
| ) |
Constructor.
| text | The initial text of the edit. | |
| x | X-Coordinate (left or right) | |
| x | Y-Coordinate (top) | |
| letters | Number of letters (max) | |
| alignment | Alignment of text | |
| font | Font to use for the text |
| void CALineEdit::display | ( | bool | active = true |
) | [virtual] |
Displays the line edit.
| active | Display in an active state (cursor visible) |
Implements CAWidget.
1.5.0