Adonthell  0.4
label_input.h
1 /*
2  (C) Copyright 2000/2001 Joel Vennin
3  Part of the Adonthell Project <http://adonthell.nongnu.org>
4 
5  Adonthell is free software; you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation; either version 2 of the License, or
8  (at your option) any later version.
9 
10  Adonthell is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License
16  along with Adonthell. If not, see <http://www.gnu.org/licenses/>.
17 */
18 
19 #ifndef LABEL_INPUT_H_
20 #define LABEL_INPUT_H_
21 
22 #include "label.h"
23 
24 
25 class label_input : public label
26 {
27  public:
28  /**
29  Constructor
30  Initialize to : cursor_moveable, cursor_visible and editable
31  */
32  label_input ();
33 
34  virtual ~label_input ();
35 
36  /**
37  Set the label input in editable
38  */
39  void set_editable (const bool);
40 
41  /**
42  Input update
43  */
44  bool input_update();
45 
46 protected:
47  bool editable_;
48 };
49 
50 
51 #endif
52 
53 
54 
label_input::input_update
bool input_update()
Input update.
Definition: label_input.cc:41
label_input::set_editable
void set_editable(const bool)
Set the label input in editable.
Definition: label_input.cc:36
label_input::label_input
label_input()
Constructor Initialize to : cursor_moveable, cursor_visible and editable.
Definition: label_input.cc:21
label_input
Definition: label_input.h:25
label
Definition: label.h:29