4 // Graphical User Interface window class
7 #ifndef __DRAGGABLEWINDOW2_H__
8 #define __DRAGGABLEWINDOW2_H__
13 class DraggableWindow2: public Window
16 DraggableWindow2(uint32 x = 0, uint32 y = 0, uint32 w = 0, uint32 h = 0,
17 void (* f)(Element *) = NULL);
18 ~DraggableWindow2(); // Does this destructor need to be virtual? No, it doesn't!
19 virtual void HandleMouseMove(uint32 x, uint32 y);
20 virtual void HandleMouseButton(uint32 x, uint32 y, bool mouseDown);
21 virtual void Draw(void);
29 // SDL_Surface * label;
32 #endif // __DRAGGABLEWINDOW2_H__