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

Change red traffic light button when document is edited #155

Open
jarek-foksa opened this issue Apr 7, 2014 · 4 comments · May be fixed by #167
Open

Change red traffic light button when document is edited #155

jarek-foksa opened this issue Apr 7, 2014 · 4 comments · May be fixed by #167

Comments

@jarek-foksa
Copy link

When [window isDocumentEdited] returns YES then the red traffic light button should contain a small circle inside it.

@indragiek
Copy link
Owner

Are you seeing this with the default traffic light buttons or are you specifying custom images for them?

@jarek-foksa
Copy link
Author

@indragiek I'm specifying custom images as demonstrated here: https://gist.github.com/jarek-foksa/10618949. If I find some free time next month I'll try to implement this feature.

@indragiek
Copy link
Owner

@jarek-foksa Yeah, this is pretty difficult to implement as an automatic thing because the red circle style may or may not work depending on what your traffic light images look like. IMO the best thing to do would be to add another image property to INWindowButton to be shown when the document is edited, so you can customize it to make it look the way you want.

@jakepetroules
Copy link
Contributor

Yeah, I think an editedImage property on INWindowButton would make sense.

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 a pull request may close this issue.

3 participants