Rockbox Development > Feature Ideas
WPS buttons show when touching the touchscreen (like Cowon D2 OF)
JdGordon:
--- Quote from: punkt on February 11, 2010, 01:12:30 PM ---Also I feel like the wps format could do with some boolean logic, proper conditionals and variables and a more functional style. Reminds me of the nsis format the way it is now. I wish I could use lua to write a theme. But until I'm contributing more, I haven't got the right to be complaining, have I? ;)
--- End quote ---
complaints comign from people who contribute *anything* are fine (when backed up with patches :D).
I wouldnt be too surprised if eventually lua can be used for the wps, but untill then, what extra logic is actually needed? same with variables? both just make the code shorter, they dont really add anything.
and yeah, it shuold be possible to move %Tl/k into a viewport. its just not had anyone do that yet.
Biont:
--- Quote from: punkt on February 11, 2010, 01:12:30 PM ---But until I'm contributing more, I haven't got the right to be complaining, have I? ;)
--- End quote ---
Hehe, at least you can contribute :D
I can't code, so all I can do is trying to make a great theme that's up-to date with most WPS related changes.
But I'd gladly help you with making an OF-like theme when it's possible. I'm sure that would make some people happy (Also, it would be awesome^^)
...and wow, nice to hear you use my theme for testing :P
punkt:
--- Quote from: JdGordon on February 11, 2010, 02:00:59 PM ---I wouldnt be too surprised if eventually lua can be used for the wps, but untill then, what extra logic is actually needed? same with variables? both just make the code shorter, they dont really add anything.
--- End quote ---
Just a crazy thought: I was thinking about lua themes last night, and this is what I came up with (see attached file). You can e.g. use variables as actions in touch areas (which are identical to viewports in this draft), and if-expressions. Overlapping viewports are supposed to be supported, so when drawing, all currently show()n viewports need to be drawn.
Don't know if this would really add any practical value, or if I'm just too used to imperative style programming. But I've always wanted to use lua in a project, so that's my hammer looking for a nail :)
Navigation
[0] Message Index
[*] Previous page
Go to full version