| 194 | } |
| 195 | |
| 196 | void CMouseControl::RecomputeWorkingArea () |
| 197 | { |
| 198 | m_minScreenX= (m_ScreenWidth - |
| 199 | (int) ((float) m_ScreenWidth * m_leftPercent)) / 2; |
| 200 | m_minScreenY= (m_ScreenHeight - |
| 201 | (int) ((float) m_ScreenHeight * m_topPercent)) / 2; |
| 202 | m_maxScreenX= (m_ScreenWidth - 1) - (m_ScreenWidth - |
| 203 | (int) ((float) m_ScreenWidth * m_rightPercent)) / 2; |
| 204 | m_maxScreenY= (m_ScreenHeight - 1) - (m_ScreenHeight - |
| 205 | (int) ((float) m_ScreenHeight * m_bottomPercent)) / 2; |
| 206 | } |
| 207 | |
| 208 | void CMouseControl::SetRelAcceleration2 (long delta0, float factor0, |
| 209 | long delta1, float factor1) |
nothing calls this directly
no outgoing calls
no test coverage detected