Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 3, 2008, 1:26:48 PM (16 years ago)
Author:
rgrieder
Message:

Fixed two issues with input:

  • Buffer gets cleared now when the window focus changes
  • Added a configValue in the InGameConsole:

Until now the input was always transparent to the level when activating the console (exception keyboard input of course)
bHidesAllInput_ can change that setting (configured in orxonox.ini)

@Oli: Sorry, couldn't apply the patch in the network branch because of conflicts (I have already made some changes to the InputManager in the trunk)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/overlays/console/InGameConsole.h

    r1755 r1878  
    8181        void windowResized(int newWidth, int newHeight);
    8282
     83        // config value related
     84        void bHidesAllInputChanged();
     85
    8386        static Ogre::UTFString convert2UTF(std::string s);
    8487
     
    102105        Ogre::TextAreaOverlayElement** consoleOverlayTextAreas_;
    103106
     107        // input related
     108        SimpleInputState* inputState_;
     109
    104110        // config values
    105111        float relativeWidth;
     
    109115        float noiseSize_;
    110116        char cursorSymbol_;
     117        bool bHidesAllInput_;
    111118
    112119        static InGameConsole* singletonRef_s;
Note: See TracChangeset for help on using the changeset viewer.