diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-05-16 15:50:42 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-05-16 15:50:42 +0000 |
commit | 57b3e0e1f0b835ff2982e9f66c7af402caecd3c1 (patch) | |
tree | d47849491f941ae2074840d2f44fd8fc1148af5d /src/gui/menuitem.h | |
parent | 960257dd1744a7c735f9ece50eaef79c96c895a9 (diff) | |
download | mana-client-57b3e0e1f0b835ff2982e9f66c7af402caecd3c1.tar.gz mana-client-57b3e0e1f0b835ff2982e9f66c7af402caecd3c1.tar.bz2 mana-client-57b3e0e1f0b835ff2982e9f66c7af402caecd3c1.tar.xz mana-client-57b3e0e1f0b835ff2982e9f66c7af402caecd3c1.zip |
Formatting updates to buddy window and menu item and made testing menu item
visible.
Diffstat (limited to 'src/gui/menuitem.h')
-rw-r--r-- | src/gui/menuitem.h | 51 |
1 files changed, 26 insertions, 25 deletions
diff --git a/src/gui/menuitem.h b/src/gui/menuitem.h index 1dd5dad7..dcfdf11f 100644 --- a/src/gui/menuitem.h +++ b/src/gui/menuitem.h @@ -18,6 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * + * $Id$ */ #ifndef _TMW_MENUITEM_H @@ -29,29 +30,29 @@ class MenuItem : public gcn::Widget, public gcn::MouseListener { - public: - /** - * Constructor. - */ - MenuItem(const std::string& label); - - /** - * Destructor. - */ - ~MenuItem(); - - /** - * Draws the MenuItem. - */ - void draw(gcn::Graphics* graphics); - - /** - * Handles mouse - */ - void mousePress(int x, int y, int button); - - private: - ImageRect menuitem[4]; -}; -#endif /* _TMW_MENUITEM_H */ + public: + /** + * Constructor. + */ + MenuItem(const std::string& label); + + /** + * Destructor. + */ + ~MenuItem(); + + /** + * Draws the MenuItem. + */ + void draw(gcn::Graphics* graphics); + /** + * Handles mouse + */ + void mousePress(int x, int y, int button); + + private: + ImageRect menuitem[4]; +}; + +#endif /* _TMW_MENUITEM_H */ |