X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fgui%2Fmenu.h;h=f3e621e7689ce139a5fb6ae23a8d001b13fa6bda;hb=81931e4d4dae892ed8ba9f4e40da335881b93484;hp=dba01bc4776a1d1644e0d10b4c2c30cc1215639e;hpb=60908c905544776c376421b8d3e12eeb936c068f;p=supertux.git diff --git a/src/gui/menu.h b/src/gui/menu.h index dba01bc47..f3e621e76 100644 --- a/src/gui/menu.h +++ b/src/gui/menu.h @@ -117,7 +117,7 @@ private: }; /** Number of the item that got 'hit' (ie. pressed) in the last - event()/action() call, -1 if none */ + event()/update() call, -1 if none */ int hit_item; // position of the menu (ie. center of the menu, not top/left) @@ -156,7 +156,7 @@ public: virtual void menu_action(MenuItem* item); - void action(); + void update(); /** Remove all entries from the menu */ void clear();