OpenCOVER
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
coLabelSubMenuToolboxItem.h
Go to the documentation of this file.
1 /* This file is part of COVISE.
2 
3  You can use it under the terms of the GNU Lesser General Public License
4  version 2.1 or later, see lgpl-2.1.txt.
5 
6  * License: LGPL 2+ */
7 
8 #ifndef CO_LABELSUBMENU_TOOLBOXITEM_H
9 #define CO_LABELSUBMENU_TOOLBOXITEM_H
10 
12 #include <string>
13 
14 namespace vrui
15 {
16 
17 class coLabel;
18 
25 class OPENVRUIEXPORT coLabelSubMenuToolboxItem
26  : public coSubMenuToolboxItem
27 {
28 protected:
30 
31 public:
32  coLabelSubMenuToolboxItem(const std::string &name);
33  virtual ~coLabelSubMenuToolboxItem();
34 
35  virtual void setAttachment(int);
36 
38  virtual const char *getClassName() const;
40  virtual bool isOfClassName(const char *name) const;
41 
43  virtual void setLabel(const std::string &labelString);
44 
45  virtual void buttonEvent(coRotButton *)
46  {
47  }
48 };
49 }
50 #endif
Definition: coRotButton.h:35
Definition: coSubMenuToolboxItem.h:29
virtual void buttonEvent(coRotButton *)
Definition: coLabelSubMenuToolboxItem.h:45
Definition: coLabelSubMenuToolboxItem.h:25
Definition: coLabel.h:25
coLabel * label
Definition: coLabelSubMenuToolboxItem.h:29