Changeset 3535


Ignore:
Timestamp:
Feb 5, 2013, 5:01:23 AM (2 years ago)
Author:
quozl
Message:

OLPC XO-4 - touchscreen, avoid mouse test targets when using test phase 4, reported by Chia-Hsiu.

Location:
cpu/arm/olpc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpu/arm/olpc/nn-touchscreen.fth

    r3534 r3535  
    906906   consume
    907907   flush
    908    background
     908   blacken
    909909   -1 to remaining
    910910;
  • cpu/arm/olpc/touchscreen-common.fth

    r3265 r3535  
    112112: undot  ( -- )  pixcolor @  dup dimmer  " replace-color" $call-screen  ;
    113113
     114: blacken  ( -- )
     115   black  0 0  screen-w screen-h  fill-rectangle-noff
     116;
     117
    114118: background  ( -- )
    115    black  0 0  screen-w screen-h  fill-rectangle-noff
     119   blacken
    116120   targets?  if
    117121      false to left-hit?
Note: See TracChangeset for help on using the changeset viewer.