camenuinput.h

00001 #ifndef CAMENUINPUT_H
00002 #define CAMENUINPUT_H
00003 
00004 #include "camenulabel.h"
00005 #include "calineedit.h"
00006 
00010 class CAMenuInput : public CAMenuLabel  {
00011 public:
00012     CAMenuInput( CAMenu* menu, int pos, const char* label, char* result, int maxLength );
00013     CAMenuInput( CAMenu* menu, int pos, const char* label, int* result, int maxLength );
00014     ~CAMenuInput();
00015 
00019     virtual int rtti() {
00020         return CA_MI_MENUINPUT;
00021     }
00022 
00023     void display( bool highlight );
00024     void handleKey( const CL_Key &key );
00025 
00026 private:
00028 
00029     CALineEdit* edit;
00031     char* resultStr;
00033     int* resultInt;
00035     int maxLength;
00036 };
00037 
00038 #endif

Generated on Tue Nov 28 06:48:28 2006 by  doxygen 1.5.0