Changeset 3304 in orxonox.OLD for orxonox/branches/updater/src/gui/orxonox_gui_gtk.h
- Timestamp:
- Dec 28, 2004, 9:46:54 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/updater/src/gui/orxonox_gui_gtk.h
r3300 r3304 216 216 217 217 public: 218 //virtual gint OptionChange (GtkWidget* widget, GdkEvent* event, gpointer data);219 218 void init(void); 220 219 void destroy(void); … … 230 229 void setFlagName (char* flagname, int defaultvalue); 231 230 void setFlagName (char* flagname, char* flagnameshort, int defaultvalue); 232 virtual void redraw () = 0; //!< A Option must be able to redraw itself. 231 virtual void redraw (void) = 0; //!< A Option must be able to redraw itself. 232 virtual void changeOption(void) = 0; //!< What to do, if an Option is Changed. eacht option decides for itself. 233 #ifdef HAVE_GTK2 234 // Signals 235 static gint OptionChange (GtkWidget* widget, Widget* option); //!< Signal for Options that change. 236 #endif /* HAVE_GTK2 */ 233 237 }; 234 238 … … 247 251 void setTitle(char* title); 248 252 void redraw(); 253 void changeOption(void); 249 254 }; 250 255 … … 263 268 bool isActive(); //!< a Bool value to see, if this CheckButton is active. 264 269 void redraw (); 265 266 #ifdef HAVE_GTK2 267 // Signals 268 static gint OptionChange (GtkWidget* widget, Widget* checkbutton); 269 #endif /* HAVE_GTK2 */ 270 void changeOption(void); 270 271 }; 271 272 … … 284 285 void setTitle(char* title); 285 286 void setValue(int value); 286 void redraw(); 287 288 #ifdef HAVE_GTK2 289 // Signals 290 static gint OptionChange (GtkWidget* widget, Widget* slider); 291 #endif /* HAVE_GTK2 */ 287 void redraw(void); 288 void changeOption(void); 292 289 }; 293 290 … … 310 307 void setTitle(char* title); 311 308 void addItem(char* itemName); 312 #ifdef HAVE_GTK2 313 static gint OptionChange (GtkWidget* widget, Widget* menu); 314 #endif /* HAVE_GTK2 */ 315 void redraw(); 309 void redraw(void); 310 void changeOption(void); 316 311 }; 317 312 … … 331 326 void setTitle(char* title); 332 327 void redraw(); 328 void changeOption(); 333 329 334 330 char* cValue; //!< The Value the Label will have. \todo make private
Note: See TracChangeset
for help on using the changeset viewer.