Replies: 2 comments 7 replies
-
@Ralim As you already know: Programming-wise I accept everything gratefully, no matter which solution you prefer. 😀 For the graphics: |
Beta Was this translation helpful? Give feedback.
-
After having read through this one more time, I totally agree, with what you are heading for here:
I don't know if that makes more sense (or that even matters here), but I think 'debug menu' was somewhat out of place. 😊
|
Beta Was this translation helpful? Give feedback.
-
With the new S60 and TS101 its has become apparent that the industry is moving to higher resolution displays.
At the moment these are physically similar sized displays,so its really just a DPI increase to allow better quality graphics.
96x16 -> 128x32 is a 1.3x/2x increase so cant trivially scale in firmware nicely. (I tried, its ugly).
How is best to handle this?
The quick and hacky way is just
#ifdef
everywhere we draw to the screen and swap in logic for the different screen sizes.However what I'm thinking (and where I would love feedback) is to move this to a pre-compile task like what was done with Translations, where we build the appropriate data only. This means we could have some definition file that defines what is drawn and were on the screen as a big definition of "screens". Then this pre-compile logic can handle different screen layouts and DPI etc.
I've come to this sort of vibe after thinking about the fact we dont have that many different screen layouts:
On top of this, we can use the script to pre-render fonts at the right dpi for each screen.
So I'm sort of loosely thinking about some form of API on the firmware side that is basically:
OLED::DrawLayout(LayoutEnum layout, param1,param2...);
And we generate layout drawing cpp from the definitions files.
The definition files will need a bit of thought, but roughly thinking they define things being drawn, with entries for both resolutions.
For Fonts, I'm currently tempted to just render all 3 at "current" and scaled size for now. But super open to ideas on how to best handle this. I dont think we should rush to double the information density just as we have higher vertical resolution, as its just getting too damn small 🤣
@discip I would love your thoughts on this especially.
Also, would you be open to making an updated home screen picture at the higher resolution potentially?
Beta Was this translation helpful? Give feedback.
All reactions