Changeset 1977 in orxonox.OLD for orxonox/branches/gui/guicc
- Timestamp:
- Jun 18, 2004, 9:42:58 AM (21 years ago)
- Location:
- orxonox/branches/gui/guicc
- Files:
-
- 2 added
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/gui/guicc/orxonox_gui.cc
r1976 r1977 5 5 int main( int argc, char *argv[] ) 6 6 { 7 OrxonoxGui* orxonoxgui = new OrxonoxGui(argc, argv); 8 return 0; 9 } 10 11 /* ORXONOXGUI */ 12 13 OrxonoxGui::OrxonoxGui (int argc, char *argv[]) 14 { 15 /** 16 * Initializes the Gui 17 */ 7 18 gtk_init (&argc, &argv); 19 8 20 Window* orxonoxGUI = new Window("Graphical Orxonox Launcher"); 9 21 orxonoxGUI->connectSignal ("destroy", orxonoxGUI->orxonox_gui_quit); … … 30 42 orxonoxGUI->showall (); 31 43 44 32 45 gtk_main(); 33 return 0; 34 } 35 46 } 36 47 37 48 /* WIDGET */ -
orxonox/branches/gui/guicc/orxonox_gui.h
r1976 r1977 16 16 #include <gtk/gtkmenuitem.h> 17 17 18 18 class OrxonoxGui 19 { 20 public: 21 OrxonoxGui (int argc, char *argv[]); 22 ~OrxonoxGui (); 23 }; 19 24 20 25 class Widget
Note: See TracChangeset
for help on using the changeset viewer.