-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathGraphics.h
29 lines (24 loc) · 918 Bytes
/
Graphics.h
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
26
27
28
29
#ifndef GRAPHICS_H
#define GRAPHICS_H
#include <QtGui>
#define PEN_WHITE QPen(Qt::white)
#define PEN_WHITE_BOLD QPen(QBrush(Qt::white), 2)
#define PEN_YELLOW_BOLD QPen(QBrush(Qt::yellow), 2)
#define PEN_YELLOW QPen(Qt::yellow)
#define PEN_CLEAR QPen(Qt::transparent)
#define PEN_PURPLE QPen(QColor(255,0,255))
#define PEN_BLACK QPen(Qt::black)
#define PEN_BLACK_BOLD QPen(QBrush(Qt::black), 2)
#define PEN_RED QPen(Qt::red)
#define PEN_RED_BOLD QPen(QBrush(Qt::red), 3)
#define PEN_BLUE QPen(Qt::blue)
#define PEN_GREEN QPen(QColor(0,225,0))
#define PEN_GREEN_BOLD QPen(QBrush(QColor(0,225,0)), 2)
#define BRUSH_CLEAR QBrush(Qt::transparent)
#define BRUSH_BLUE QBrush(Qt::blue)
#define BRUSH_PURPLE QBrush(QColor(255,0,255))
#define BRUSH_YELLOW QBrush(Qt::yellow)
#define BRUSH_RED QBrush(Qt::red)
#define BRUSH_GREEN QBrush(Qt::green)
#define BRUSH_BLACK QBrush(Qt::black)
#endif // GRAPHICS_H