Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


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

orxonox/trunk: changed (void) → ()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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();
Note: See TracChangeset for help on using the changeset viewer.