[Scummvm-devel] Re: [Scummvm-cvs-logs] CVS: scummvm/scumm input.cpp,2.37,2.38

Max Horn max at quendi.de
Fri Oct 14 14:41:51 CEST 2005


Am 14.10.2005 um 22:52 schrieb Lars Persson:

> Update of /cvsroot/scummvm/scummvm/scumm
> In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15312/scumm
>
> Modified Files:
>     input.cpp
> Log Message:
> Added SYMBIAN32 defines for touchscreen navigation
>
I wonder if there is a reason why we don't just always activate this  
code, for all platforms? I.e. always update the mouse location when a  
click occurs... This way new ports to "small devices" would have one  
problem less to deal with...

Cheers,
Max


> Index: input.cpp
> ===================================================================
> RCS file: /cvsroot/scummvm/scummvm/scumm/input.cpp,v
> retrieving revision 2.37
> retrieving revision 2.38
> diff -u -d -r2.37 -r2.38
> --- input.cpp    24 Sep 2005 05:26:12 -0000    2.37
> +++ input.cpp    14 Oct 2005 20:52:57 -0000    2.38
> @@ -150,7 +150,7 @@
>
>          case OSystem::EVENT_LBUTTONDOWN:
>              _leftBtnPressed |= msClicked|msDown;
> -#if defined(_WIN32_WCE) || defined(PALMOS_MODE)
> +#if defined(_WIN32_WCE) || defined(PALMOS_MODE) || defined  
> (__SYMBIAN32__)
>              _mouse.x = event.mouse.x;
>              _mouse.y = event.mouse.y;
>
> @@ -164,7 +164,7 @@
>
>          case OSystem::EVENT_RBUTTONDOWN:
>              _rightBtnPressed |= msClicked|msDown;
> -#if defined(_WIN32_WCE) || defined(PALMOS_MODE)
> +#if defined(_WIN32_WCE) || defined(PALMOS_MODE) || defined  
> (__SYMBIAN32__)
>              _mouse.x = event.mouse.x;
>              _mouse.y = event.mouse.y;
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Power Architecture Resource Center: Free content, downloads,  
> discussions,
> and more. http://solutions.newsforge.com/ibmarch.tmpl
> _______________________________________________
> Scummvm-cvs-logs mailing list
> Scummvm-cvs-logs at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/scummvm-cvs-logs
>
>





More information about the Scummvm-devel mailing list