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

Use STATIC_ITEM for static text #2

Merged
merged 0 commits into from
Jul 1, 2016

Conversation

thinkyhead
Copy link

@thinkyhead thinkyhead commented Jun 30, 2016

The PR MarlinFirmware#3662 adds a STATIC_ITEM macro to ultralcd.cpp that works within the menu system to display a non-interactive line of static text. This gains us 2 spaces since there is no cursor display. The cursor still exists, so you can scroll the display. The cursor cannot move above the 4th display line (on a 4-line display). Thus, if you scroll to the top, there is no "dead spot" where it will not scroll.

This also makes the feature optional, and disabled by default.

Since static items are non-interactive, we explicitly check for a click to return to status.

@thinkyhead thinkyhead force-pushed the rc_birkett_info_menu branch from e908050 to 60f05e4 Compare June 30, 2016 18:50
@birkett birkett merged commit 60f05e4 into birkett:info-menu Jul 1, 2016
@thinkyhead thinkyhead deleted the rc_birkett_info_menu branch July 1, 2016 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants