UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
QfSelColor.H
1 /* QfSelColor.H */
2 /* $Id: QfSelColor.H,v 1.2 2003/10/07 08:03:07 vlad Exp $ */
3 #ifndef __QfSelColor_H
4 #define __QfSelColor_H
5 
6 #include <zm/colors.h>
7 #include <zm/qvfcdefs.h>
8 #include <zm/QfBrick.H>
9 
10 
11 /***********************************************************************
12  * Color selection field. Provides way to see and change color.
13  */
14 class QfColorField: public QfBrick
15 {
16 protected:
17 
18  Widget wLabel, wSelButton;
19 
20  XmString xmsLabel;
21  char *szExtColorName;
22 
23  virtual void create_self (Widget wParent);
24 
25  /* User press button to select new color */
26  static void select_cb (Widget w, XtPointer pUserData,
27  XtPointer pCallData);
28 
29 public:
30 
31  /* In/out buffer: szColorName; up to ZCP_COLORNAME_LEN characters in it. */
32  QfColorField (char* szLabel, char szColorName[ZCP_COLORNAME_LEN+1]);
33 
34  /*
35  * Adjustable features.
36  */
37 
38  virtual void store_gui ();
39  virtual void load_gui ();
40 
41 };
42 
43 
44 #endif /* QfSelColor.H */
Definition: QfBrick.H:54
virtual void store_gui()
virtual void load_gui()
virtual void create_self(Widget wParent)
Definition: QfSelColor.H:14