summaryrefslogtreecommitdiffstats
path: root/noatun/modules/winskin/waRegion.h
blob: 737ebdb91b423026d9198522c8bd01138a8baed2 (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 <tqcolor.h>
#include <tqstring.h>

class WaRegion {
public:
    WaRegion(TQString filename);
    ~WaRegion();

    const TQBitmap *mainWindowMask() const { return window_tqmask; }
    const TQBitmap *mainWindowShadeMask() const { return shade_tqmask; }

private:
   TQValueList<int> parseList(const TQString &list) const;
   void buildPixmap(const TQValueList<int> &num_points, const TQValueList<int> &point_list, TQBitmap *dest);

   TQBitmap *window_tqmask;
   TQBitmap *shade_tqmask;
};

extern WaRegion *windowRegion;

#endif