- Timestamp:
- May 25, 2006, 3:59:34 PM (19 years ago)
- Location:
- trunk/src/lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/gui/qt_gui/gui_audio.cc
r7856 r7858 40 40 */ 41 41 GuiAudio::GuiAudio(OrxGui::Gui* gui) 42 : Element(CONFIG_SECTION_AUDIO, gui), QGroupBox()42 : Element(CONFIG_SECTION_AUDIO, gui), QGroupBox() 43 43 { 44 44 QGridLayout* layout = new QGridLayout(this); … … 54 54 layout->addWidget(soundCard, 1, 1, 1, 2); 55 55 soundCard->addItem("Not supportet yet"); 56 57 56 58 57 … … 74 73 connect(musicVolume, SIGNAL(valueChanged(int)), musicNumber, SLOT(display(int))); 75 74 layout->addWidget(musicNumber, 2, 1); 76 77 75 78 76 -
trunk/src/lib/shell/shell_input.cc
r7771 r7858 334 334 this->addCharacter(event.x); 335 335 this->pressedKey = event.x; 336 this->pressedEvent = event.type; 336 337 } 337 338 this->delayed = this->repeatDelay; … … 339 340 else // if(!event.bPressed) 340 341 { 341 if (this->pressedKey == event.x || this->pressedKey == event.type) 342 { 342 if (this->pressedEvent == event.type) 343 { 344 this->pressedEvent = 0; 343 345 this->pressedKey = 0; 344 346 this->delayed = 0.0; -
trunk/src/lib/shell/shell_input.h
r7729 r7858 68 68 float delayed; //!< how much of the delay is remaining. 69 69 Uint16 pressedKey; //!< the pressed key that will be repeated. 70 Uint16 pressedEvent; //!< The Event, that lead to the pressing of the Key. 70 71 71 72 static std::list<std::string> history; //!< The history of given commands.
Note: See TracChangeset
for help on using the changeset viewer.