Changeset 2024 in orxonox.OLD for orxonox/trunk
- Timestamp:
- Jun 23, 2004, 1:37:49 PM (20 years ago)
- Location:
- orxonox/trunk/gui
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/gui/Makefile.am
r2018 r2024 18 18 # following and add `chk' to the EXTRA_DIST list 19 19 #TESTS=chk 20 EXTRA_DIST = rc 20 EXTRA_DIST = rc banner.xpm 21 21 22 22 # build and install the .info pages -
orxonox/trunk/gui/Makefile.in
r2018 r2024 131 131 # following and add `chk' to the EXTRA_DIST list 132 132 #TESTS=chk 133 EXTRA_DIST = rc 133 EXTRA_DIST = rc banner.xpm 134 134 subdir = gui 135 135 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -
orxonox/trunk/gui/orxonox_gui.cc
r2018 r2024 33 33 orxonoxGUI->connectSignal ("delete_event", orxonoxGUI->orxonox_gui_quit); 34 34 35 Box* windowBox = new Box ('v'); 35 Box* windowBox = new Box ('h'); 36 37 Image* banner = new Image ("banner.xpm"); 38 windowBox->fill (banner); 39 Box* optionBox = new Box ('v'); 36 40 37 41 Box* avBox = new Box ('h'); … … 42 46 avBox->fill (audio->getFrame ()); 43 47 44 windowBox->fill (avBox);48 optionBox->fill (avBox); 45 49 46 50 exec = new OrxonoxGuiExec (orxonoxGUI); 47 windowBox->fill (exec->getFrame ());51 optionBox->fill (exec->getFrame ()); 48 52 49 53 flags = new OrxonoxGuiFlags (orxonoxGUI); 50 windowBox->fill (flags->getFrame ()); 54 55 56 optionBox->fill (flags->getFrame ()); 57 windowBox->fill (optionBox); 51 58 52 59 orxonoxGUI->fill (windowBox); … … 314 321 tmp->next = lowerWidget; 315 322 } 323 } 324 325 /* IMAGE */ 326 327 Image::Image (char* imagename) 328 { 329 is_option = 0; 330 next = NULL; 331 widget = gtk_image_new_from_file (imagename); 316 332 } 317 333 -
orxonox/trunk/gui/orxonox_gui.h
r2018 r2024 16 16 #include <gtk/gtkmenuitem.h> 17 17 #include <gtk/gtklabel.h> 18 #include <gtk/gtkimage.h> 18 19 19 20 class OrxonoxGui … … 92 93 }; 93 94 95 class Image : public Widget 96 { 97 public: 98 Image (char* imgaename); 99 ~Image (); 100 }; 101 94 102 class Option : public Widget 95 103 {
Note: See TracChangeset
for help on using the changeset viewer.