OpenCOVER
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
16 namespace vrui
17 {
18 
19 class OPENVRUIEXPORT coMenuContainer : public coRowContainer
20 {
21 
22 public:
23  coMenuContainer(Orientation orientation = HORIZONTAL);
24  virtual ~coMenuContainer();
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 
34 protected:
35  //virtual void resize();
38 };
39 }
40 #endif
Orientation
orientation of this container
Definition: coRowContainer.h:22
int numAlignedMin
number of elements aligned left
Definition: coMenuContainer.h:37
Definition: coMenuContainer.h:19
Container class that aligns its children in a row.
Definition: coRowContainer.h:18