Adonthell  0.4
label_input.h
1 /*
2 
3  (C) Copyright 2000/2001 Joel Vennin
4  Part of the Adonthell Project http://adonthell.linuxgames.com
5 
6  This program is free software; you can redistribute it and/or modify
7  it under the terms of the GNU General Public License.
8  This program is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY.
10 
11  See the COPYING file for more details
12 */
13 
14 #ifndef LABEL_INPUT_H_
15 #define LABEL_INPUT_H_
16 
17 #include "label.h"
18 
19 
20 class label_input : public label
21 {
22  public:
23  /**
24  Constructor
25  Initialize to : cursor_moveable, cursor_visible and editable
26  */
27  label_input ();
28 
29  /**
30  Set the label input in editable
31  */
32  void set_editable (const bool);
33 
34  /**
35  Input update
36  */
37  bool input_update();
38 
39 protected:
40  bool editable_;
41 };
42 
43 
44 #endif
45 
46 
47 
label_input()
Constructor Initialize to : cursor_moveable, cursor_visible and editable.
Definition: label_input.cc:17
bool input_update()
Input update.
Definition: label_input.cc:29
Definition: label.h:25
void set_editable(const bool)
Set the label input in editable.
Definition: label_input.cc:24