Changeset 8004 in orxonox.OLD for branches/gui/src/story_entities
- Timestamp:
- May 31, 2006, 12:35:02 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/story_entities/simple_game_menu.cc
r8003 r8004 90 90 /// 91 91 OrxGui::GLGuiButton* dnpb = new OrxGui::GLGuiCheckButton("Push the button"); 92 dnpb->show();93 dnpb->setAbsCoor2D(350, 50);94 92 95 93 box->pack(dnpb); 96 94 97 95 OrxGui::GLGuiPushButton* rdnpb = new OrxGui::GLGuiPushButton("Quit ORXONOX!!"); 98 rdnpb->show();99 rdnpb->setAbsCoor2D(200, 180);100 96 rdnpb->connect(SIGNAL(rdnpb, released), this, SLOT(SimpleGameMenu, quitMenu)); 101 97 … … 105 101 input->setText("input some text here"); 106 102 input->connect(SIGNAL(input, textChanged), this, SLOT(SimpleGameMenu, TEST)); 107 input->show();108 input->setAbsCoor2D(200, 230);109 103 box->pack(input); 110 104 111 105 OrxGui::GLGuiSlider* slider = new OrxGui::GLGuiSlider(); 112 106 slider->connect(SIGNAL(slider, valueChanged), this, SLOT(SimpleGameMenu, TEST)); 113 slider->connect(SIGNAL(slider, valueChanged), dnpb, SLOT(OrxGui::GLGuiWidget, setBackgroundColor));107 slider->connect(SIGNAL(slider, valueChanged), box, SLOT(OrxGui::GLGuiWidget, setBackgroundColor)); 114 108 slider->setRange(0, 1); 115 109 slider->setValue(slider->min()); 116 slider->show();117 slider->setAbsCoor2D(200, 270);118 110 box->pack(slider); 119 111 } 120 112 box->setAbsCoor2D(50, 200); 113 box->showAll(); 121 114 ///// 122 115 }
Note: See TracChangeset
for help on using the changeset viewer.