-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
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
progress display followup #24879
Merged
thinkyhead
merged 22 commits into
MarlinFirmware:bugfix-2.1.x
from
EvilGremlin:m73followup
Dec 7, 2022
Merged
progress display followup #24879
Changes from 9 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
52dc829
test
EvilGremlin a5e5d47
Merge branch 'bugfix-2.1.x' of https://github.com/MarlinFirmware/Marl…
EvilGremlin f17982e
fixes-tweaxes
EvilGremlin 6e86e81
flto
EvilGremlin 4fc7f87
desc
EvilGremlin 3518998
less RAM usage and hopefully less math in DOGM
EvilGremlin 2562f2a
cleanup, maintain defaults
thinkyhead 14fcf1d
remove dead code, use stack to free up SRAM
thinkyhead 1182389
Two more screens to implement
thinkyhead 323f586
make DOGM retain laset string
EvilGremlin 2a1cbef
cleanup
EvilGremlin e83fefc
(UNTESTED!) TFTGLCD rotate_progress
EvilGremlin 76269ce
TFTTGLCD buffer to stack
EvilGremlin 24e834c
oops
EvilGremlin 16c99d9
44780 xxx/xx hour cleanup
EvilGremlin 3fad9f0
right config defaults
EvilGremlin eb9bb39
ditch prusa format
EvilGremlin e6f2725
fixups
thinkyhead 04695b5
Merge branch 'MarlinFirmware:bugfix-2.1.x' into m73followup
EvilGremlin 9d20cdb
Merge branch 'bugfix-2.1.x' of https://github.com/MarlinFirmware/Marl…
EvilGremlin fc78e02
Merge branch 'm73followup' of https://github.com/EvilGremlin/Marlin i…
EvilGremlin 57d839b
Merge branch 'bugfix-2.1.x' into pr/24879
thinkyhead File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -366,6 +366,8 @@ void MarlinUI::draw_status_screen() { | |
); | ||
} | ||
|
||
// TODO! | ||
|
||
// | ||
// Elapsed time | ||
// | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that with the regular DOGM display there are several calls per update to redraw the screen. This
first_page
flag indicates that we're drawing the first "stripe" in the screen update. Any expensive calculations or string composition is done here so that they only happen once per screen update. To optimize the actual draw operations, we useif (...) { ... }
withPAGE_OVER
,PAGE_UNDER
, andPAGE_CONTAINS
to check whether the thing we're drawing is within the current stripe, and if not then drawing is skipped.