Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4746 in orxonox.OLD for orxonox/trunk/src/lib/gui


Ignore:
Timestamp:
Jul 1, 2005, 12:48:48 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: changed (void) → ()

Location:
orxonox/trunk/src/lib/gui
Files:
19 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/gui/gui.cc

    r4427 r4746  
    123123   \brief starts the OrxonoxGUI
    124124*/
    125 void Gui::startGui(void)
     125void Gui::startGui()
    126126{
    127127  mainloopGUI();
     
    145145   \brief Destructor.
    146146*/
    147 Gui::~Gui(void)
     147Gui::~Gui()
    148148{
    149149  delete video;
  • orxonox/trunk/src/lib/gui/gui.h

    r4427 r4746  
    2424 public:
    2525  Gui(int argc, char *argv[]);
    26   ~Gui(void);
     26  ~Gui();
    2727
    28   void startGui(void);
    29   void printHelp(void);
     28  void startGui();
     29  void printHelp();
    3030
    3131  static bool startOrxonox;
  • orxonox/trunk/src/lib/gui/gui_audio.cc

    r4427 r4746  
    3131   \brief Creates an Audio-Frame
    3232*/
    33 GuiAudio::GuiAudio(void)
     33GuiAudio::GuiAudio()
    3434{
    3535  Frame* audioFrame;        //!< The Frame that holds the audio Options.
     
    7474    \brief Destructs the Audio-Stuff
    7575*/
    76 GuiAudio::~GuiAudio(void)
     76GuiAudio::~GuiAudio()
    7777{
    7878  // nothing to do here.
  • orxonox/trunk/src/lib/gui/gui_audio.h

    r4427 r4746  
    1313{
    1414 public:
    15   GuiAudio(void);
    16   ~GuiAudio(void);
     15  GuiAudio();
     16  ~GuiAudio();
    1717};
    1818#endif /* _GUI_AUDIO_H */
  • orxonox/trunk/src/lib/gui/gui_banner.cc

    r4427 r4746  
    3434   \brief Creates a new BannerEventBox and its content.
    3535*/
    36 GuiBanner::GuiBanner(void)
     36GuiBanner::GuiBanner()
    3737{
    3838  // the banner Frame
     
    9292   \brief Destructs it.
    9393*/
    94 GuiBanner::~GuiBanner(void)
     94GuiBanner::~GuiBanner()
    9595{
    9696  // nothing to do here
  • orxonox/trunk/src/lib/gui/gui_banner.h

    r4427 r4746  
    1515{
    1616 public:
    17   GuiBanner(void);
    18   ~GuiBanner(void);
     17  GuiBanner();
     18  ~GuiBanner();
    1919};
    2020
  • orxonox/trunk/src/lib/gui/gui_element.h

    r4427 r4746  
    1818 
    1919  /** \returns the main Widget of this GuiElement. */
    20   Widget* getWidget(void) {return this->mainWidget;}
     20  Widget* getWidget() {return this->mainWidget;}
    2121 protected:
    2222  void setMainWidget(Widget* widget);
  • orxonox/trunk/src/lib/gui/gui_exec.cc

    r4427 r4746  
    4141    \brief Creates the Exec-Frame
    4242*/
    43 GuiExec::GuiExec(void)
     43GuiExec::GuiExec()
    4444{
    4545  Frame* execFrame;            //!< The Frame that holds the ExecutionOptions.
     
    133133   \brief Destructs the Execution-stuff
    134134*/
    135 GuiExec::~GuiExec(void)
     135GuiExec::~GuiExec()
    136136{
    137137  if(this->confFile)
     
    178178   \returns The name of the Configuration-File
    179179*/
    180 const char* GuiExec::getConfigFile(void) const
     180const char* GuiExec::getConfigFile() const
    181181{
    182182  return this->confFile;
  • orxonox/trunk/src/lib/gui/gui_exec.h

    r4427 r4746  
    3333
    3434 public:
    35   GuiExec(void);
    36   ~GuiExec(void);
     35  GuiExec();
     36  ~GuiExec();
    3737 
    3838  void setConfDir(const char* confDir);
    3939  void setConfFile(const char* confFile);
    40   const char* getConfigFile(void) const;
    41   int shouldsave(void);
     40  const char* getConfigFile() const;
     41  int shouldsave();
    4242  void writeToFile(Widget* widget);
    4343  void writeFileText(Widget* widget, int depth);
  • orxonox/trunk/src/lib/gui/gui_flags.cc

    r4427 r4746  
    2929   \brief Creates the Flags-Frame
    3030*/
    31 GuiFlags::GuiFlags(void)
     31GuiFlags::GuiFlags()
    3232{
    3333  this->flagsFrame = new Frame("Orxonox-Startup-Flags:");
     
    4848   \brief Destructs the Flags-stuff
    4949*/
    50 GuiFlags::~GuiFlags(void)
     50GuiFlags::~GuiFlags()
    5151{
    5252  // nothing to do here
  • orxonox/trunk/src/lib/gui/gui_flags.h

    r4427 r4746  
    2121
    2222 public:
    23   GuiFlags(void);
    24   ~GuiFlags(void);
     23  GuiFlags();
     24  ~GuiFlags();
    2525
    2626  void setTextFromFlags(Widget* widget);
  • orxonox/trunk/src/lib/gui/gui_gtk.cc

    r4427 r4746  
    6666   \brief enters the GUI's main-loop
    6767*/
    68 bool mainloopGUI(void)
     68bool mainloopGUI()
    6969{
    7070#ifdef HAVE_GTK2
     
    146146   \brief constructs a Widget
    147147*/
    148 Widget::Widget(void)
     148Widget::Widget()
    149149{
    150150  next = NULL;
     
    156156   This is still pretty crappy.
    157157*/
    158 Widget::~Widget(void)
     158Widget::~Widget()
    159159{
    160160  if (this->title)
     
    190190   \brief makes the widget visible.
    191191*/
    192 void Widget::show(void)
     192void Widget::show()
    193193{
    194194#ifdef HAVE_GTK2
     
    200200   \brief hides the widget.
    201201*/
    202 void Widget::hide(void)
     202void Widget::hide()
    203203{
    204204#ifdef HAVE_GTK2
     
    571571   \brief Constructs a Packer
    572572*/
    573 Packer::Packer(void)
     573Packer::Packer()
    574574{
    575575  this->down = NULL;
     
    580580   \brief Destroys a Packer.
    581581*/
    582 Packer::~Packer(void)
     582Packer::~Packer()
    583583{
    584584  PRINTF(5)("deleting the Packer part.\n");
     
    611611   sets the Container-Specific defaults.
    612612*/
    613 Container::Container(void)
     613Container::Container()
    614614{
    615615  this->optionType = GUI_CONTAINER;
     
    619619   \brief Destroys a Container.
    620620*/
    621 Container::~Container(void)
     621Container::~Container()
    622622{
    623623  PRINTF(5)("deleting the Container part.\n");
     
    694694   \brief Destructs a Window.
    695695*/
    696 Window::~Window(void)
     696Window::~Window()
    697697{
    698698  PRINTF(5)("deleting the Window: %s\n", this->title);
     
    725725   \brief Shows all Widgets that are included within this->widget.
    726726*/
    727 void Window::showall(void)
     727void Window::showall()
    728728{
    729729#ifdef HAVE_GTK2
     
    753753   \brief opens up a Window and fixes the Focus to it
    754754*/
    755 void Window::open(void)
     755void Window::open()
    756756{
    757757  if (this != mainWindow)
     
    768768   \brief closes up a Window and removes the Focus from it
    769769*/
    770 void Window::close(void)
     770void Window::close()
    771771{
    772772  if (this != mainWindow)
     
    831831   \brief destrcucts a Frame
    832832*/
    833 Frame::~Frame(void)
     833Frame::~Frame()
    834834{
    835835  PRINTF(5)("deleting the Frame: %s\n", this->title);
     
    872872   \brief destructs an EventBox.
    873873*/
    874 EventBox::~EventBox(void)
     874EventBox::~EventBox()
    875875{
    876876  PRINTF(5)("deleting the EventBox: %s\n", this->title);
     
    899899   \brief destructs a Box.
    900900*/
    901 Box::~Box(void)
     901Box::~Box()
    902902{
    903903  PRINTF(5)("deleting the Box: %s\n", this->title);
     
    934934   sets all Option-Specific-Values to their defaults.
    935935*/
    936 Option::Option(void)
     936Option::Option()
    937937{
    938938  this->value = 0;
     
    950950   \brief Destroys an Option.
    951951*/
    952 Option::~Option(void)
     952Option::~Option()
    953953{
    954954  PRINTF(5)("deleting the Option Part.\n");
     
    10511051   this is a default Option save
    10521052*/
    1053 char* Option::save(void)
     1053char* Option::save()
    10541054{
    10551055  char* value = new char [30];
     
    10721072   \returns The saveable-state.
    10731073*/
    1074 bool Option::isSaveable(void)
     1074bool Option::isSaveable()
    10751075{
    10761076  return this->saveable;
     
    11141114   \brief destructs a Button.
    11151115*/
    1116 Button::~Button(void)
     1116Button::~Button()
    11171117{
    11181118  PRINTF(5)("deleting the Label: %s\n", this->title);
     
    11381138   \todo not implemented yet
    11391139*/
    1140 void Button::redraw(void)
     1140void Button::redraw()
    11411141{
    11421142}
     
    11471147   \todo Actions for non-GTK-mode
    11481148*/
    1149 void Button::changeOption(void)
     1149void Button::changeOption()
    11501150{
    11511151  // This will possibly be used for ACTIONS !
     
    11781178   \brief destructs a CheckButton.
    11791179*/
    1180 CheckButton::~CheckButton(void)
     1180CheckButton::~CheckButton()
    11811181{
    11821182  if (this->title)
     
    12041204   \returns the Active state of the checkButton
    12051205*/
    1206 bool CheckButton::isActive(void)
     1206bool CheckButton::isActive()
    12071207{
    12081208#ifdef HAVE_GTK2
     
    12141214   \brief Changed the Option, call this Function
    12151215*/
    1216 void CheckButton::changeOption(void)
     1216void CheckButton::changeOption()
    12171217{
    12181218#ifdef HAVE_GTK2
     
    12341234   Example: if new settings are loaded the Button must be redrawn for the GUI to display that Change
    12351235*/
    1236 void CheckButton::redraw(void)
     1236void CheckButton::redraw()
    12371237{
    12381238#ifdef HAVE_GTK2
     
    12701270   \brief destructs a Slider.
    12711271*/
    1272 Slider::~Slider(void)
     1272Slider::~Slider()
    12731273{
    12741274  PRINTF(5)("deleting the Slider: %s\n", this->title);
     
    12981298/**
    12991299   \brief Redraws the widget
    1300    Example: see void CheckButton::redraw(void)
    1301 */
    1302 void Slider::redraw(void)
     1300   Example: see void CheckButton::redraw()
     1301*/
     1302void Slider::redraw()
    13031303{
    13041304#ifdef HAVE_GTK2
     
    13101310   \brief Changed the Option, call this Function
    13111311*/
    1312 void Slider::changeOption(void)
     1312void Slider::changeOption()
    13131313{
    13141314#ifdef HAVE_GTK2
     
    13281328}
    13291329
    1330 char* Slider::save(void)
     1330char* Slider::save()
    13311331{
    13321332  char* value = new char [30];
     
    13801380   \brief destructs a Menu.
    13811381*/
    1382 Menu::~Menu(void)
     1382Menu::~Menu()
    13831383{
    13841384  PRINTF(5)("deleting the Menu: %s\n", this->title);
     
    14011401   \brief Initializes a new Menu with no items
    14021402*/
    1403 void Menu::init(void)
     1403void Menu::init()
    14041404{
    14051405  this->optionType = GUI_INT;
     
    14181418   \returns the name of the selected Menu-Item
    14191419*/
    1420 char* Menu::save(void)
     1420char* Menu::save()
    14211421{
    14221422  MenuItem* tmpItem = this->firstItem;
     
    14911491/**
    14921492   \brief Redraws the widget
    1493    Example: see void CheckButton::redraw(void)
    1494 */
    1495 void Menu::redraw(void)
     1493   Example: see void CheckButton::redraw()
     1494*/
     1495void Menu::redraw()
    14961496{
    14971497#ifdef HAVE_GTK2
     
    15031503   \brief Changed the Option, call this Function
    15041504*/
    1505 void Menu::changeOption(void)
     1505void Menu::changeOption()
    15061506{
    15071507#ifdef HAVE_GTK2
     
    15401540   \brief destructs an OptionLabel.
    15411541*/
    1542 OptionLabel::~OptionLabel(void)
     1542OptionLabel::~OptionLabel()
    15431543{
    15441544  PRINTF(5)("deleting the OptionLabel: %s\n", this->title);
     
    15641564   \brief Redraws an OptionLabel(not implemented yet, but it works).
    15651565*/
    1566 void OptionLabel::redraw(void)
     1566void OptionLabel::redraw()
    15671567{
    15681568#ifdef HAVE_GTK2
     
    15741574   \brief Changed the Option, call this Function
    15751575*/
    1576 void OptionLabel::changeOption(void)
     1576void OptionLabel::changeOption()
    15771577{
    15781578#ifdef HAVE_GTK2
     
    15921592   \returns the String to save.
    15931593*/
    1594 char* OptionLabel::save(void)
     1594char* OptionLabel::save()
    15951595{
    15961596  return cValue;
     
    16301630   \brief destructs a Label.
    16311631*/
    1632 Label::~Label(void)
     1632Label::~Label()
    16331633{
    16341634  PRINTF(5)("deleting the Label: %s\n", this->title);
     
    16531653   \brief ereases the Text of a Label
    16541654*/
    1655 void Label::ereaseText(void)
     1655void Label::ereaseText()
    16561656{
    16571657  this->setTitle("");
     
    16981698   \return The Text the Label holds.
    16991699*/
    1700 const char* Label::getText(void)
     1700const char* Label::getText()
    17011701{
    17021702  return this->title;
     
    17281728   \brief destructs a ProgressBar
    17291729*/
    1730 ProgressBar::~ProgressBar(void)
     1730ProgressBar::~ProgressBar()
    17311731{
    17321732  PRINTF(5)("deleting the ProgressBar: %s\n", this->title);
     
    17621762    \brief returns the Progress Status
    17631763*/
    1764 double ProgressBar::getProgress(void)
     1764double ProgressBar::getProgress()
    17651765{
    17661766  return this->progress;
     
    18001800   \brief destructs an Image.
    18011801*/
    1802 Image::~Image(void)
     1802Image::~Image()
    18031803{
    18041804  PRINTF(5)("deleting the Image: %s\n", this->title);
     
    18611861   \brief destructs a FileDialog
    18621862*/
    1863 FileDialog::~FileDialog(void)
     1863FileDialog::~FileDialog()
    18641864{
    18651865  PRINTF(5)("deleting FileDialog %s\n", this->title);
     
    19031903   \brief disables the File Operator Buttons
    19041904*/
    1905 void FileDialog::disableFileOpts(void)
     1905void FileDialog::disableFileOpts()
    19061906{
    19071907#ifdef HAVE_GTK2
     
    19131913   \brief The ok-button has been pressed
    19141914*/
    1915 void FileDialog::okEvent(void)
     1915void FileDialog::okEvent()
    19161916{
    19171917  if (this->okFunc)
     
    19361936   \biref opens up the FileDialog-Window
    19371937*/
    1938 void FileDialog::open(void)
     1938void FileDialog::open()
    19391939{
    19401940  isOpen = true;
     
    19481948   \closes the FileDialog-Window
    19491949*/
    1950 void FileDialog::close(void)
     1950void FileDialog::close()
    19511951{
    19521952  this->isOpen = false;
  • orxonox/trunk/src/lib/gui/gui_gtk.h

    r4427 r4746  
    4545
    4646bool initGUI(int argc, char* argv[]);
    47 bool mainloopGUI(void);
     47bool mainloopGUI();
    4848
    4949//! This is the topmost object that can be displayed all others are derived from it.
     
    5353
    5454 public:
    55   Widget(void);
    56   virtual ~Widget(void);
    57 
    58   void show(void);
    59   void hide(void);
     55  Widget();
     56  virtual ~Widget();
     57
     58  void show();
     59  void hide();
    6060  void setSize(int width, int height);
    6161
    6262  virtual void setTitle(const char* title);  //!< An abstract Function, that sets the title of Widgets.
    63   virtual const char* getTitle(void) const { return this->title; };
     63  virtual const char* getTitle() const { return this->title; };
    6464
    6565  Widget* findWidgetByName(char* name, unsigned int depth);
     
    115115{
    116116 public:
    117   Packer(void);
    118   virtual ~Packer(void);
     117  Packer();
     118  virtual ~Packer();
    119119
    120120  Widget* down;                      //!< this points to the Widget below this.
     
    123123  void setGroupName(const char* name);
    124124  /** \returns the GroupName if existent NULL otherwise */
    125   inline const char* getGroupName(void) const {return this->groupName;}
     125  inline const char* getGroupName() const {return this->groupName;}
    126126
    127127
     
    142142 
    143143 public:
    144   Container(void);
    145   virtual ~Container(void);
     144  Container();
     145  virtual ~Container();
    146146
    147147  void setBorderWidth(int borderwidth);
     
    163163
    164164  Window(const char* windowName = NULL);
    165   virtual ~Window(void);
     165  virtual ~Window();
    166166 
    167167  virtual void setTitle(const char* title);
    168   void showall(void);
    169   void open(void);
    170   void close(void);
     168  void showall();
     169  void open();
     170  void close();
    171171
    172172#ifdef HAVE_GTK2
     
    189189 public:
    190190  Frame(const char* frameName = NULL);
    191   virtual ~Frame(void);
     191  virtual ~Frame();
    192192
    193193  virtual void setTitle(const char* title);
     
    202202 public:
    203203  EventBox(const char* eventBoxName = NULL);
    204   virtual ~EventBox(void);
     204  virtual ~EventBox();
    205205};
    206206
     
    215215 public:
    216216  Box(char boxtype = 'h');
    217   virtual ~Box(void);
     217  virtual ~Box();
    218218 
    219219  virtual void fill(Widget* lowerWidget);
     
    230230 
    231231 public:
    232   Option(void);
    233   virtual ~Option(void);
     232  Option();
     233  virtual ~Option();
    234234
    235235  int value;                  //!< every option has a value either true or false(0,1) or something else like 25 for 25% of the volume
     
    242242
    243243  void saveability(bool isSaveable = true);
    244   virtual char* save(void);
     244  virtual char* save();
    245245  virtual void load(char* loadString);
    246246
    247   bool isSaveable(void);
     247  bool isSaveable();
    248248  void setDefaultValue(int defaultValue);
    249249  void setFlagName(const char* flagname, int defaultvalue);
     
    251251  void setDescription(const char* shortDescription, const char* longDescription = NULL);
    252252
    253   virtual void redraw(void) = 0;       //!< A Option must be able to redraw itself.
    254   virtual void changeOption(void) = 0; //!< What to do, if an Option is Changed. eacht option decides for itself.
     253  virtual void redraw() = 0;       //!< A Option must be able to redraw itself.
     254  virtual void changeOption() = 0; //!< What to do, if an Option is Changed. eacht option decides for itself.
    255255#ifdef HAVE_GTK2
    256256    // Signals 
     
    267267 public:
    268268  Button(const char* buttonName = NULL);
    269   virtual ~Button(void);
     269  virtual ~Button();
    270270
    271271  virtual void setTitle(const char* title);
    272   virtual void redraw(void);
    273   virtual void changeOption(void);
     272  virtual void redraw();
     273  virtual void changeOption();
    274274};
    275275
     
    281281 public:
    282282  CheckButton(const char* buttonName = NULL);
    283   virtual ~CheckButton(void);
    284 
    285   bool isActive(void);
     283  virtual ~CheckButton();
     284
     285  bool isActive();
    286286
    287287  virtual void setTitle(const char* title);
    288   virtual void redraw(void);
    289   virtual void changeOption(void);
     288  virtual void redraw();
     289  virtual void changeOption();
    290290};
    291291
     
    302302 public:
    303303  Slider(const char* slidername, float start, float end);
    304   virtual ~Slider(void);
     304  virtual ~Slider();
    305305
    306306  void setExactness(int exactness);
    307307  void setValue(float value);
    308   virtual void redraw(void);
    309   virtual void changeOption(void);
    310 
    311   virtual char* save(void);
     308  virtual void redraw();
     309  virtual void changeOption();
     310
     311  virtual char* save();
    312312  virtual void load(char* loadString);
    313313};
     
    338338  Menu(const char* menuName);
    339339  Menu(char* menuname, ...);
    340   virtual ~Menu(void);
    341   void init(void);
    342 
    343   virtual char* save(void);
     340  virtual ~Menu();
     341  void init();
     342
     343  virtual char* save();
    344344  virtual void load(char* loadString);
    345345 
    346346  void addItem(char* itemName);
    347   virtual void redraw(void);
    348   virtual void changeOption(void);
     347  virtual void redraw();
     348  virtual void changeOption();
    349349};
    350350
     
    354354 public:
    355355  OptionLabel(const char* label, const char* value);
    356   virtual ~OptionLabel(void);
     356  virtual ~OptionLabel();
    357357 
    358358  void setValue(const char* newValue);
    359359
    360   virtual char* save(void);
     360  virtual char* save();
    361361  virtual void load(char* loadString);
    362362
    363   virtual void redraw(void);
    364   virtual void changeOption(void);
     363  virtual void redraw();
     364  virtual void changeOption();
    365365
    366366  char* cValue;                          //!< The Value the Label will have. \todo make private
     
    372372 public:
    373373  EntryField(const char* name = NULL);
    374   virtual ~EntryField(void);
     374  virtual ~EntryField();
    375375 
    376376  void setValue(const char* newValue);
    377   virtual char* save(void);
     377  virtual char* save();
    378378  virtual void load(char* loadString);
    379379 
    380   virtual void redraw(void);
    381   virtual void changeOption(void);
     380  virtual void redraw();
     381  virtual void changeOption();
    382382};
    383383
     
    387387 public:
    388388  Label(const char* text = NULL);
    389   virtual ~Label(void);
     389  virtual ~Label();
    390390 
    391391  virtual void setTitle(const char* text);
    392   void ereaseText(void);
     392  void ereaseText();
    393393  void appendText(char* textToAppend);
    394394  void appendInt(int intToAppend);
    395   const char* getText(void);
     395  const char* getText();
    396396};
    397397
     
    401401 public:
    402402  ProgressBar(const char* label = NULL);
    403   virtual ~ProgressBar(void);
     403  virtual ~ProgressBar();
    404404
    405405  void setProgress(double progress);
    406406  void setTotalSize(double totalSize);
    407   double getProgress(void);
     407  double getProgress();
    408408
    409409 private:
     
    425425  Image(const char* imgaeName);
    426426  Image(char** imageData);
    427   virtual ~Image(void);
     427  virtual ~Image();
    428428  void init(const char* name);
    429429};
     
    441441 public:
    442442  FileDialog(const char* fileDialogName);
    443   virtual ~FileDialog(void);
     443  virtual ~FileDialog();
    444444
    445445  void setChangeOption(OptionLabel* changeOption);
     
    448448  void setDefaultFileName(const char* defaultFileName);
    449449  void setMask(const char* mask);
    450   void disableFileOpts(void);
     450  void disableFileOpts();
    451451
    452452  void okEvent();
  • orxonox/trunk/src/lib/gui/gui_keys.cc

    r4427 r4746  
    3131   \brief Creates an Keyboard-Frame
    3232*/
    33 GuiKeys::GuiKeys(void)
     33GuiKeys::GuiKeys()
    3434{
    3535  Frame* keysFrame;      //!< The Frame that holds the keyOptions.
     
    7979   \brief Destructs the Keys-stuff
    8080*/
    81 GuiKeys::~GuiKeys(void)
     81GuiKeys::~GuiKeys()
    8282{
    8383  // nothing to do here.
     
    149149   \returns the OpenButton of a Player
    150150*/
    151 Button* PlayerKeys::getOpenButton(void)
     151Button* PlayerKeys::getOpenButton()
    152152{
    153153  return this->openButton;
     
    214214   \returns the OpenButton of a Misc
    215215*/
    216 Button* MiscKeys::getOpenButton(void)
     216Button* MiscKeys::getOpenButton()
    217217{
    218218  return this->openButton;
  • orxonox/trunk/src/lib/gui/gui_keys.h

    r4427 r4746  
    2727{
    2828 public:
    29   GuiKeys(void);
    30   ~GuiKeys(void);
     29  GuiKeys();
     30  ~GuiKeys();
    3131
    3232  static Window* inputWindow; //!< A Window that gets keyboard clicks. Static, because only one needed.
     
    4444  PlayerKeys(char* player);
    4545
    46   Button* getOpenButton(void);
     46  Button* getOpenButton();
    4747};
    4848
     
    5555  MiscKeys();
    5656
    57   Button* getOpenButton(void); 
     57  Button* getOpenButton(); 
    5858};
    5959
  • orxonox/trunk/src/lib/gui/gui_update.cc

    r4427 r4746  
    3535   \brief Creates an Update-Frame
    3636*/
    37 GuiUpdate::GuiUpdate(void)
     37GuiUpdate::GuiUpdate()
    3838{
    3939  FileDialog* dataDirDialog;   //!< A FileDialog for the selection of the DataRepos
     
    100100   \brief Destructs the Update-stuff
    101101*/
    102 GuiUpdate::~GuiUpdate(void)
     102GuiUpdate::~GuiUpdate()
    103103{
    104104
     
    128128    \brief Look what info we can get from this system
    129129*/
    130 bool GuiUpdate::getSystemInfo(void)
     130bool GuiUpdate::getSystemInfo()
    131131{
    132132  PRINTF(5)("Grabbing system information\n");
     
    155155
    156156#ifdef HAVE_CURL
    157 bool* GuiUpdate::checkForUpdates(void)
     157bool* GuiUpdate::checkForUpdates()
    158158{
    159159  PRINTF(4)("checking for new version of orxonox\n");
     
    169169   \brief Creates a window, and all it contains for the Data-update.
    170170*/
    171 void GuiUpdate::updateDataWindowCreate(void)
     171void GuiUpdate::updateDataWindowCreate()
    172172{
    173173  this->updateDataWindow = new Window("update orxonox::Data");   
     
    208208   \returns A Pointer to the Button of the UpdaterDataWindow
    209209*/
    210 Button* GuiUpdate::updateDataWindowGetButton(void)
     210Button* GuiUpdate::updateDataWindowGetButton()
    211211{
    212212  return this->updateDataWindowButton;
     
    216216   \brief Creates a window, and all it contains for the Source-update.
    217217*/
    218 void GuiUpdate::updateSourceWindowCreate(void)
     218void GuiUpdate::updateSourceWindowCreate()
    219219{
    220220  // the button, that opens this Window.
     
    247247   \returns A Pointer to the Button of the UpdaterSourceWindow
    248248*/
    249 Button* GuiUpdate::updateSourceWindowGetButton(void)
     249Button* GuiUpdate::updateSourceWindowGetButton()
    250250{
    251251  return this->updateSourceWindowButton;
  • orxonox/trunk/src/lib/gui/gui_update.h

    r4427 r4746  
    3737  char* userName;                       //!< The user logged in.
    3838
    39   bool getSystemInfo(void);
     39  bool getSystemInfo();
    4040 
    4141  // Window creation.
     
    9999
    100100 public:
    101   GuiUpdate(void);
    102   ~GuiUpdate(void);
     101  GuiUpdate();
     102  ~GuiUpdate();
    103103 
    104104#ifdef HAVE_CURL   
    105   void updateDataWindowCreate(void);
    106   Button* updateDataWindowGetButton(void);
     105  void updateDataWindowCreate();
     106  Button* updateDataWindowGetButton();
    107107
    108   void updateSourceWindowCreate(void);
    109   Button* updateSourceWindowGetButton(void);
     108  void updateSourceWindowCreate();
     109  Button* updateSourceWindowGetButton();
    110110
    111   bool* checkForUpdates(void);
     111  bool* checkForUpdates();
    112112 
    113113#endif /* HAVE_CURL */
  • orxonox/trunk/src/lib/gui/gui_video.cc

    r4427 r4746  
    3434   \brief Creates the Video-Option-Frame
    3535*/
    36 GuiVideo::GuiVideo(void)
     36GuiVideo::GuiVideo()
    3737{
    3838  Frame* videoFrame;        //!< The Frame that holds the video options.
     
    7676   \brief Destructs the Video-stuff
    7777*/
    78 GuiVideo::~GuiVideo(void)
     78GuiVideo::~GuiVideo()
    7979{
    8080  // nothing to do here.
     
    8484   \brief Creates a window, and all it contains for the Source-update.
    8585*/
    86 Widget* GuiVideo::advancedWindowCreate(void)
     86Widget* GuiVideo::advancedWindowCreate()
    8787{
    8888  // advanced-Performance-Options
  • orxonox/trunk/src/lib/gui/gui_video.h

    r4427 r4746  
    1717{
    1818 private:
    19   //  Button* advancedWindowGetButton(void);
     19  //  Button* advancedWindowGetButton();
    2020 
    2121 public:
    22   GuiVideo(void);
    23   ~GuiVideo(void);
     22  GuiVideo();
     23  ~GuiVideo();
    2424
    2525 private:
    2626  void getResolutions(Menu* menu);
    27   Widget* advancedWindowCreate(void);
     27  Widget* advancedWindowCreate();
    2828};
    2929#endif /* _GUI_VIDEO_H */
Note: See TracChangeset for help on using the changeset viewer.