Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Onda VX7x7 FullTouch theme
« previous next »
  • Print
Pages: [1]

Author Topic: Onda VX7x7 FullTouch theme  (Read 9327 times)

Offline Giova

  • Member
  • *
  • Posts: 25
Onda VX7x7 FullTouch theme
« 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.

You need also to install the rockbox font package, if not, the theme will not load correctly.


  • I need an advice to get the play/pause button animation like the ff and rw on touch.
  • Another thing missing is a touch area for the wps to activate and deactivate the built in speaker, but I can't understand where to look into the source for building a patch.r28009. Use this, not working on sim right now
  • There's also a problem with the fm radio, where you can't change the volume while listening to it.
  • You will also encounter this bugr28168

Latest Version
« Last Edit: July 31, 2011, 11:10:55 AM by Giova »
Logged

Offline chansthename

  • Member
  • *
  • Posts: 8
Re: Onda VX7x7 FullTouch theme
« Reply #1 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.
Logged

Offline Giova

  • Member
  • *
  • Posts: 25
Re: Onda VX7x7 FullTouch theme
« Reply #2 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.
Logged

Offline Giova

  • Member
  • *
  • Posts: 25
Re: Onda VX7x7 FullTouch theme
« Reply #3 on: August 31, 2010, 04:05:29 AM »
I've updated the theme in the first post, now it is so much better, take a look at it!
« Last Edit: August 31, 2010, 05:11:58 AM by Giova »
Logged

Offline Giova

  • Member
  • *
  • Posts: 25
Re: Onda VX7x7 FullTouch theme
« Reply #4 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.
« Last Edit: September 26, 2010, 11:43:02 AM by Giova »
Logged

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Onda VX7x7 FullTouch theme
« Reply #5 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
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline Giova

  • Member
  • *
  • Posts: 25
Re: Onda VX7x7 FullTouch theme
« Reply #6 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!
« Last Edit: September 28, 2010, 06:03:51 AM by Giova »
Logged

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Onda VX7x7 FullTouch theme
« Reply #7 on: September 18, 2010, 06:32:48 AM »
interesting... that should work... open a bug for it.

does the on target crash still happen?
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline Giova

  • Member
  • *
  • Posts: 25
Re: Onda VX7x7 FullTouch theme
« Reply #8 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.
Logged

Offline Giova

  • Member
  • *
  • Posts: 25
Re: Onda VX7x7 FullTouch theme
« Reply #9 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
« Last Edit: October 03, 2010, 11:07:49 AM by Giova »
Logged

Offline Giova

  • Member
  • *
  • Posts: 25
Re: Onda VX7x7 FullTouch theme
« Reply #10 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
Logged

Offline audio-i

  • Artist
  • Member
  • *
  • Posts: 266
Re: Onda VX7x7 FullTouch theme
« Reply #11 on: November 10, 2010, 12:07:42 PM »
Quote from: 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.

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.
Logged

Offline Giova

  • Member
  • *
  • Posts: 25
Re: Onda VX7x7 FullTouch theme
« Reply #12 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)
    • When adding the lable 'shuf' makes the theme editor crash.
    Code: [Select]
    %?Tl(shuf, 2)<Shuffle %?ps<On|Off>>
    • In this part of code, the timeout part doesn't work, the text will remain forever on screen
    • The theme Editor can't handle anti aliased fonts

    Logged

    Offline [Saint]

    • Rockbox Expert
    • Member
    • *
    • Posts: 1662
    • Hayden Pearce
      • Google+
    Re: Onda VX7x7 FullTouch theme
    « Reply #13 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.]
    Logged
    Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

    Offline Giova

    • Member
    • *
    • Posts: 25
    Re: Onda VX7x7 FullTouch theme
    « Reply #14 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.
    * FullTouch.zip.txt (112.33 kB - downloaded 220 times.)
    « Last Edit: July 31, 2011, 11:11:30 AM by Giova »
    Logged

    • Print
    Pages: [1]
    « previous next »
    +  Rockbox Technical Forums
    |-+  Support and General Use
    | |-+  Theming and Appearance Customization
    | | |-+  Onda VX7x7 FullTouch theme
     

    • SMF 2.0.17 | SMF © 2019, Simple Machines
    • Rockbox Privacy Policy
    • XHTML
    • RSS
    • WAP2

    Page created in 0.097 seconds with 14 queries.