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:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Avoiding overlapping viewports (e.g. Terminal/TerminalTwo)
« previous next »
  • Print
Pages: [1]

Author Topic: Avoiding overlapping viewports (e.g. Terminal/TerminalTwo)  (Read 179 times)

Offline chris_s

  • Developer
  • Member
  • *
  • Posts: 222
Avoiding overlapping viewports (e.g. Terminal/TerminalTwo)
« on: December 28, 2022, 04:50:09 PM »
Probably applies to other themes as well, but I noticed with Terminal/TerminalTwo, that the UI viewport visibly flashes when you navigate between screens.

Just a quick note to the author(s) – I know at least Frankenpod, who uploaded TerminalTwo, is still active on the forums - that this can be easily eliminated by drawing each side of the border for the UI viewport separately, instead of using two viewports which overlap with each other and with the UI viewport. Looks a lot nicer that way.  :)

So instead of this:

Code: [Select]
###Border###
%V(5,122,310,113,1)%Vf(-)%Vb(-)%dr(0,0,-,-)
%V(6,123,308,111,1)%Vf(-)%Vb(-)

This:
Code: [Select]
# Border:
# -- Left
%V(5,122,1,113,-)
%dr(0,0,1,-)

# -- Top left
%V(5,122,120,1,-)
%dr(0,0,-,1)

# -- Top right
%V(195,122,-5,1,-)
%dr(0,0,-,1)

# -- Right
%V(-5,122,1,113,-)
%dr(0,0,1,-)

# -- Bottom
%V(5,-5,-5,1,-)
%dr(0,0,-,1)

* terminal.png (8.99 kB, 320x240 - viewed 18 times.)
Logged

Offline Frankenpod

  • Member
  • *
  • Posts: 641
Re: Avoiding overlapping viewports (e.g. Terminal/TerminalTwo)
« Reply #1 on: December 28, 2022, 07:16:25 PM »
I can make that change.  Not sure I can see the flashing you mention, at least not on the simulator, but your point about overlapping viewports seems logical - probably better not to do it if avoidable (just took less typing that way!).  Only thing is I've managed to get myself locked out of the email account I used for uploading themes so can't really update any existing ones any more!

PS thanks for your ongoing work in fixing a multitude of small bugs and long-standing minor irritations in RB.
« Last Edit: December 29, 2022, 12:43:34 AM by Frankenpod »
Logged

Offline chris_s

  • Developer
  • Member
  • *
  • Posts: 222
Re: Avoiding overlapping viewports (e.g. Terminal/TerminalTwo)
« Reply #2 on: December 29, 2022, 02:16:35 AM »
Sure – yeah, it seems to be only noticeable on device, at least on the iPod video. Just thought you might like to know. I suppose you could try contacting speachy to see if he's able to change your email address in the database if necessary.
Logged

Offline Frankenpod

  • Member
  • *
  • Posts: 641
Re: Avoiding overlapping viewports (e.g. Terminal/TerminalTwo)
« Reply #3 on: December 29, 2022, 04:54:58 AM »
I'm not sure how it works - if there's a single database.  Seems like each theme can only be updated/replaced if you use the same email address for validation as was used when it was first uploaded - and I can't access that address any more.  Eventually I'll set up a new email address and then could upload a new version (it just won't overwrite the old one).
In the meantime I've changed _my_ version of it, at least.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Avoiding overlapping viewports (e.g. Terminal/TerminalTwo)
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.023 seconds with 16 queries.