Missing library from test link list.
[dcpomatic.git] / hacks / gl / drawable.h
1 #ifndef _drawable_
2 #define _drawable_
3
4 #include "image.h"
5
6 class DrawableThing
7 {
8 public:
9     int x,y, angle, hotspotX, hotspotY;
10     float xscale, yscale;
11     Image* image;
12     bool xflip, yflip;
13
14     DrawableThing(Image* image=0);
15     void setFlip(bool x, bool y);
16     void move(int x, int y);
17     void setHotspot(int x, int y);
18     void scale(float x, float y);
19     void scale(float k);
20     void setImage(Image* image);
21     void render();
22     void rotate(int angle);
23
24 };
25
26
27 #endif