From 2c6f990f7dc90301ec029316e8ee539d1ebe1f8c Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Wed, 23 Feb 2011 21:06:24 -0600 Subject: [PATCH] update comments --- src/InputFilter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/InputFilter.cpp b/src/InputFilter.cpp index 722ab83799..a3d35d0ee2 100644 --- a/src/InputFilter.cpp +++ b/src/InputFilter.cpp @@ -427,14 +427,14 @@ public: // the window's width/height? -aj static int GetMouseX( T* p, lua_State *L ){ float fX = p->GetCursorX(); - // scale input + // Scale input to the theme's dimensions fX = SCALE( fX, 0, (PREFSMAN->m_iDisplayHeight * PREFSMAN->m_fDisplayAspectRatio), SCREEN_LEFT, SCREEN_RIGHT ); lua_pushnumber( L, fX ); return 1; } static int GetMouseY( T* p, lua_State *L ){ float fY = p->GetCursorY(); - // scale input + // Scale input to the theme's dimensions fY = SCALE( fY, 0, PREFSMAN->m_iDisplayHeight, SCREEN_TOP, SCREEN_BOTTOM ); lua_pushnumber( L, fY ); return 1;