- Posts: 649
Devo 10/7E small UI (updated 1st post)
- sbstnp
- Topic Author
- Offline
- tested by me and some others.
- in the nightlies.
Please visit this thread for configuration reference:
www.deviationtx.com/forum/custom-skins/2...devo-7e-10-reference
All the code can be found here:
bitbucket.org/sbstnp/dev-flex-ui
config.inis are in the repo named:
config-small.ini
config-large.ini
updated above
This post has a zip with 2 config.ini files, one is default big 12normal font, the other is small UI with 04b03 font.
Original post below:
Just something I've been working on for a while. This is the second go at it my 1st was lost in a HDD crash and put on hold for about 6 months.
I have it mostly working but I'm still hunting pixel level inaccuracies and it's going slowly since I can only work on it late at night when I'm usually very tired.
Devo 10 + 4in1
FrSky Taranis + TBS Crossfire
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
If you check in your code and push it to bitbucket often, you won't lose it like that
Please Log in or Create an account to join the conversation.
- sbstnp
- Topic Author
- Offline
- Posts: 649
I intend to go the whole mile and then if it looks all right maybe we can make it an option for latin alphabets. I haven't checked accented chars yet so I'm not sure they will work with that particular font, but modding the font should be the easy part. English looks perfect so far, so for it's worth the effort.
Devo 10 + 4in1
FrSky Taranis + TBS Crossfire
Please Log in or Create an account to join the conversation.
- rbe2012
- Offline
- So much to do, so little time...
- Posts: 1433
sbstnp, do you use a smaller font or do you recalculate an existing font? With the first we could try to calculate how much lines are possible on the screen and adopt scroll areas and line spacing. I have done similar (for only a few pages) when I optimized them for the 480x272-screen.
Please Log in or Create an account to join the conversation.
- sbstnp
- Topic Author
- Offline
- Posts: 649
Anyway, since this UI will be limited to latin languages creating and tuning a font isn't a big deal, I've done it before.
The current UI is partly aware of how many lines are fitting at the same time (e.g. menus) but there are a lot of places needing rewriting. I also had to affect some UI elements like labels and buttons in order to better center text on different states (selected, unselected).
I'll keep at it
rbe2012 wrote: It is great - much more usable than only four lines.
sbstnp, do you use a smaller font or do you recalculate an existing font? With the first we could try to calculate how much lines are possible on the screen and adopt scroll areas and line spacing. I have done similar (for only a few pages) when I optimized them for the 480x272-screen.
Devo 10 + 4in1
FrSky Taranis + TBS Crossfire
Please Log in or Create an account to join the conversation.
- sbstnp
- Topic Author
- Offline
- Posts: 649
PhracturedBlue wrote: If you check in your code and push it to bitbucket often, you won't lose it like that
Bad luck is bad luck, happened while on a business trip with no internet access (actually very expensive internet access). Now I carry an external backup drive with me
Devo 10 + 4in1
FrSky Taranis + TBS Crossfire
Please Log in or Create an account to join the conversation.
- WheresWaldo
- Offline
- Posts: 253
I tried changing all the fonts in config.ini to 04b03 and that did not accomplish the desired results so I am glad someone is looking at the code to make this a reality.
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
So the documentation will likely not need an update now or in the future for this.
Please Log in or Create an account to join the conversation.
- sbstnp
- Topic Author
- Offline
- Posts: 649
My first goal is to have all the UI supporting 8 lines and be revertable to 5 lines with no ill effects. This could be toggled by a setting in config.ini.
Second goal is to have custom fonts and user controllable sizes. This will be both harder and more dangerous and I haven't given this too much thought yet.
Devo 10 + 4in1
FrSky Taranis + TBS Crossfire
Please Log in or Create an account to join the conversation.
- WheresWaldo
- Offline
- Posts: 253
I would be very interested in helping you test this. I have already been jealous of the Devo8/12 owners with all that info on their screens. I even duplicated some of the more information specific screens.
I could just imagine what I might be able to display with more lines available. and smaller toggles too! Notice that I am not using a model.icon, If I can't tell what kind of aircraft I am flying without looking at it directly I have more problems than just my setup and display screen.
Please Log in or Create an account to join the conversation.
- sbstnp
- Topic Author
- Offline
- Posts: 649
Devo 10 + 4in1
FrSky Taranis + TBS Crossfire
Please Log in or Create an account to join the conversation.
- sbstnp
- Topic Author
- Offline
- Posts: 649
I started with a new fork and pushed most of the changes here:
bitbucket.org/sbstnp/deviation-bw-small-ui
I'm still experimenting with ways of tweaking the UI widgets and keep the existing code as much as possible so far. Unfortunately there are many many assumptions about font sizes and how things are placed on the screen and spacing.
Some more pix, buttons are now underlines when not selected (not definitive but looks cleaner) and I changed some labels (won't happen if I'm to keep compatibility with 12 pixel fonts, but it looks nice):
Devo 10 + 4in1
FrSky Taranis + TBS Crossfire
Please Log in or Create an account to join the conversation.
- WheresWaldo
- Offline
- Posts: 253
( Calibrate )
Please Log in or Create an account to join the conversation.
- sbstnp
- Topic Author
- Offline
- Posts: 649
Edit: pic.
Not liking this. But I have another idea, stay tuned.
Devo 10 + 4in1
FrSky Taranis + TBS Crossfire
Please Log in or Create an account to join the conversation.
- HappyHarry
- Offline
- Posts: 1136
Please Log in or Create an account to join the conversation.
- FDR
- Offline
[button]
<[spinbutton]>
Please Log in or Create an account to join the conversation.
- WheresWaldo
- Offline
- Posts: 253
One thing I saw above and really like was the TX Battery and TX Power on the same line at the top. Can it be placed in any position with your mods? I never liked that the Power was below the battery on the Deviation screen and you cannot move it.
Secondly, are you also minimizing the toggles, I tried it on the standard file system. I redid the togglex.bmp smaller but had to keep the original .bmp size. While I could get smaller ones to display, the space allotted them on screen was still too big and you cannot overlap them without display issues appearing.
Third, was DEVO the test model name or is it displaying the Protocol?
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
spin-button:
<Item>
spin-press button:
<<Item>>
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
I wouldn't change the regular button. Leave it as '()'. I'm saying you may have to throw away the current concept that a spin-press box is just a concatenation of spin and press boxes.FDR wrote: That's not a good idea, because then the simple buton would be <item>, which is the same as the nonpressable spinbox...
You know, all you need to do is askWheresWaldo wrote: One thing I saw above and really like was the TX Battery and TX Power on the same line at the top. Can it be placed in any position with your mods? I never liked that the Power was below the battery on the Deviation screen and you cannot move it.
I've implemented the ability to move (or remove) the TxPower and Battery indicators on the main page. This is 128x64 only for now, and it looks kinda ugly on the layout page due to interfering with the 'Move' label. I'm not sure what to do about that yet.
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Development
- Devo 10/7E small UI (updated 1st post)