andrew0 / cocoshop

Visual editor for cocos2d
Other
181 stars 30 forks source link

Sprites & Info Windows #28

Open psineur opened 13 years ago

psineur commented 13 years ago

Since we use NSScrollView for handlind CSMacGLView now, it's probably possible to have Info & Sprites windows as sidebars, and not as always on top windows. It's really frustrating to having them always on top, when working on small display.

@andrew0, i will assign this to you without any milestone, if you don't mind. Because i don't know AppKit at all, and starting hating it due to NSScrollView+NSGLView love, so it will be cool if you will do this.

Without you, this issue will planed for 0.2, but i think we should give users few very polished features, and Sidebars or something like that for Sprites & Info are really needed.

psineur commented 13 years ago

BTW after editing some properties of Panels - they work good. They capture focus only when needed and there's no problem with them now. Anyway, since @andrew0 is working on new GUI on develop branch now - i move this issue to 0.2

psineur commented 13 years ago

I will develop further with old GUI - i :heart: floating panels. Labeled "experimental", "newGUI", removed from 0.2 milestone.

andrew0 commented 13 years ago

I think it would be best to keep one project - how about I make a preference window and you can choose if you want to have floating panels?

psineur commented 13 years ago

Yes, I think we should do this. It will be better to have multiple nibs for different interfaces. Also, before merging experimental branch into develop - we need to test it, to be sure that it's fully operational.

Best Regards, Stepan

15.07.2011, в 22:46, andrew0reply@reply.github.com написал(а):

I think it would be best to keep one project - how about I make a preference window and you can choose if you want to have floating panels?

Reply to this email directly or view it on GitHub: https://github.com/andrew0/cocoshop/issues/28#issuecomment-1581938

psineur commented 13 years ago

@andrew i would like to refactor cocoshop with NSCoding + KVC + ObjC Runtime soon. So it will be easier for me if you will work now only on fixing experimental-newGUI and preparing it for the merge with develop.

I will try to merge safe changes from experimental to develop. I will not touch experimental branch, but you can checkout these files from develop:

The idea is to make diff develop..experimental-newGUI as small as possible, so it will be a lot easier to merge it later.

Also, i suggest you to move all new GUI windows/views/etc to the new xib file(or multiple files), with keeping old MainMenu.xib. It's impossible to understand the diff of xib file, so it with old MainMenu.xib we will need to spend less time for testing interface - we will need to test only new interface, not new & old.

psineur commented 13 years ago

Removed 'experimental' & 'newGUI' labels. Added 'experimental-newGUI' label instead.