Name: rgbSet [static public]
Desc: Unpack the specified integer RGB set into the color.
*/
-void Qtx::rgbSet( const int rgb, QColor& c )
+QColor Qtx::rgbSet( const int rgb )
{
int r, g, b;
rgbSet( rgb, r, g, b );
- c = QColor( r, g, b );
+ return QColor( r, g, b );
}
/*!
#define INCLUDE_MENUITEM_DEF
#endif
+#include <qcolor.h>
#include <qnamespace.h>
#ifndef QT_VERSION
static int rgbSet( const QColor& );
static int rgbSet( const int, const int, const int );
- static void rgbSet( const int, QColor& );
+ static QColor rgbSet( const int );
static void rgbSet( const int, int&, int&, int& );
static QColor scaleColor( const int, const int, const int );