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

Toggleable SquareButtons #74

Merged
merged 2 commits into from
Jan 10, 2014
Merged

Toggleable SquareButtons #74

merged 2 commits into from
Jan 10, 2014

Conversation

ezweave
Copy link
Contributor

@ezweave ezweave commented Jan 9, 2014

Now you can use a SquareButton like a toggleable button. Either all setToggleable directly or in the builder.

Matt Weaver and others added 2 commits January 9, 2014 09:55
@@ -241,6 +256,20 @@ public void handleEvent(Event e) {
setTraversable(true);
}

void doButtonClickedColor() {
Copy link
Contributor

Choose a reason for hiding this comment

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

toggleButtonClickedColor?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Well it does the button clicked color for both states so that would be a lil bit misleading.

@sesteel
Copy link
Contributor

sesteel commented Jan 9, 2014

It looks like a button being toggleable could use some testing love at some point.

@ezweave
Copy link
Contributor Author

ezweave commented Jan 10, 2014

Yeah, I intend to add tests next, I just wanted to get this into Ben's hands for the prototype.

@blimmer
Copy link
Contributor

blimmer commented Jan 10, 2014

I went ahead and opened #75 so we don't forget the testing.

@blimmer
Copy link
Contributor

blimmer commented Jan 10, 2014

Looks good.

blimmer added a commit that referenced this pull request Jan 10, 2014
Toggleable SquareButtons
@blimmer blimmer merged commit dacb106 into ReadyTalk:master Jan 10, 2014
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.

3 participants