summaryrefslogtreecommitdiffstats
path: root/ksirc/KSTicker/kspainter.h
blob: 21f9495d1259c92317433f527bc281688197b2a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef KSPAINTER_H
#define KSPAINTER_H

#include <qpainter.h>
#include <qobject.h>

class KSPainter 
{
public:
  static void initOptColours();
  static void colourDrawText(QPainter *p, int startx, int starty, char *str, int length = -1);
  static const int startspecial;
  static const int maxcolour;
  static const int optcolours;
  static QColor num2colour[16+8];
  static int colour2num(const QColor &colour);
  
  static const QColor brown;
  static const QColor orange;
  static const QColor lightCyan;
  static const QColor lightBlue;
  static const QColor pink;
};

#endif