blob: 853909c12345512b3017785aa2c8e4067ddb5dc7 (
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
26
|
#ifndef WAREGION_H
#define WAREGION_H
#include <qcolor.h>
#include <qstring.h>
class WaRegion {
public:
WaRegion(QString filename);
~WaRegion();
const QBitmap *mainWindowMask() const { return window_mask; }
const QBitmap *mainWindowShadeMask() const { return shade_mask; }
private:
QValueList<int> parseList(const QString &list) const;
void buildPixmap(const QValueList<int> &num_points, const QValueList<int> &point_list, QBitmap *dest);
QBitmap *window_mask;
QBitmap *shade_mask;
};
extern WaRegion *windowRegion;
#endif
|