summaryrefslogtreecommitdiffstats
path: root/ksirc/KSTicker/kspainter.h
blob: b5fa1049542155778bd3d7ac543e1aa4e0b6537b (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 <tqpainter.h>
#include <tqobject.h>

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

#endif