- Timestamp:
- Jun 21, 2004, 4:39:11 AM (20 years ago)
- Location:
- orxonox/branches/gui/guicc
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/gui/guicc/orxonox_gui.cc
r1997 r1998 27 27 */ 28 28 gtk_init (&argc, &argv); 29 29 gtk_rc_parse( "rc" ); 30 30 31 31 orxonoxGUI = new Window("Graphical Orxonox Launcher"); … … 448 448 gtk_label_set_line_wrap (GTK_LABEL(widget), TRUE); 449 449 } 450 451 Label:: Label (char* text) 452 { 453 is_option = 0; 454 next = NULL; 455 widget = gtk_label_new (text); 456 gtk_label_set_line_wrap (GTK_LABEL(widget), TRUE); 457 } 458 450 459 Label::~Label () 451 460 {} -
orxonox/branches/gui/guicc/orxonox_gui.h
r1997 r1998 126 126 Slider (char* slidername,int start, int end); 127 127 ~Slider (); 128 int i;129 128 static gint OptionChange (GtkWidget* widget, Widget* slider); 130 129 }; … … 143 142 public: 144 143 Label (); 144 Label (char* text); 145 145 ~Label (); 146 146 -
orxonox/branches/gui/guicc/orxonox_gui_audio.cc
r1996 r1998 9 9 enableSound->setFlagName ("no-sound", 0); 10 10 audioBox->fill (enableSound); 11 Label* musicVolumeLabel = new Label ("Music Volume"); 12 audioBox->fill (musicVolumeLabel); 11 13 musicVolume = new Slider ("Music Volume", 0, 100); 12 14 musicVolume->setFlagName ("music-volume", "m", 80); 13 15 audioBox->fill (musicVolume); 16 Label* effectsVolumeLabel = new Label ("Effects Volume"); 17 audioBox->fill (effectsVolumeLabel); 14 18 effectsVolume = new Slider ("Effects Volume", 0, 100); 15 19 effectsVolume->setFlagName ("effects-volume", "e", 80);
Note: See TracChangeset
for help on using the changeset viewer.