-
Notifications
You must be signed in to change notification settings - Fork 32
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 new UI gadgets #95
Merged
Merged
Conversation
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
agrojean-ledger
force-pushed
the
add-ui-gadgets
branch
from
November 15, 2023 16:11
5e2d480
to
16b82c5
Compare
agrojean-ledger
force-pushed
the
add-ui-gadgets
branch
from
November 16, 2023 09:33
93886a1
to
5c9e70d
Compare
agrojean-ledger
force-pushed
the
add-ui-gadgets
branch
from
November 16, 2023 09:54
5c9e70d
to
9879ff4
Compare
agrojean-ledger
force-pushed
the
add-ui-gadgets
branch
from
November 16, 2023 10:59
89d7333
to
b02a271
Compare
agrojean-ledger
force-pushed
the
add-ui-gadgets
branch
from
November 16, 2023 11:20
b02a271
to
41bf18a
Compare
yogh333
approved these changes
Nov 16, 2023
…dencies in Cargo.toml
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Add two new UI gadgets :
MultiPageMenu
to display menus with pages that can have various styles :MultiPageMenu
new
function takes anio::comm
as parameter so itsshow
function can return a page index (in case of user "both button press") or any other event upon reception. It allows for any APDU to be received and processed when a menu is displayed.MultiFieldReview
to review multiple fields with a review message at the start and validation/cancel messages at the end. Theshow
function returns a boolean upon validation/cancellation by the user.