14 #ifndef _PieDock_Menu_
15 #define _PieDock_Menu_
17 #include "Application.h"
20 #include "MenuItems.h"
36 inline void setWindowBelowCursor( Window w ) {
37 windowBelowCursor = w; }
38 inline const Window &getWindowBelowCursor()
const {
39 return windowBelowCursor; }
40 inline MenuItem *getSelected()
const {
42 inline const std::string &getName()
const {
44 virtual bool update( std::string, Window = 0 );
45 virtual void draw(
int,
int ) {}
46 virtual bool change( Settings::Action = Settings::Launch );
47 virtual void execute( Settings::Action = Settings::Launch );
52 inline void setSelected(
MenuItem *s ) {
56 virtual int run( std::string )
const;
63 Window windowBelowCursor;