Author: wmb Date: 2009-08-31 18:33:21 +0200 (Mon, 31 Aug 2009) New Revision: 1340
Modified: ofw/gui/mouse.fth Log: Fixed comment typo, tip o' the hat to James Cameron.
Modified: ofw/gui/mouse.fth =================================================================== --- ofw/gui/mouse.fth 2009-08-30 01:33:45 UTC (rev 1339) +++ ofw/gui/mouse.fth 2009-08-31 16:33:21 UTC (rev 1340) @@ -72,8 +72,8 @@ 00000000011000001100000000000000 , 00000000011000000110000000000000 , 00000000001100011000000000000000 , - 00000000000111110000000000000000 , 00000000000111110000000000000000 , + 00000000000111110000000000000000 ,
create black-bits 00000000000000000000000000000000 , @@ -148,7 +148,7 @@ : update-position ( x y -- ) 2dup or 0= if 2drop exit then \ Avoid flicker if there is no movement
- \ Minimize the time the cursor is down by doing computa1000000000000000000 ,tion in advance + \ Minimize the time the cursor is down by doing computation in advance \ Considering the amount of code that is executed to put up the cursor, \ this optimization is probable unnoticeable, but it doesn't cost much. negate ypos + 0 max-y cursor-h - clamp ( x y' )
openfirmware@openfirmware.info