CALineEdit Class Reference

A simple oneline edit (GUI). More...

#include <calineedit.h>

Inheritance diagram for CALineEdit:

CAWidget List of all members.

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.

Detailed Description

A simple oneline edit (GUI).

Author:
Andrew Mustun


Constructor & Destructor Documentation

CALineEdit::CALineEdit ( const char *  text,
int  letters,
Alignment  alignment,
CL_Font *  font 
)

Constructor.

Parameters:
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


Member Function Documentation

void CALineEdit::display ( bool  active = true  )  [virtual]

Displays the line edit.

Parameters:
active Display in an active state (cursor visible)

Implements CAWidget.


The documentation for this class was generated from the following files:
Generated on Tue Nov 28 06:48:28 2006 by  doxygen 1.5.0