Adonthell
0.4
|
00001 /* 00002 00003 (C) Copyright 2000/2001 Joel Vennin 00004 Part of the Adonthell Project http://adonthell.linuxgames.com 00005 00006 This program is free software; you can redistribute it and/or modify 00007 it under the terms of the GNU General Public License. 00008 This program is distributed in the hope that it will be useful, 00009 but WITHOUT ANY WARRANTY. 00010 00011 See the COPYING file for more details 00012 */ 00013 00014 #ifndef LABEL_INPUT_H_ 00015 #define LABEL_INPUT_H_ 00016 00017 #include "label.h" 00018 00019 00020 class label_input : public label 00021 { 00022 public: 00023 /** 00024 Constructor 00025 Initialize to : cursor_moveable, cursor_visible and editable 00026 */ 00027 label_input (); 00028 00029 /** 00030 Set the label input in editable 00031 */ 00032 void set_editable (const bool); 00033 00034 /** 00035 Input update 00036 */ 00037 bool input_update(); 00038 00039 protected: 00040 bool editable_; 00041 }; 00042 00043 00044 #endif 00045 00046 00047