From d336eb30f8098f4a8f0bc27dc40358b30e57decd Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sun, 24 Jun 2012 21:52:18 +1000 Subject: skin_engine: Automatically create touch regions for skin bars skin bars now automatically create the touch region the same size as the bar on touchscreen targets. This means touches will magically "just work" for reveresed bars (rtl or otherwise). ~5% padding is added on all 4 sides of the region rectangle but this may need to be tweaked. Please consider the 'progressbar' and 'volume' touchregion actions to be deprecated. Kudos to my new wife for figuring out the bleedingly obvious way to do this! Change-Id: I997a7bcaa70fce9885808aae27953c7676e9c2ff --- wps/cabbiev2.240x320x16.mini2440.wps | 1 - wps/cabbiev2.240x400x16.wps | 1 - wps/cabbiev2.320x240x16.mrobe500.wps | 1 - wps/cabbiev2.320x480x16.wps | 1 - wps/cabbiev2.800x480x16.wps | 1 - 5 files changed, 5 deletions(-) (limited to 'wps') diff --git a/wps/cabbiev2.240x320x16.mini2440.wps b/wps/cabbiev2.240x320x16.mini2440.wps index 8eba53e..1a6c7f3 100644 --- a/wps/cabbiev2.240x320x16.mini2440.wps +++ b/wps/cabbiev2.240x320x16.mini2440.wps @@ -8,7 +8,6 @@ %T(46,292,84,24,menu) %T(139,292,24,24,shuffle) %T(182,292,24,24,repmode) -%T(22,254,199,13,progressbar) %X(wpsbackdrop-240x320x16.bmp) %xl(A,lock-240x320x16.bmp,11,292,2) %xl(B,battery-240x320x16.bmp,46,292,10) diff --git a/wps/cabbiev2.240x400x16.wps b/wps/cabbiev2.240x400x16.wps index eb305b1..59a6074 100644 --- a/wps/cabbiev2.240x400x16.wps +++ b/wps/cabbiev2.240x400x16.wps @@ -7,7 +7,6 @@ %X(wpsbackdrop-240x400x16.bmp) %Cl(55,50,130,130,c,c) %pb(22,284,199,13,pb-240x320x16.bmp) -%T(22,284,199,13,progressbar) %T(90,238,60,20,playlist) %?Tl(2.5)<%Vd(t)|%Vd(u)> %V(0,0,240,330,1) diff --git a/wps/cabbiev2.320x240x16.mrobe500.wps b/wps/cabbiev2.320x240x16.mrobe500.wps index 1bad2bb..1ad14e4 100644 --- a/wps/cabbiev2.320x240x16.mrobe500.wps +++ b/wps/cabbiev2.320x240x16.mrobe500.wps @@ -6,7 +6,6 @@ %T(0,207,84,24,menu) %T(218,211,24,24,shuffle) %T(261,207,24,24,repmode) -%T(10,162,300,15,progressbar) %X(wpsbackdrop-320x240x16.bmp) %xl(A,lock-320x240x16.bmp,91,207,2) %xl(B,battery-320x240x16.bmp,126,207,10) diff --git a/wps/cabbiev2.320x480x16.wps b/wps/cabbiev2.320x480x16.wps index 31957a2..1aa5672 100644 --- a/wps/cabbiev2.320x480x16.wps +++ b/wps/cabbiev2.320x480x16.wps @@ -63,7 +63,6 @@ # progressbar and bottom icons %V(0,360,-,-,-) %pb(20,11,280,-,pb-320x480x16.bmp) -%T(20,0,280,40,progressbar) #%?mh<%xd(Aa)|%xd(Ab)> #%?bp<%?bc<%xd(Ba)|%xd(Bb)>|%?bl<|%xd(Bc)|%xd(Bd)|%xd(Be)|%xd(Bf)|%xd(Bg)|%xd(Bh)|%xd(Bi)|%xd(Bj)>> diff --git a/wps/cabbiev2.800x480x16.wps b/wps/cabbiev2.800x480x16.wps index 07420da..881718b 100644 --- a/wps/cabbiev2.800x480x16.wps +++ b/wps/cabbiev2.800x480x16.wps @@ -49,7 +49,6 @@ # progressbar and bottom icons %V(0,323,-,33,-) %pb(25,0,750,-,pb-800x480x16.bmp) -%T(25,0,750,50,progressbar) # volume %V(344,400,108,60,-) -- cgit v1.1