QtOpenGL/qglcolormap.h Source File
Go to the documentation of this file.
58 QGLColormap(
const QGLColormap &);
61 QGLColormap &operator=(
const QGLColormap &);
67 void setEntries(
int count,
const QRgb * colors,
int base = 0);
69 void setEntry(
int idx,
const QColor & color);
70 QRgb entryRgb(
int idx)
const;
71 QColor entryColor(
int idx)
const;
72 int find(
QRgb color)
const;
73 int findNearest(
QRgb color)
const;
80 struct QGLColormapData {
87 static struct QGLColormapData shared_null;
88 static void cleanup(QGLColormapData *
x);
92 friend class QGLWidgetPrivate;
105 #endif // QGLCOLORMAP_H
void setHandle(Qt::HANDLE ahandle)
QT_BEGIN_HEADER QT_BEGIN_NAMESPACE typedef unsigned int QRgb
#define QT_BEGIN_NAMESPACE
GLuint GLuint GLsizei count