INAppStoreWindow icon indicating copy to clipboard operation
INAppStoreWindow copied to clipboard

Change red traffic light button when document is edited

Open jarek-foksa opened this issue 10 years ago • 4 comments

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

jarek-foksa avatar Apr 07 '14 16:04 jarek-foksa

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

indragiek avatar Apr 13 '14 19:04 indragiek

@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.

jarek-foksa avatar Apr 14 '14 05:04 jarek-foksa

@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.

indragiek avatar Apr 14 '14 14:04 indragiek

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

jakepetroules avatar Apr 15 '14 03:04 jakepetroules