Skip to content

Added title support for the menu #8

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

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open

Added title support for the menu #8

wants to merge 13 commits into from

Conversation

Tijgerd
Copy link
Contributor

@Tijgerd Tijgerd commented Jun 24, 2019

Added another menu-method with support for a title and sub-title
Using this method instead of the other will remove the "hint" at the bottom of the menu.
I created this method as a first step to simplify the file-selection menu
(which contains code that needs to be in another .cpp file, like Adafruit_Arcada_Alerts.cpp).

@Tijgerd
Copy link
Contributor Author

Tijgerd commented Jul 18, 2019

@ladyada I know bumping is not really a nice thing to do for a PR.. but... (small) bump :)

@ladyada
Copy link
Member

ladyada commented Jul 18, 2019

hiya we had to refactor this library. can you show me what the new menus look like, a picture?

@ladyada
Copy link
Member

ladyada commented Jul 18, 2019

can u have just one function for menus, you can add the menutitle at the end of the param list, so it defaults to something (rather than 2 nearly identical functions)

@Tijgerd
Copy link
Contributor Author

Tijgerd commented Jul 19, 2019

Just ordered the PyGamer, will fix this as soon as I can after receiving the package :)

I tested the added title and sub-title support!
In the previous commit, the menu-items weren't moved down enough (x-axis)
Will upload photos (or EXTREME-awesome-paint-pro images) to the PR
@Tijgerd
Copy link
Contributor Author

Tijgerd commented Jul 25, 2019

image
I tested this and it works like a charm :)
Keep in mind that I only tested this with a max of 4 menu-items, don't know what the menu will do when the menu is too big.
But I think that is something for a new PR

@ladyada
Copy link
Member

ladyada commented Jul 25, 2019

ok will review this next time we're working on this library!

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