Re: Custom NSWindow drawing
Re: Custom NSWindow drawing
- Subject: Re: Custom NSWindow drawing
- From: PCWiz <email@hidden>
- Date: Sat, 2 Jan 2010 11:44:52 -0700
Thanks for the suggestions. What I have in mind is just a standard NSWindow, but with a few tweaks to integrate it better with NSStatusItem. I'll first try the child window method. The only reason I dont want to completely draw the whole window is that resizing is not easily implemented with a custom window.
Independent Cocoa Developer, Macatomy Software
http://macatomy.com
On 2010-01-02, at 4:07 AM, John Joyce wrote:
>
>
> On Jan 2, 2010, at 4:43 AM, email@hidden wrote:
>
>> Custom NSWindow drawing
>> To: email@hidden
>> Message-ID: <email@hidden>
>> Content-Type: text/plain; charset=us-ascii
>>
>> I want to draw an NSWindow that looks similar to this:
>>
>> http://vibealicious.com/site/apps/notify/screenshots/mainUIFull.png
>>
>> In that it has a typical NSWindow appearance with the bottom bar and such, but instead of a title bar at the top, I want to draw a little arrow.
>>
>> Is there a simple way to do this? Do I have to draw the entire window by hand (bottom bar and all) ? Or can I slightly modify the existing NSWindow layout to just draw that arrow at the top? Thanks
> Before attempting this, please read the HIG (Human Interface Guidelines)
> It is best to keep apps consistent with the mac user experience wherever possible.
>
> What u see in the picture shouldve been a menu by UI/UX conventions.
>
> That said, what you want to do is a bit involved and you would do well to google a few open source projects.
>
> A true window on os x has a titlebar which conveys very conventional user infomation and functionality.
>
> It is rare that a highly unusual UI will be more than gimmicky and truly functional + well purposed._______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden