OpenCOVER
coProgressBarMenuItem.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 COPROGRESSBARMENUITEM_H
9#define COPROGRESSBARMENUITEM_H
10
12
13#include <string>
14
15namespace vrui
16{
17
18class coProgressBar;
19
20class OPENVRUIEXPORT coProgressBarMenuItem : public coRowMenuItem
21{
22public:
23 coProgressBarMenuItem(const std::string &name);
25
26 void setProgress(float progress);
27 void setProgress(int progress);
28
29 float getProgress() const;
30
32 virtual const char *getClassName() const;
34 virtual bool isOfClassName(const char *) const;
35
36private:
37 coProgressBar *progressBar;
38};
39}
40#endif
collaborative interface manager
Definition: coVRCommunication.h:41
Definition: coProgressBar.h:20
Definition: coProgressBarMenuItem.h:21
virtual bool isOfClassName(const char *) const
check if the Element or any ancestor is this classname
void setProgress(float progress)
coProgressBarMenuItem(const std::string &name)
void setProgress(int progress)
virtual const char * getClassName() const
get the Element's classname
Definition: coRowMenuItem.h:31