wmcube: imported Upstream version 0.99-pre1
[dockapps.git] / wmcube / wmapp / wmbutton.h
blob83fa1d90f4afdc6fcb00fb59faae60a71eed1960
1 #include "wmimage.h"
2 #include "wmcallback.h"
4 #ifndef _WMBUTTON_H
5 #define _WMBUTTON_H
7 // WMButton: An image that can execute callback functions when clicked upon
8 class WMButton : public WMCallback, public WMImage {
9 private:
10 void real_display();
12 public:
13 WMButton();
14 bool press(int button, int x, int y);
15 bool release(int button, int x, int y);
18 #endif