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/Ca3DE/MainCanvas.hpp

    r119 r125  
    5757 
    5858    enum InitStateT { INIT_REQUIRED, INIT_FAILED, INIT_SUCCESS }; 
     59    enum LastMousePosT { IN_CLIENT_3D_GUI, IN_OTHER_2D_GUI }; 
    5960 
    6061    void Initialize(); 
     
    8990    TimerT        m_Timer; 
    9091    double        m_TotalTime; 
     92    LastMousePosT m_LastMousePos;   ///< Used to prevent unwanted changes to the players heading and pitch when we're switching back from a 2D GUI to the 3D client view. 
    9193 
    9294    DECLARE_EVENT_TABLE()