#ifndef QCOLORMAP_H
#define QCOLORMAP_H
#include <QtCore/qatomic.h>
#include <QtGui/qrgb.h>
#include <QtCore/qvector.h>
#include <QtGui/qwindowdefs.h>
typedef enum QtValidLicenseForGuiModule QtGuiModule;
struct QColormapPrivate;
class QColormap{
public: enum Mode{
Direct = 0,
Indexed = 1,
Gray = 2,
};
public: static void initialize();
public: static void cleanup();
public: static class QColormap instance(int screen = -1);
public: QColormap(class QColormap const & colormap);
public: ~QColormap();
public: class QColormap& operator =(class QColormap const & colormap);
public: enum QColormap::Mode mode() const
public: int depth() const
public: int size() const
public: uint pixel(struct QColor const & color) const
public: struct QColor const colorAt(uint pixel) const
public: class QVector < struct QColor > const colormap() const
private: QColormap();
private: struct QColormapPrivate* d;
};
#endif // QCOLORMAP_H