Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fullscreen mode and widgets to line_clock app #3381

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

deepDiverPaul
Copy link
Contributor

The line_clock app now has a fullscreen mode configurable through settings. The visible widgets are adjusted according to the screen mode set by the user. A new function 'drawWidgets' has been introduced to facilitate this feature.

The line_clock app now has a fullscreen mode configurable through settings. The visible widgets are adjusted according to the screen mode set by the user. A new function 'drawWidgets' has been introduced to facilitate this feature.
deepDiverPaul referenced this pull request Apr 24, 2024
The `settings` object has been renamed to `initialSettings` for better clarity as these values represent the initial, default settings. Also, the code to remove the clock UI has been commented out, possibly signaling future work on applying the Fast Load system, but this needs to be confirmed. Lastly, calling settings to draw locking and minute indicators has been updated to call the renamed `initialSettings` object.
Copy link
Collaborator

@bobrippling bobrippling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! One small point about restore widgets

if(isFullscreen()){
widget_utils.hide();
} else {
Bangle.drawWidgets();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here can we use widget_utils.show() to undo any other changes it might've made?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants