Main Page | Namespace List | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

kpixmap.cpp File Reference

#include <qpixmap.h>
#include <qpainter.h>
#include <qimage.h>
#include <qbitmap.h>
#include <qcolor.h>
#include <stdlib.h>
#include "kpixmap.h"

Defines

#define MAX_R   2
#define MAX_G   2
#define MAX_B   2
#define INDEXOF(r, g, b)   (((r)*(MAX_G+1)+(g))*(MAX_B+1)+(b))

Functions

bool kdither_32_to_8 (const QImage *src, QImage *dst)

Variables

QColor * kpixmap_iconPalette = 0

Define Documentation

#define INDEXOF r,
g,
 )     (((r)*(MAX_G+1)+(g))*(MAX_B+1)+(b))
 

#define MAX_B   2
 

#define MAX_G   2
 

#define MAX_R   2
 


Function Documentation

bool kdither_32_to_8 const QImage *  src,
QImage *  dst
[static]
 


Variable Documentation

QColor* kpixmap_iconPalette = 0 [static]
 


Generated on Fri Feb 27 12:01:40 2004 for Glitch by doxygen 1.3.2