Changeset 2580 in orxonox.OLD for orxonox/trunk/gui/orxonox_gui.cc
- Timestamp:
- Oct 15, 2004, 10:41:25 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/gui/orxonox_gui.cc
r2024 r2580 6 6 #include "orxonox_gui_exec.h" 7 7 #include "orxonox_gui_flags.h" 8 #include "orxonox_gui_banner.h" 8 9 9 10 Window* orxonoxGUI; … … 11 12 OrxonoxGuiAudio* audio; 12 13 OrxonoxGuiExec* exec; 13 OrxonoxGuiFlags* flags; 14 OrxonoxGuiFlags* flags; 15 OrxonoxGuiBanner* banner; 14 16 15 17 int main( int argc, char *argv[] ) … … 35 37 Box* windowBox = new Box ('h'); 36 38 37 Image* banner = new Image ("banner.xpm"); 38 windowBox->fill (banner); 39 banner = new OrxonoxGuiBanner(); 40 windowBox->fill (banner->getEventBox()); 41 39 42 Box* optionBox = new Box ('v'); 40 43 … … 264 267 } 265 268 269 // EVENTBOX // 270 EventBox::EventBox () 271 { 272 is_option = -1; 273 next = NULL; 274 down = NULL; 275 widget = gtk_event_box_new (); 276 gtk_container_set_border_width (GTK_CONTAINER (widget), 3); 277 } 278 279 EventBox::EventBox (char* title) 280 { 281 /** 282 * Creates a new EventBox with name title 283 */ 284 is_option = -1; 285 next = NULL; 286 down = NULL; 287 widget = gtk_event_box_new (); 288 gtk_container_set_border_width (GTK_CONTAINER (widget), 3); 289 290 } 291 void EventBox::setTitle (char* title) 292 { 293 /** 294 * Sets the EventBoxes name to title 295 */ 296 // gtk_frame_set_label (GTK_FRAME (widget), title); 297 } 298 EventBox::~EventBox () 299 { 300 } 266 301 267 302
Note: See TracChangeset
for help on using the changeset viewer.