UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
QfWall.H
1 /* QfWall.H */
2 /* $Id: QfWall.H,v 1.4 2001/11/21 16:27:33 vlad Exp $ */
3 #ifndef __QfWall_H
4 #define __QfWall_H
5 
6 #include <zm/QfBuilding.H>
7 
8 
9 /***********************************************************************
10  * Container of horizontally constrained objects.
11  */
12 class QfWall: public QfBuilding
13 {
14 protected:
15 
16  /* Stored resource name */
17  char *resname;
18 
19  /* RowColumn widget if frame is drawn as wSelf. */
20  Widget wRowColumn;
21 
22  /* Temporal variable to store tower's decoration. */
23  QfDecoration decor;
24 
25  /* XmRowColumn/{XmFrame,XmRowColumn} creation. */
26  virtual void create_self (Widget wParent);
27 
28  /*
29  * Subobjects with internally predefined functionality.
30  */
31 
32  /* Separator. */
33  class QfVerSep : public QfBrick
34  {
35  protected:
36  /* Create XmSeparator with vertical orientation. */
37  virtual void create_self (Widget wParent);
38  };
39 
40 public:
41 
42  /* Create general container that is main master. Phases 1-3 take
43  place here. */
44  QfWall (Widget wParent, QfDecoration eDecor = QfDECOR_NONE,
45  const char* szResName = QfKING_NAME);
46 
47  /* Create subcontrolled container to provide complicated form
48  structure. Only Phase 1 is here. */
49  QfWall (QfDecoration eDecor = QfDECOR_NONE,
50  const char* szResName = QfKING_NAME);
51 
52  /*
53  * Decoration.
54  */
55 
56  /* Separator. */
57  virtual QfBrick* sep ();
58 
59  /*
60  * Adjustable features.
61  */
62 
63  /* Return Widget of container itself (XmRowColumn). */
64  virtual Widget container () const;
65 
66 };
67 
68 
69 #endif /* QfWall.H */
Definition: QfBrick.H:54
Definition: QfWall.H:33
virtual void create_self(Widget wParent)
Definition: QfWall.H:12
virtual void create_self(Widget wParent)
Definition: QfBuilding.H:15