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