Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

iancapable

macrumors 6502
Original poster
Oct 4, 2006
279
0
London, United Kingdom
Hi! I'm trying to pick up objective-c, lots of things I like and don't like so far, but not bad overall :)

Now down to business, because I hate pgadmin III so much I want to develop one with cocoa (I'm actually quite adept with a bit of code here and there - 22 languages to be exact), I've choses a sort of dreamweaver - photoshop style look with panel windows for tool bar and tree, then using a tab view in the main window for results/queries etc.

What I would like to do is rip off one very nice thing in dreamweaver - the top toolbar panel has it's window decoration on the side... I WANT IT! Does anyone know if this is possible? I think it seems I may have to do it manually? Is there a control available to do this? I promise to share my app!

Also any icon set suggestions would be appreciated, I'm planning on keeping this free and open.
 

kainjow

Moderator emeritus
Jun 15, 2000
7,958
7
Can you post a screenshot of what you're referring to in Dreamweaver?

For free icons, try here (variety of sizes, styles), here (16x16), here (OS X style 32x32), and here (OS X 32x32). Oh, and check out here.
 

iancapable

macrumors 6502
Original poster
Oct 4, 2006
279
0
London, United Kingdom
Can you post a screenshot of what you're referring to in Dreamweaver?

For free icons, try here (variety of sizes, styles), here (16x16), here (OS X style 32x32), and here (OS X 32x32). Oh, and check out here.

erm I'm at work and don't have one (As I use linux at work). It kinda looks like a normal panel window (with smaller decorations) but instead of the decorator being on the top it's on the side. GRR I'll post a screenshot when I get home.

I really like the second set of icons, they're perfect! You're a star! :)
 

kainjow

Moderator emeritus
Jun 15, 2000
7,958
7
Are you referring to windows that have the title bar on the side? There is no direct support for that in Cocoa, but Carbon supports it. I fiddled with it for a little bit and got it partially working. I posted my results on CocoaDev.

I would suggest not going this route since it's not supported directly in Cocoa. And from what I could tell, the window you create is a Carbon window (behaves slightly differently than Cocoa windows).

Stick with a standard NSPanel.
 

iancapable

macrumors 6502
Original poster
Oct 4, 2006
279
0
London, United Kingdom
Are you referring to windows that have the title bar on the side? There is no direct support for that in Cocoa, but Carbon supports it. I fiddled with it for a little bit and got it partially working. I posted my results on CocoaDev.

I would suggest not going this route since it's not supported directly in Cocoa. And from what I could tell, the window you create is a Carbon window (behaves slightly differently than Cocoa windows).

Stick with a standard NSPanel.

Thanks, that was what I was looking for, but I would personally like it to be cocoa as I can't be arsed to go down the carbon route (if I did, I would end up using C++ and that means I don't get to learn anything fun).
 

kainjow

Moderator emeritus
Jun 15, 2000
7,958
7
Thanks, that was what I was looking for, but I would personally like it to be cocoa as I can't be arsed to go down the carbon route (if I did, I would end up using C++ and that means I don't get to learn anything fun).

Well not everything can be handed to you free of charge :) If you're developing in Cocoa, expect to use Carbon occasionally. But I'd stick with my original advice, use a standard NSPanel to avoid headaches.
 

iancapable

macrumors 6502
Original poster
Oct 4, 2006
279
0
London, United Kingdom
Well not everything can be handed to you free of charge :) If you're developing in Cocoa, expect to use Carbon occasionally. But I'd stick with my original advice, use a standard NSPanel to avoid headaches.

I might have to, or at least subclass it ;)

I quite like the toolbar panel in Photoshop CS3
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.