Changeset 4062 in orxonox.OLD for orxonox/trunk
- Timestamp:
- May 5, 2005, 3:36:51 AM (20 years ago)
- Location:
- orxonox/trunk/src/lib/gui/gui
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/gui/gui/gui.cc
r4059 r4062 118 118 119 119 mainloopGUI(); 120 #ifndef HAVE_GTK2 121 GuiExec::startOrxonox(NULL, exec); 122 #endif /* HAVE_GTK2 */ 120 123 } 121 124 -
orxonox/trunk/src/lib/gui/gui/gui_exec.cc
r4060 r4062 362 362 #endif /* HAVE_GTK2 */ 363 363 { 364 GuiExec* exec = (GuiExec*)data;364 GuiExec* exec = (GuiExec*)data; 365 365 if(exec->shouldsave()) 366 366 exec->writeToFile(Window::mainWindow); -
orxonox/trunk/src/lib/gui/gui/gui_gtk.cc
r4061 r4062 34 34 35 35 #include "gui_flags.h" 36 #include "gui_exec.h" 37 36 38 extern GuiFlags* flags; 37 39 … … 120 122 121 123 // here follows the rest.... this will be nasty. 122 //! \todo move this into the gui-gtk-file123 124 //! \todo finish it. 124 125 //! \todo memory leek at save(); and save is a BAD word, use saveString instead, or something like it. -
orxonox/trunk/src/lib/gui/gui/gui_update.cc
r4061 r4062 67 67 this->updateFrame->fill(this->updateBox); 68 68 this->setMainWidget(this->updateFrame); 69 70 69 } 71 70 … … 117 116 download(&updateFileInfo); 118 117 } 119 #endif /* HAVE_CURL */ 120 #ifdef HAVE_CURL 118 121 119 /** 122 120 \brief Creates a window, and all it contains for the Data-update. … … 129 127 // the close-Button of the Update Window. 130 128 // updateWindowClose = new Button("close"); 131 #ifdef HAVE_GTK2 129 #ifdef HAVE_GTK2 132 130 // updateWindowClose->connectSignal("button_press_event", updateWindow, Window::windowClose); 133 131 #endif /* HAVE_GTK2 */ … … 142 140 this->updateDataBegin = new Button("begin."); 143 141 dataInfo->stateButton = this->updateDataBegin; 144 #ifdef HAVE_GTK2 142 #ifdef HAVE_GTK2 145 143 dataInfo->buttonSignal = updateDataBegin->connectSignal("button_press_event", dataInfo, updateDataFunc); 146 144 #endif /* HAVE_GTK2 */ … … 150 148 151 149 this->updateDataWindowButton = new Button("update orxonox::Data"); 152 #ifdef HAVE_GTK2 150 #ifdef HAVE_GTK2 153 151 this->updateDataWindowButton->connectSignal("button_press_event", this->updateDataWindow, Window::windowOpen); 154 152 this->updateDataWindow->connectSignal("destroy", this->updateDataWindow, Window::windowClose);
Note: See TracChangeset
for help on using the changeset viewer.