4 // Graphical User Interface window class
7 #ifndef __DRAGGABLEWINDOW2_H__
8 #define __DRAGGABLEWINDOW2_H__
13 class DraggableWindow2: public Window
16 DraggableWindow2(uint32_t x = 0, uint32_t y = 0, uint32_t w = 0, uint32_t 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_t x, uint32_t y);
20 virtual void HandleMouseButton(uint32_t x, uint32_t y, bool mouseDown);
21 virtual void Draw(void);
29 // SDL_Surface * label;
32 #endif // __DRAGGABLEWINDOW2_H__