[haiku-commits] Re: r41055 - haiku/trunk/src/apps/showimage

On Mon, 21 Mar 2011 22:56:27 +1300, Stephan Assmus <superstippi@xxxxxx> wrote:


p.s. Again, I'm all for a space efficient combined menu/toolbar solution
after R1. Not sure how to make it good looking and consistent, though.
Mock-up's are welcome.
I agree that integrating the tool bar functionality into the menu bar may be a good idea (BMainMenuBar?). Perhaps an object which combines two individual functionalities in an automatic way. I would like to have a BAction or similar API, which can be used to manage menu items and tool bar entries via a single object representing the action. Future stuff like BTextDocument could export BActions which an embedding application can put into the GUI. I think this API would need reference counting, and is probably an R2 thing when we make more infrastructure and utility classes available to applications.

Just found these two links in a German news page article (prolinux) which could be interesting in this content. Without judgement:

http://blog.martin-graesslin.com/blog/2011/03/menu-button-inside-window-decorations/
http://ppenz.blogspot.com/2011/03/menu-bars.html

cheers,
        Clemens

Other related posts: