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
| | |-+  Last Touchscreen Press & start in screen
« previous next »
  • Print
Pages: [1]

Author Topic: Last Touchscreen Press & start in screen  (Read 1724 times)

Offline AsusFreak

  • Member
  • *
  • Posts: 64
Last Touchscreen Press & start in screen
« on: March 23, 2010, 05:46:08 AM »
Hi.

I am a fan of this new Last Touchscreen Pressed Tag %Tl.
It's great to display information for a predefined time and get back to normal screen automatically. Code is for example: %?Tl3<%VdA|%VdB>
Nearly all my D2 themes use this tag to realize popup menus or information screens like this:
Code: [Select]
%wd
%X|bg.bmp|
# Define AA dimensions
%Cl|0|0|c240|c240|

# Touchscreen Pressed?
%?Tl3<%Vda|%Vdb>

#Pressed -> Text is shown
%Vl|a|0|0|100|100|1|AAAAAA|-|
This
Is
A
Demo
Text

#Not pressed -> Album Art
%Vl|b|0|0|240|240|-|-|-|
%C

Now I have a small suggestion.
I normally start my device running automatically into WPS screen (start in screen = WPS).
I expected to get into the WPS and to get a normal screen e.g. showing the Album Art.
But if I take the above .wps and want to start automatically the WPS then the flag for Last Touchscreen Pressed seems to be set to 1 (I expected unset) and the demo text is shown, the configured time runs down but the flag stays set to 1. Only by pressing the touchscreen once the counter starts and after 3 seconds the conditional viewport a (see example above) disappears.
If the startup configuration is changed to "start to screen = menu" and I go manually to WPS by pressing "Resume playback" the flag is set to 1 again but the timer runs correctly and after 3 seconds the conditional viewport disappears.

So maybe it's possible to leave the flag unset when starting into the WPS or at least starting the counter correctly when starting automatically to WPS?
« Last Edit: March 23, 2010, 05:49:15 AM by AsusFreak »
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Last Touchscreen Press & start in screen
 

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

Page created in 0.045 seconds with 15 queries.