Time to imitate Apple's standard controls again! We would like to add a title bar in our windows, which is similar to the ones visible in Xcode, that is, something like the old-fashioned Placard in the old Appearance library, which is located between the toolbar and the contents of the window.
Any suggestions that would be the most reliable approach?
Ideally, you would like something like
NSXcodeHeaderBar *hrdBar = [[NSXcodeHeaderBar alloc] init];
[hrdBar setBackgroundStyle: [NSBackgroundStyle NSRoundRectBackgroundStyle]];
[hrdBar drawWithFrame: popUpRect inView: controlView];
[hrdBar release];
to capitalize on consistent styles .. is there a control that is appropriate so that we can abuse part of the drawing?
Or do we need to try colors and do our own NSGradient thing? Potentially with a switch for each major OS version to keep up with Apple styles?
Any thoughts appreciated!
Cheers, Jay