Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3452 in orxonox.OLD


Ignore:
Timestamp:
Mar 2, 2005, 6:49:46 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: gui: added resolution-selection-menu

Location:
orxonox/trunk/src/gui
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/gui/orxonox_gui_exec.h

    r3423 r3452  
    5656};
    5757
    58 
     58//! A simple hashtable
    5959struct HashTable
    6060{
    61   char* name;
    62   char* value;
    63   HashTable* next;
     61  char* name;           //!< name of the entry
     62  char* value;          //!< value of the entry
     63  HashTable* next;      //!< pointer to the next entry
    6464};
    6565
  • orxonox/trunk/src/gui/orxonox_gui_flags.h

    r3423 r3452  
    2525  static void flagsText(Widget* widget, void* flagInfo);
    2626 
     27  //! Struct that handles flag information.
    2728  struct FlagInfo
    2829  {
    29     CheckButton* shortFlags;
    30     Label* flagsLabel;
     30    CheckButton* shortFlags;     //!< Button for the flag.
     31    Label* flagsLabel;           //!< Label for the flag.
    3132  };
    3233  Widget* getWidget(void);
  • orxonox/trunk/src/gui/orxonox_gui_video.cc

    r3423 r3452  
    3939  this->fullscreen->setFlagName("windowed", "q", 1);
    4040  this->fullscreen->saveability();
    41   this->videoBox->fill(fullscreen);
     41  this->videoBox->fill(this->fullscreen);
     42  this->resolution = new Menu("Resolution", "640x480", "800x600", "1024x768", "1280x1024", "1400x1050", "1600x1200", "1920x1200", "lastItem");
     43  this->resolution->saveability();
     44  this->videoBox->fill(this->resolution);
    4245  this->wireframe = new CheckButton("WireFrame-mode");
    4346  this->wireframe->setFlagName("wireframe", "w", 0);
    4447  this->wireframe->saveability();
    45   this->videoBox->fill(wireframe);
     48  this->videoBox->fill(this->wireframe);
    4649
    4750  this->advancedWindowCreate();
  • orxonox/trunk/src/gui/orxonox_gui_video.h

    r3423 r3452  
    1515  Box* videoBox;            //!< The Box that holds the video options.
    1616  CheckButton* fullscreen;  //!< CheckButton for fullscreen-mode
     17  Menu* resolution;         //!< Menu for the resolution
    1718  CheckButton* wireframe;   //!< CheckButton for wireframe Mode.
    1819
Note: See TracChangeset for help on using the changeset viewer.