/***************************************************************************
                            qt_QColor.h -  description
                             -------------------
    begin                : Tue Nov 20 20:51:20 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Tue Nov 20 20:51:20 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This library is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as       *
 *   published by the Free Software Foundation; either version 2 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

#ifndef QT_QCOLOR
#define QT_QCOLOR

#include <qtc/qtc_types.h>

/**

* $Id: qt_QColor.h,v 1.2 2001/11/21 23:26:17 rdale Exp $
*
* Definition of Qt namespace (as class for compiler compatibility)
*
* Created : 980927
*
* Copyright (C) 1992-2000 Trolltech AS.  All rights reserved.
*
* This file is part of the kernel module of the Qt GUI Toolkit.
*
* This file may be distributed under the terms of the Q Public License
* as defined by Trolltech AS of Norway and appearing in the file
* LICENSE.QPL included in the packaging of this file.
*
* This file may be distributed and/or modified under the terms of the
* GNU General Public License version 2 as published by the Free Software
* Foundation and appearing in the file LICENSE.GPL included in the
* packaging of this file.
*
* Licensees holding valid Qt Enterprise Edition or Qt Professional Edition
* licenses may use this file in accordance with the Qt Commercial License
* Agreement provided with the Software.
*
* This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
* WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
* See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
*   information about Qt Commercial License Agreements.
* See http://www.trolltech.com/qpl/ for QPL licensing information.
* See http://www.trolltech.com/gpl/ for GPL licensing information.
*
* Contact info@trolltech.com if any conditions of this licensing are
* not clear to you.
*
********************************************************************
 @short 
* $Id: qt_QColor.h,v 1.2 2001/11/21 23:26:17 rdale Exp $
*
* Definition of Qt namespace (as class for compiler compatibility)
*
* Created : 980927
*
* Copyright (C) 1992-2000 Trolltech AS.
*/
#define QCOLOR_Rgb	0
#define QCOLOR_Hsv	1
#define QCOLOR_Dirt	0x44495254
#define QCOLOR_Invalid	0x49000000
qt_QColor * qt_new_QColor();
qt_QColor * qt_new_QColor1(int r, int g, int b);
qt_QColor * qt_new_QColor2(int x, int y, int z, int arg1);
qt_QColor * qt_new_QColor3(unsigned int rgb, unsigned int pixel);
qt_QColor * qt_new_QColor4(qt_QString * name);
qt_QColor * qt_new_QColor5(char* name);
qt_QColor * qt_new_QColor6(qt_QColor * arg1);
int qt_QColor_isValid(qt_QColor* instPointer);
int qt_QColor_isDirty(qt_QColor* instPointer);
qt_QString * qt_QColor_name(qt_QColor* instPointer);
void qt_QColor_setNamedColor(qt_QColor* instPointer,qt_QString * name);
void qt_QColor_rgb(qt_QColor* instPointer,int* r, int* g, int* b);
unsigned int qt_QColor_rgb1(qt_QColor* instPointer);
void qt_QColor_setRgb(qt_QColor* instPointer,int r, int g, int b);
void qt_QColor_setRgb1(qt_QColor* instPointer,unsigned int rgb);
int qt_QColor_red(qt_QColor* instPointer);
int qt_QColor_green(qt_QColor* instPointer);
int qt_QColor_blue(qt_QColor* instPointer);
void qt_QColor_hsv(qt_QColor* instPointer,int* h, int* s, int* v);
void qt_QColor_getHsv(qt_QColor* instPointer,int h, int s, int v);
void qt_QColor_setHsv(qt_QColor* instPointer,int h, int s, int v);
qt_QColor * qt_QColor_light(qt_QColor* instPointer,int f);
qt_QColor * qt_QColor_dark(qt_QColor* instPointer,int f);
unsigned int qt_QColor_alloc(qt_QColor* instPointer);
unsigned int qt_QColor_pixel(qt_QColor* instPointer);
int qt_QColor_maxColors( );
int qt_QColor_numBitPlanes( );
int qt_QColor_enterAllocContext( );
void qt_QColor_leaveAllocContext( );
int qt_QColor_currentAllocContext( );
void qt_QColor_destroyAllocContext( int arg1);
int * qt_QColor_palette( int* numEntries);
int qt_QColor_setPaletteEntries( int * entries, int numEntries, int base);
void * qt_QColor_hPal( );
//unsigned int qt_QColor_realizePal( qt_QWidget * arg1);
void qt_QColor_initialize( );
void qt_QColor_cleanup( );

#endif
