You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdemultimedia/noatun/modules/winskin/waRegion.h

27 lines
571 B

#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_mask; }
const TQBitmap *mainWindowShadeMask() const { return shade_mask; }
private:
TQValueList<int> parseList(const TQString &list) const;
void buildPixmap(const TQValueList<int> &num_points, const TQValueList<int> &point_list, TQBitmap *dest);
TQBitmap *window_mask;
TQBitmap *shade_mask;
};
extern WaRegion *windowRegion;
#endif