Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 3, 2005, 12:13:38 PM (19 years ago)
Author:
bensch
Message:

orxonox/branches/updater: code-standartisation updated in all files.

  1. member → this→member
  2. function (bla) → function(bla)
  3. other small fixes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/updater/src/gui/orxonox_gui.cc

    r3313 r3315  
    4545int verbose = 4;
    4646
    47 int main( int argc, char *argv[] )
     47int main(int argc, char *argv[])
    4848{
    4949  OrxonoxGui* orxonoxgui = new OrxonoxGui(argc, argv);
     
    5656   \brief Initializes the Gui
    5757*/
    58 OrxonoxGui::OrxonoxGui (int argc, char *argv[])
     58OrxonoxGui::OrxonoxGui(int argc, char *argv[])
    5959{
    6060  initGUI(argc, argv);
     
    6767  windowBox->fill (banner->getWidget());
    6868 
    69   Box* optionBox = new Box ('v');
     69  Box* optionBox = new Box('v');
    7070 
    71   Box* avBox = new Box ('h');
     71  Box* avBox = new Box('h');
    7272
    73   video = new OrxonoxGuiVideo ();
    74   avBox->fill (video->getWidget ());
    75   audio = new OrxonoxGuiAudio ();
    76   avBox->fill (audio->getWidget ());
     73  video = new OrxonoxGuiVideo();
     74  avBox->fill(video->getWidget());
     75  audio = new OrxonoxGuiAudio();
     76  avBox->fill(audio->getWidget());
    7777     
    78   optionBox->fill (avBox);
     78  optionBox->fill(avBox);
    7979
    80   keys = new OrxonoxGuiKeys ();
    81   optionBox->fill (keys->getWidget ());
     80  keys = new OrxonoxGuiKeys();
     81  optionBox->fill(keys->getWidget());
    8282
    83   exec = new OrxonoxGuiExec (orxonoxGUI);
    84   optionBox->fill (exec->getWidget ());
     83  exec = new OrxonoxGuiExec();
     84  optionBox->fill(exec->getWidget());
    8585
    86   flags = new OrxonoxGuiFlags (orxonoxGUI);
     86  flags = new OrxonoxGuiFlags();
    8787
    88   optionBox->fill (flags->getWidget ());
    89   windowBox->fill (optionBox);
     88  optionBox->fill(flags->getWidget());
     89  windowBox->fill(optionBox);
    9090
    91   update = new OrxonoxGuiUpdate ();
     91  update = new OrxonoxGuiUpdate();
    9292  optionBox->fill(update->getWidget());
    9393 
    94   orxonoxGUI->fill (windowBox);
    95   flags->setTextFromFlags (orxonoxGUI);
     94  orxonoxGUI->fill(windowBox);
     95  flags->setTextFromFlags(orxonoxGUI);
    9696
    9797  // Reading Values from File
    98   exec->setFilename ("~/.orxonox.conf");
    99   exec->readFromFile (orxonoxGUI);
     98  exec->setFilename("~/.orxonox.conf");
     99  exec->readFromFile(orxonoxGUI);
    100100  // Merging changes to the Options from appended flags.
    101101  for (int optCount = 1; optCount < argc; optCount++)
     
    103103
    104104
    105   orxonoxGUI->showall ();
     105  orxonoxGUI->showall();
    106106
    107107  //// Handling special Cases. ///
     
    124124
    125125}
     126
     127
     128/**
     129   \breif Destructor.
     130*/
     131OrxonoxGui::~OrxonoxGui(void)
     132{
     133 
     134}
Note: See TracChangeset for help on using the changeset viewer.