UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
QfPaletteField Class Reference

#include <QfSelPalette.H>

Inheritance diagram for QfPaletteField:
QfBrick

Public Member Functions

 QfPaletteField (char *szLabel, char szPalName[ZCP_COLORNAME_LEN+1])
 
virtual void store_gui ()
 
virtual void load_gui ()
 
- Public Member Functions inherited from QfBrick
 QfBrick ()
 
virtual ~QfBrick ()
 
 operator Widget () const
 
Widget widget () const
 
virtual QfType type () const
 
virtual void manage ()
 
virtual void radio_sensitive ()
 
virtual void set_sensitive (Logic flag)
 
virtual Logic get_sensitive ()
 
virtual void add_callback (const QCallback &qcb)
 
virtual void be_radio_active (const QRadioActive &qra)
 
virtual void realized ()
 

Protected Member Functions

virtual void create_self (Widget wParent)
 
void display_palette (const char *szPal)
 
- Protected Member Functions inherited from QfBrick
virtual void radio_activity ()
 

Static Protected Member Functions

static void select_cb (Widget w, XtPointer pUserData, XtPointer pCallData)
 

Protected Attributes

Widget wLabel
 
Widget wSelButton
 
XmString xmsLabel
 
char * szExtPaletteName
 
- Protected Attributes inherited from QfBrick
Widget wSelf
 
QCBDescrAr cbList
 
QRadioActiveqRA
 

Detailed Description

Palette selection field. Provides way to see and change palette.

Constructor & Destructor Documentation

QfPaletteField::QfPaletteField ( char *  szLabel,
char  szPalName[ZCP_COLORNAME_LEN+1] 
)

In/out buffer: szPalName; up to ZCP_COLORNAME_LEN characters in it.

Member Function Documentation

virtual void QfPaletteField::create_self ( Widget  wParent)
protectedvirtual

XToolkit object creation - producing Widget/Gadget: Phase 3.

Implements QfBrick.

void QfPaletteField::display_palette ( const char *  szPal)
protected

Change image of palette

virtual void QfPaletteField::load_gui ( )
virtual

Load value(s) from GUI-independent buffers to display them and allow user to edit them.

Reimplemented from QfBrick.

static void QfPaletteField::select_cb ( Widget  w,
XtPointer  pUserData,
XtPointer  pCallData 
)
staticprotected

User press button to select new palette

virtual void QfPaletteField::store_gui ( )
virtual

Store entered value(s) in GUI-independent buffers, that can be accessed externally.

Reimplemented from QfBrick.


The documentation for this class was generated from the following file: