Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8268 in orxonox.OLD for branches/water/src/story_entities


Ignore:
Timestamp:
Jun 8, 2006, 4:34:29 PM (18 years ago)
Author:
stefalie
Message:

water: yahoooo :-)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/water/src/story_entities/game_world.cc

    r8260 r8268  
    112112void GameWorld::enterGui()
    113113{
    114   OrxGui::GLGuiBox* imageSelector = new OrxGui::GLGuiBox();
    115   {
    116     image = new OrxGui::GLGuiImage();
    117     image->setWidgetSize(300, 300);
    118     image->setAbsCoor2D(300, 300);
    119     imageSelector->pack(image);
    120 
    121     imageName = new OrxGui::GLGuiInputLine();
    122     imageSelector->pack(imageName);
    123 
    124     OrxGui::GLGuiSlider* slider = new OrxGui::GLGuiSlider();
    125     slider->setWidgetSize(200, 30);
    126     slider->setRange(0, 200);
    127     slider->setStep(1);
    128    
    129    
    130     slider->setValue(slider->min());
    131     slider->connect(SIGNAL(slider, valueChanged), this, SLOT(GameWorld, setImage));
    132 
    133     imageSelector->pack(slider);
    134     slider->setValue(getImage("/home/stefalie/svn/orxonox/data/trunk/pictures/refl.bmp"));
    135   }
    136   imageSelector->showAll();
    137   imageSelector->setAbsCoor2D(200, 200);
    138     OrxGui::GLGuiHandler::getInstance()->activateCursor();
     114//   OrxGui::GLGuiBox* imageSelector = new OrxGui::GLGuiBox();
     115//   {
     116//     image = new OrxGui::GLGuiImage();
     117//     image->setWidgetSize(300, 300);
     118//     image->setAbsCoor2D(300, 300);
     119//     imageSelector->pack(image);
     120//
     121//     imageName = new OrxGui::GLGuiInputLine();
     122//     imageSelector->pack(imageName);
     123//
     124//     OrxGui::GLGuiSlider* slider = new OrxGui::GLGuiSlider();
     125//     slider->setWidgetSize(200, 30);
     126//     slider->setRange(0, 200);
     127//     slider->setStep(1);
     128//    
     129//    
     130//     slider->setValue(slider->min());
     131//     slider->connect(SIGNAL(slider, valueChanged), this, SLOT(GameWorld, setImage));
     132//
     133//     imageSelector->pack(slider);
     134//     slider->setValue(getImage("/home/stefalie/svn/orxonox/data/trunk/pictures/refl.bmp"));
     135//   }
     136//   imageSelector->showAll();
     137//   imageSelector->setAbsCoor2D(200, 200);
     138//     OrxGui::GLGuiHandler::getInstance()->activateCursor();
    139139
    140140  /////
Note: See TracChangeset for help on using the changeset viewer.