Open azuwis opened 7 years ago
Yes Aplite version is currently not supported with this version. The TimeStyle Pebble source code for aplite is manage totally separately than others pebble watch version.
I must have a look on this specific aplite source code to see how many differences there is with the new version and if I can easily integrate my new code.
Aplite platform is now included in 0.9.0 version. I have ported bottom/top sidebar implementation to this platform
You can download it here : https://github.com/plarus/TimeStyleBBPebble/releases/tag/0.9.0
Thanks!
Installed 0.9.0, and found two different from the screenshot here:
See the following, the right one was taken by me:
The classic pebble watches have various limitation. So I had to made simplification on my implementation:
Aplite timestyle app uses png images for each clock digit. For newer pebbles watches the timestyle app use pebble-fctx graphics library (https://github.com/jrmobley/pebble-fctx) for clock time display. So as I do not want to create and add new png images with a different digit size I have used the bigger available font size for clock time display.
For aplite bottom bar I always display four widgets. On the others app versions 1, 2, 3 or 4 widgets can be displayed. May be can I port this same behavior to this aplite version.
I just published a new version. Aplite get now the same widget management than for other Pebble! Still not enough memory for using pebble-fctx. But it's should be possible (just need more work...)
@plarus Yeah, moving to FCTX was what forced me to separate out the Aplite codebase unfortunately
Yes that is what I have supposed. I think is may be possible by doing several RAM memory optimization:
I made the 2 following optimizations:
But still not enough RAM to use FCTX on APlite...
@azuwis: can you test this version (timestyle-bb-pebble 1.1.1_DRAFT_aplite_20180311.zip)?
This version know use FCTX as all modern pebble! For this version I had to load each FCTX font character one by one.
timestyle-bb-pebble 1.1.1_DRAFT_aplite_20180311.zip works pretty well on Pebble Steel.
Weather: Current
works, but Weather: Forecast
does not work, display nothing.
It may be a problem of GadgetBridge, not TimeStyleBB's fault.
Good news! I do not see why it would work for "current" and not for "forecast" even with GadgetBridge. For "Weather: Forecast" you only get this display : "..."?
It does not display ...
, it displays nothing literally, see the following screenshots.
I get the same result on the simulator. But good news it is not a bug. It is a functionality!
If the total height of your 3 widgets is too high to be displayed ==> The middle widget is hidden.
#define COMPACT_MODE_THRESHOLD 142
bool hide_middle_widget = (totalHeight > COMPACT_MODE_THRESHOLD);
It is not a new feature. You should get the same result with older version.
Is this functionality only available on TimeStyleBB? Because on the original TimeStyle, I can get Weather: Current
Weather: Forecast
Today's day
displaying at the same time, see the following screenshot.
One thing I notice is that on the original TimeStyle, month is missing on the Today's day
widget.
This functionality is from orignal timestyle application but was only available for modern Pebble version. After reflexion this "hide_middle_widget" does not have much interest. If the user only want 2 widget he just have to configure this 2 widgets. If the user configure 3 widgets ==> application only have to found the best way to display them.
Analysis: Screen height = 168 This Aplite draft threshold = 142 Original Timestyle threshold = 168 - 8*2 - 3 = 149
Date widget height: Compact 41 (without month display) Compact Large font 42 Normal 58 Large font 62
Current Weather widget height: Normal 42 Large font 44
Forecast Weather widget height: Normal 60 Large font 63
=> So in your case: Normal = 58 + 42 + 60 = 160 pixels Compact = 41 + 42 + 60 = 143 pixels
With the 142 threshold => compact mode is always too big for the 3 widgets display.
So i should set the threshold to 149. And I will set the following behavior when the threshold is reached :
Normal Mode => Compact Mode => Compact Mode + Compact Padding
With the compact padding we now have 157 pixels (168 - 4*2 - 3) for widgets display. Currently enough for all situation.
Tried to install
timestyle-bb-pebble.0.8.1_20171015.pbw
using GadgetBridge on my Pebble Steel(firmware 3.12), and got:Compare to original TimeStyle pbw file from Pebble appstore, and find the following files are missing in the pbw archive:
Please support the aplite platform.