Back to index

salome-gui  6.5.0
Public Member Functions | Public Attributes
CMapEntry Struct Reference

Map of indexed colors For internal purposes. More...

List of all members.

Public Member Functions

 CMapEntry ()
 Constructor.
 ~CMapEntry ()
 Destructor.
 CMapEntry ()
 ~CMapEntry ()

Public Attributes

Colormap cmap
bool alloc
XStandardColormap scmap

Detailed Description

Map of indexed colors For internal purposes.

Definition at line 61 of file GLViewer_ViewPort.cxx.


Constructor & Destructor Documentation

Constructor.

Definition at line 73 of file GLViewer_ViewPort.cxx.

{
    cmap = 0;
    alloc = false;
    scmap.colormap = 0;
}

Destructor.

Definition at line 83 of file GLViewer_ViewPort.cxx.

{
    if ( alloc )
        XFreeColormap( QX11Info::display(), cmap );
}

Member Data Documentation

Definition at line 66 of file GLViewer_ViewPort.cxx.

Colormap CMapEntry::cmap

Definition at line 65 of file GLViewer_ViewPort.cxx.

XStandardColormap CMapEntry::scmap

Definition at line 67 of file GLViewer_ViewPort.cxx.


The documentation for this struct was generated from the following files: