I know of three frameworks that provide controls for use in HUD windows (in
order of recommendation):
BWToolkit - http://www.brandonwalkin.com/bwtoolkit/
BGHUDAppKit - http://www.binarymethod.com/bghudappkit/
HMBlkAppKit - http://shiira.jp/hmblkappkit/en.html
Thanks a lot to both.
Hi again,
I'd like to add some widgets in a HUD window, like, for example, a small pop-up
button, with a non-white menu background, small non-black text, etc. How can I
achieve this? By subclassing NSPopUpButtonCell?
Thanks,
Vincent
___
Cocoa-dev
I know of three frameworks that provide controls for use in HUD windows (in
order of recommendation):
BWToolkit - http://www.brandonwalkin.com/bwtoolkit/
BGHUDAppKit - http://www.binarymethod.com/bghudappkit/
HMBlkAppKit - http://shiira.jp/hmblkappkit/en.html
Cheers,
Dave
On Apr 16, 2010, at
On Fri, 16 Apr 2010 22:43:23 +0200, vincent habchi said:
I'd like to add some widgets in a HUD window, like, for example, a small
pop-up button, with a non-white menu background, small non-black text,
etc. How can I achieve this? By subclassing NSPopUpButtonCell?
Yes. Or take a look at this:
I didn't pull my code from Chromium, I just noticed in my googling that they
used the undocumented method that is required to get the mouse over effects to
work.
I ended up sticking with the standard Cocoa buttons that NSWindow provides for
my custom window as it requires the least amount of
I have a custom window (NSBorderlessWindowMask) that requires using the
standard close/minimize/zoom buttons.
NSWindow's standardWindowButton:forStyleMask: method works great for creating
these buttons and adding to my custom (frame) view. However, the mouse over
effect does not work without
On Jan 20, 2010, at 9:43 AM, Kevin Wojniak wrote:
NSWindow's standardWindowButton:forStyleMask: method works great for creating
these buttons and adding to my custom (frame) view. However, the mouse over
effect does not work without using undocumented methods. Mainly, overriding
Hi all,
I want to use the same widgets as the OS uses for its windows (red,
yellow and green dots) for a status bar in my application, like IB
does to indicate sync status with XCode. This is to reflect the
connection status (red == not connected, green connected etc.) in
mine. Is there
Does this help?
standardWindowButton:forStyleMask:
--Andy
On Oct 17, 2008, at 12:46 PM, Andre Masse wrote:
Hi all,
I want to use the same widgets as the OS uses for its windows (red,
yellow and green dots) for a status bar in my application, like IB
does to indicate sync status with
Oh yeah! Looks like its exactly what I need!
Thanks a lot,
Andre Masse
On Oct 17, 2008, at 13:07, Andy Lee wrote:
Does this help?
standardWindowButton:forStyleMask:
--Andy
On Oct 17, 2008, at 12:46 PM, Andre Masse wrote:
Hi all,
I want to use the same widgets as the OS uses for its
One thing to point out is that there is no guarantee that those
window widgets will continue to be red, yellow and green dots in a
future OS release. Or that someone won't patch -
standardWindowButton:forStyleMask: as part of a haxie for skinning
the UI, in which case you could end up
On Fri, Oct 17, 2008 at 1:41 PM, Steve Christensen [EMAIL PROTECTED] wrote:
I would suggest either tracking down a
set of images you like and then include them in your app's bundle, or
rolling your own. Fewer chances for surprises that way.
If you want the widgets that are in the upper-left
, yellow and
green dots used (currently) as window widgets so that he could use
them as status images:
I want to use the same widgets as the OS uses for its windows (red,
yellow and green dots) for a status bar in my application, like IB
does to indicate sync status with XCode
On Fri, Oct 17, 2008 at 2:04 PM, Steve Christensen [EMAIL PROTECTED] wrote:
The OP's request was for a way to get ahold of the red, yellow and green
dots used (currently) as window widgets so that he could use them as status
images:
In that case I extend my comment to include the following
of the
screen, then this is precisely what you should not do.
+standardWindowButton:forStyleMask: is THE way to get the standard
window controls. Mimicking them yourself is wrong.
The OP's request was for a way to get ahold of the red, yellow and
green dots used (currently) as window widgets so that he
, yellow and
green dots used (currently) as window widgets so that he could use
them as status images:
I want to use the same widgets as the OS uses for its windows
(red, yellow and green dots) for a status bar in my application,
like IB does to indicate sync status with XCode
No offence :-)
Anyway, I end up rolling up my own. Couldn't get at the NSImage from
the button. Was much quicker to draw them ;-)
Thanks,
Andre Masse
On Oct 17, 2008, at 18:51, Andrew Merenbach wrote:
Hi! With all due respect, I think that you might run into a
potential trouble area
17 matches
Mail list logo