Rockbox Technical Forums

Support and General Use => Theming and Appearance Customization => Topic started by: Giova on June 18, 2010, 08:05:14 AM

Title: Onda VX7x7 FullTouch theme
Post by: Giova on June 18, 2010, 08:05:14 AM
I'm working on this theme for the ONDA players to be fully usable with the absolute touch input mode.
Feel free to use the source (http://themes.rockbox.org/download.php?themeid=1018).

You need also to install the rockbox font package (http://download.rockbox.org/daily/fonts/rockbox-fonts.zip), if not, the theme will not load correctly.

(http://themes.rockbox.org/themes/240x400/fulltouch-2/menu-dump100831-091232.png) (http://themes.rockbox.org/themes/240x400/fulltouch-2/1-dump100831-091223.png)


Latest Version (http://dl.dropbox.com/u/6145657/FullTouch.zip)
Title: Re: Onda VX7x7 FullTouch theme
Post by: chansthename on June 20, 2010, 04:25:03 AM
do you mean having the icon either on play or pause depending on the state?

if so, here is my code from my theme
Code: [Select]
#Viewport for Play/Pause
%V(450,402,100,73,1)
# Conditional for button status
%?mp<%xd(ad)|%xd(ac)|%xd(ad)|%xd(ad)|%xd(ad)>

I have a viewport defined and within I make a statement for the button status. the second (ac) is my pause and (ad) is my play icons.
Title: Re: Onda VX7x7 FullTouch theme
Post by: Giova on June 20, 2010, 06:53:43 AM
No, definitely not.
I was talking about an extra animation to display when the area is pressed, I've already managed it on the rew and forward buttons, but I can't figure out how to make it work on the play/pause screen.
Title: Re: Onda VX7x7 FullTouch theme
Post by: Giova on August 31, 2010, 04:05:29 AM
I've updated the theme (http://themes.rockbox.org/download.php?themeid=1018) in the first post, now it is so much better, take a look at it!
Title: Re: Onda VX7x7 FullTouch theme
Post by: Giova on September 13, 2010, 09:29:45 AM
I've got some problem with this code:
Code: [Select]
%?pE(10)<%?if(%pp,=,%pe)<%?mp<|%s%ac%?ia<%ia|%d(2)>>|%alNext:%s%ac%?Ia<%Ia|%d(2)>>|%?mp<|%s%ac%?ia<%ia|%d(2)>>>
%?pE(10)<%?if(%pp,=,%pe)<%?mp<|%s%ac%?it<%it|%fn>>|%s%ac%?It<%It|%Fn>>|%?mp<|%s%ac%?it<%it|%fn>>>
%?pE(10)<%?if(%pp,=,%pe)<%?mp<|%s%ac%?id<%id|%d(1)>>|%s%ac%?Id<%Id|%D(1)>>|%s%ac%?Id<%Id|%D(1)>|%?mp<|%s%ac%?id<%id|%d(1)>>>

In the sim it works nicely, but on the last 10 seconds of the last song of the playlist, the player froze.

Today, 26/09/2010, this bug has been fixed.
Title: Re: Onda VX7x7 FullTouch theme
Post by: JdGordon on September 13, 2010, 09:49:38 AM
I'm guessing http://svn.rockbox.org/viewvc.cgi?view=rev;revision=27983 caused this... try with r27982
Title: Re: Onda VX7x7 FullTouch theme
Post by: Giova on September 17, 2010, 04:22:39 PM
I've got another problems with this code:
Code: [Select]
#main viewport
%Vi(stop,0,70,240,275,-)
%Vi(play,0,70,240,248,-)
#%?if(%mp,=,1)<%VI(stop)|%VI(play)>
%?mp<%VI(stop)|%VI(play)|>

Neither with the if or the standard conditional %?mp it works the way I would like to (both in sim and real device).
Got it working with:
Code: [Select]
#main viewport
%?if(%mp,=,1)<%VI(s)|%VI(p)>

%Vi(p,0,70,240,248,-)

%Vi(s,0,70,240,275,-)
Thanks goes to MrMuh!
Title: Re: Onda VX7x7 FullTouch theme
Post by: JdGordon on September 18, 2010, 06:32:48 AM
interesting... that should work... open a bug for it.

does the on target crash still happen?
Title: Re: Onda VX7x7 FullTouch theme
Post by: Giova on September 18, 2010, 04:53:11 PM
Oh yes, the crash on reply #4 still happen.

About the bug of the two main viewport, the problem it's like that the y value is set to 0, while it should be 70.
Title: Re: Onda VX7x7 FullTouch theme
Post by: Giova on September 22, 2010, 06:00:50 PM
I've got a problem with the slider option for progress bar:

Code: [Select]
%xl(Z,slider.bmp,0,0)
#progressbar box
%V(1,320,238,8,3)%Vb(ffffff)
%pb(0,0,238,8,pb.bmp,slider,Z)

In sbs it works as it should, but in WPS it doesn't show the slider image 'Z' and made the device freeze just after choosing the theme.
To me it seems to works randomly, sometimes you can see some strange colours in that area, some others like if no slider has been loaded and finally sometimes it simply looks as I would...

In the simulator it work nicely.

Fixed by r28204 (http://svn.rockbox.org/viewvc.cgi?view=rev;revision=28204)
Title: Re: Onda VX7x7 FullTouch theme
Post by: Giova on October 31, 2010, 11:09:56 AM
I'd like to update the theme in the theme page, but I got error of WPS parser.
I think because the code related to the speaker:

Code: [Select]
%T(87,280,65,35,setting_inc,speaker)
%V(115,290,25,15,2)%Vb(ffffff)
%?St(speaker)<%xd(Tb)|%xd(Ta)>

This code also break the wps in simulator, while it works great on the device.
In the meanwhile http://dl.dropbox.com/u/6145657/FullTouch.zip
Title: Re: Onda VX7x7 FullTouch theme
Post by: audio-i on November 10, 2010, 12:07:42 PM
I'd like to update the theme in the theme page, but I got error of WPS parser.
I think because the code related to the speaker:

Code: [Select]
%T(87,280,65,35,setting_inc,speaker)
%V(115,290,25,15,2)%Vb(ffffff)
%?St(speaker)<%xd(Tb)|%xd(Ta)>

This code also break the wps in simulator, while it works great on the device.

I'm having a similar problem with a 320x240 theme, that uses %T & setting_inc. It works on the device, it works on the simulator, but the themesite parser (D2) won't accept it.
Title: Re: Onda VX7x7 FullTouch theme
Post by: Giova on April 27, 2011, 09:06:16 AM
Hi there! I'm back on this theme.
Having a couple of problems:
Code: [Select]
%T(shuf,5,280,65,35,shuffle)
Code: [Select]
%?Tl(shuf, 2)<Shuffle %?ps<On|Off>>
Title: Re: Onda VX7x7 FullTouch theme
Post by: [Saint] on April 27, 2011, 10:24:18 AM
The themeeditor knows nothing of using more than two character identifiers.
It also knows nothing of AA fonts.

In other words, "the syntax you are using is too new".
The themeeditor is badly out of sync with the rest of the trunk.


[St.]
Title: Re: Onda VX7x7 FullTouch theme
Post by: Giova on July 31, 2011, 10:54:52 AM
Ok, I've edit this theme due to the updated guide-lines but the web theme uploader fail parsing my code...

Attached the archive.