Am 03.08.2010 um 00:31 schrieb Tony Romano:
Changing the argument to the correct flag gets me the button, however,
setting the style doesn't have any effect. I moved the code to
initWithContentRect: post the call to super, still no change. I introspected
the view with F-Script and it has
Thanks Uli, couldn't see the forest through the trees! This is how I
implemented it and it seems to work quite well.
- (id)initWithContentRect:(NSRect)contentRect styleMask:(NSUInteger)windowStyle
backing:(NSBackingStoreType)bufferingType
I have an NSPanel and I want to change the look of the min button and
completely hide the resize button. The min button I want to make into a bezel
style of a disclosure triangle. I am using this line of code to access the min
button but it returns nil in my controllers' windowDidLoad.
On Aug 2, 2010, at 2:47 PM, Tony Romano tony...@hotmail.com wrote:
NSButton *minButton = [[self window]
standardWindowButton:NSMiniaturizableWindowMask];
You're using the wrong flag here. You want one of the NSWindowButton flags. See
the documentation for -standardWindowButton:.
The
On Aug 2, 2010, at 4:47 PM, Tony Romano wrote:
I have an NSPanel and I want to change the look of the min button and
completely hide the resize button. The min button I want to make into a
bezel style of a disclosure triangle. I am using this line of code to access
the min button but it
Im not trying to disregard the HIG. The panel is the basis for an inspector(s)
for properties for a drawing application. Looking at other well known
applications, it seemed there is precedence. If that precedence is wrong, I
won't follow it. Please advise.
-Tony
On Aug 2, 2010, at 2:58
Thanks, I totally misread that.
Changing the argument to the correct flag gets me the button, however, setting
the style doesn't have any effect. I moved the code to initWithContentRect:
post the call to super, still no change. I introspected the view with F-Script
and it has the bezel
On Mon, Aug 2, 2010 at 3:31 PM, Tony Romano tony...@hotmail.com wrote:
Changing the argument to the correct flag gets me the button, however,
setting the style doesn't have any effect. I moved the code to
initWithContentRect: post the call to super, still no change. I introspected
the
All the buttons are really called WSThemeWidgets which supports your suspect of
custom draw code. So using the zoom button won't make a difference( I tried it
as well). I'm trying to change the minimize button to a disclosure triangle
that will show/hide the inspector currently being
On Aug 2, 2010, at 15:31, Tony Romano wrote:
Changing the argument to the correct flag gets me the button, however,
setting the style doesn't have any effect. I moved the code to
initWithContentRect: post the call to super, still no change. I introspected
the view with F-Script and it
Honestly guys, I have no devious motives here ! :-) I am not trying to take
any shortcuts, I am just trying to learn the correct way to do things. There
are programs such as Photoshop, OmniGraphSketcher that do similar things. For
this UI, I am trying to follow precedence. I know the Omni
On Mon, Aug 2, 2010 at 4:16 PM, Tony Romano tony...@hotmail.com wrote:
Honestly guys, I have no devious motives here ! :-) I am not trying to take
any shortcuts, I am just trying to learn the correct way to do things. There
are programs such as Photoshop, OmniGraphSketcher that do similar
Thanks Kyle, I've reviewed the inspector code.
I've thought about the toolbar viz button and wondered how hot the flames would
be under my feet for changing the way a standard button behaves :-) That's
one thing I admire about Apple, consistency is the high order bit. At least my
original
On Aug 2, 2010, at 16:16, Tony Romano wrote:
Honestly guys, I have no devious motives here ! :-) I am not trying to take
any shortcuts, I am just trying to learn the correct way to do things. There
are programs such as Photoshop, OmniGraphSketcher that do similar things.
For this UI, I
Ok, seems like there is no middle ground between using straight cocoa and a
custom titlebar.
Not sure if I can picture a solution using a NSOutlineView, seems orthogonal to
what I am trying to achieve. If you go to Omni website and install the trial
version of OmniGraphSketch and look at
Hi Tony,
From what you describe, a custom view and/or panel/window utilizing a
disclosure triangle sounds like your best approach.
A bit of work, but the process will be enlightening and rewarding and will pay
dividends further down the line when you need to expand the app...
On Aug 2, 2010,
16 matches
Mail list logo