Show
Ignore:
Timestamp:
08/20/10 20:30:16 (21 months ago)
Author:
Carsten
Message:

Improved mouse input handling in the cafu_to_wx branch.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • cafu/branches/cafu_to_wx/Libs/GuiSys/Gui.hpp

    r36 r125  
    6969            /// Returns whether this GUI is fullscreen and fully opaque, i.e. whether this GUI covers everything under it. If true, the GuiSys saves the rendering of the GUIs "below" this one. This can improve the GUI performance significantly if e.g. the player is at a point in the game where the world rendering FPS is low. 
    7070            virtual bool GetIsFullCover() const=0; 
     71 
     72            /// Returns the position of the mouse cursor. 
     73            virtual void GetMousePos(float& MousePosX, float& MousePosY) const=0; 
    7174 
    7275            /// Sets the position of the mouse cursor.