I have a patch on bug 4974 <https://bugzilla.osafoundation.org/show_bug.cgi?id=4974> that implements the new markup bar:

You can try this Mac binary with this patch already applied:

I posted about it to my Chandler blog too:


The patch has some issues and I was hoping I could get a few ideas here. In place of MenusAndToolbars.Toolbar I am using ContainerBlocks.BoxContainer, but I am wondering if that  is the correct class to use. I just want an empty (and transparent) container to hold the buttons.

Here are some symptoms of this markup bar:

When the buttons are clicked, they all disappear and -- after a pause in which errors about C++ objects being gone are printed out -- they get redrawnin the correct state. I wonder if I should override OnLeftUp() to check the C++ object to see if it's still there?

The background of the bar is white. This has to be ContainerBlocks.BoxContainer drawing something, right?



Any advice gratefully received. I'd like to check this in, but I just don't think it's ready yet. :-/

Reid

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "chandler-dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/chandler-dev

Reply via email to