OpenCOVER
coMenuContainer.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_MENU_CONTAINER_H
9#define CO_MENU_CONTAINER_H
10
12
16namespace vrui
17{
18
19class OPENVRUIEXPORT coMenuContainer : public coRowContainer
20{
21
22public:
23 coMenuContainer(Orientation orientation = HORIZONTAL);
25
26 virtual void resizeToParent(float, float, float, bool shrink = true);
27 void setNumAlignedMin(int number); // number of items aligned aligned left/bottom
28
30 virtual const char *getClassName() const;
32 virtual bool isOfClassName(const char *) const;
33
34protected:
35 //virtual void resize();
38};
39}
40#endif
collaborative interface manager
Definition: coVRCommunication.h:41
Definition: coMenuContainer.h:20
coMenuContainer(Orientation orientation=HORIZONTAL)
virtual void resizeToParent(float, float, float, bool shrink=true)
virtual const char * getClassName() const
get the Element's classname
virtual bool isOfClassName(const char *) const
check if the Element or any ancestor is this classname
int numAlignedMin
number of elements aligned left
Definition: coMenuContainer.h:37
void setNumAlignedMin(int number)
virtual ~coMenuContainer()
Container class that aligns its children in a row.
Definition: coRowContainer.h:19
Orientation
orientation of this container
Definition: coRowContainer.h:23