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

Add color property to Scale9Image #30

Closed
jamikado opened this issue Apr 11, 2012 · 4 comments
Closed

Add color property to Scale9Image #30

jamikado opened this issue Apr 11, 2012 · 4 comments

Comments

@jamikado
Copy link

I actually have a real world set of cases where I use a scale-9 based skin that is white/greyscale based and want to set a color property that then gets applied to the nine child Images (similar to the smoothing property you currently expose)

(think custom slider skins for RGB sliders in a color panel)

The default color would have to be 0xffffff like Quad since it needs to support changing in an additive way though not everyone may want it set by default so maybe you want a way to expose the child images directly or a setter-only color property that only optionally gets applied when called...

@joshtynjala
Copy link
Member

Good suggestion.

@joshtynjala
Copy link
Member

Added color property to Scale9Image and TiledImage, and it's in the new Scale3Image.

@jamikado
Copy link
Author

Sweet thanks! Any plans to add a Scale25Image to round out the triumverate? :)
http://theorynine.com/labs/the-power-of-scale-25/

@joshtynjala
Copy link
Member

Yowza, that's the first I've heard of Scale-25. Interesting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants