Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2587 in orxonox.OLD for orxonox/trunk/gui/orxonox_gui.h


Ignore:
Timestamp:
Oct 17, 2004, 12:48:07 AM (20 years ago)
Author:
bensch
Message:

orxonox/trunk/gui: added init-routine to Menu as promised in last comit-message

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/gui/orxonox_gui.h

    r2586 r2587  
    178178class Menu : public Option
    179179{
     180 private:
     181  GtkWidget* menu;
     182  GtkWidget* item;
     183  va_list itemlist;
     184 
    180185 public:
    181186  Menu (char* menuname, ...);
    182187  ~Menu ();
    183   void init(void);   /// HAS TO BE IMPLEMENTED!! most difficult :-)
    184 
     188  void init(void);
     189
     190  void setTitle(char* title);
     191
     192  void addItem(char* itemName);
    185193  static gint OptionChange (GtkWidget* widget, Widget* menu);
    186194  void redraw();
Note: See TracChangeset for help on using the changeset viewer.