Closed avaidyam closed 11 years ago
Use INAppStoreWindow to draw your titlebar and add a subview to the content view to draw the content background. That would cover everything.
Oh, this would make sense, but I'm trying to reproduce a HUD window, so wouldn't this break?
If you want an HUD window with transparency you'll need to create a borderless, transparent NSWindow so you can't use INAppStoreWindow.— Indragie Karunaratne
On Mon, May 13, 2013 at 9:44 AM, galaxas0 notifications@github.com wrote:
Oh, this would make sense, but I'm trying to reproduce a HUD window, so wouldn't this break? On Monday, May 13, 2013, Indragie Karunaratne wrote:
Use INAppStoreWindow to draw your titlebar and add a subview to the content view to draw the content background. That would cover everything.
— Reply to this email directly or view it on GitHubhttps://github.com/indragiek/INAppStoreWindow/issues/105#issuecomment-17820430 .
Aditya.
Reply to this email directly or view it on GitHub: https://github.com/indragiek/INAppStoreWindow/issues/105#issuecomment-17824225
@galaxas0 You cannot use INAppStoreWindow
to create an HUD window. Try this, perhaps.
That was precisely my thought, but I love what INAppStoreWindow offers. Oh well!
The main idea behind INAppStoreWindow
is to provide some way to extend the existing titlebar and add content to it.
If you don't want to go borderless you can always swizzle the drawing of the theme frame, which will effectively give you a completely transparent window.
I didn't want to go that route, but I guess I must.
How would I go about styling the whole window's body? Is that even possible using just
INAppStoreWindow
?