Changeset 1895 in orxonox.OLD for orxonox/branches/gui/guicc/orxonox_gui.cc
- Timestamp:
- May 19, 2004, 12:12:33 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/gui/guicc/orxonox_gui.cc
r1894 r1895 9 9 10 10 Frame* Frametest = new Frame ("Test"); 11 orxonoxGUI->fill( Frametest);12 //Frame test =orxonoxGUI->down;13 //test.setTitle("shit");11 orxonoxGUI->fill((Frame*) Frametest); 12 Frame* test = (Frame*) orxonoxGUI->down; 13 test->setTitle("shit"); 14 14 orxonoxGUI->showall (); 15 15 … … 69 69 70 70 71 72 71 gint Window::orxonox_gui_quit ( GtkWidget *widget, GdkEvent *event, gpointer data) 73 72 { … … 94 93 gtk_frame_set_label (GTK_FRAME (widget), title); 95 94 } 95 96 97 98 /* BOX */ 99 100 Box::Box (void) 101 { 102 widget = gtk_hbox_new(FALSE, 0); 103 } 104 Box::Box (char boxtype) 105 { 106 if (boxtype == 'v') 107 { 108 widget = gtk_vbox_new(FALSE, 0); 109 } 110 else 111 { 112 widget = gtk_hbox_new(FALSE, 0); 113 } 114 } 115 116 Box::~Box () 117 {} 118 119 void Box::fill (Widget *lowerWidget) 120 { 121 gtk_box_pack_start (GTK_BOX(this->widget), lowerWidget->widget, TRUE, TRUE, 0); 122 }
Note: See TracChangeset
for help on using the changeset viewer.