/***************************************************************************
                            kde_KColorCells.h -  description
                             -------------------
    begin                : Wed Feb  6 15:12:26 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Feb  6 15:12:26 2002, 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 KDE_KCOLORCELLS
#define KDE_KCOLORCELLS

#include <qtc/qtc_types.h>

#include <kdec/kde_types.h>

/**

 A table of editable color cells.

 @author Martin Jones <mjones@kde.org>

 @version $Id: kde_KColorCells.h,v 1.3 2002/02/21 00:43:09 rdale Exp $

 @short 
 A table of editable color cells.
*/
kde_KColorCells * kde_new_KColorCells(qt_QWidget * parent, int rows, int cols);
void kde_del_KColorCells( kde_KColorCells* p );
void kde_KColorCells_setColor(kde_KColorCells* instPointer,int colNum, qt_QColor * col);
qt_QColor * kde_KColorCells_color(kde_KColorCells* instPointer,int indx);
int kde_KColorCells_numCells(kde_KColorCells* instPointer);
void kde_KColorCells_setShading(kde_KColorCells* instPointer,int _shade);
void kde_KColorCells_setAcceptDrags(kde_KColorCells* instPointer,int _acceptDrags);
int kde_KColorCells_getSelected(kde_KColorCells* instPointer);
int kde_KColorCells_posToCell(kde_KColorCells* instPointer,qt_QPoint* pos, int ignoreBorders);

#endif
