Pavel Janík wrote:
> Hi again,
>
> I updated my patch for native menus and fixed almost
all problems Stephan
> found (thanks again :
You're welcome !
> http://tmp.janik.c
z/OpenOffice.org/MacOSX/menus-working/aquavcl01-complete-men
us-20060729.diff
>
> Differences are described below.
[...]
> - using properties instead of RefCons to pass
back-pointers (user data)
Who is taking care of the properties ? I mean who deletes
the resources
needed to store them. Is it the menu items ?
> - removing mnemonics ("~") from menu items
> - RemoveItem now works
>
> - I added menu item "Remove itself from
menu" as a demo in svdem
It's always a good strategy to test what you've
implemented...
>
>
> My current TODO regarding menus and aquavcl01:
>
> - fix bHandleAllCurrentEvents handling (compare with
Windows
> implementation)
Just ask if you have problems here.
>
> - resync aquavcl01 (implement or fake
GetDisplayScreenCount and
> GetDisplayScreenPosSizePixel)
>
> - setting menu bars according to active menu
(svtool's svdem)
What does that mean exactly ? Sending of activate events ?
>
> - frames without menu bar should display empty
application menu part
> of system menu bar (SetRootMenu and NULL or ?)
>
Would be cool to have the defaults like Hide
<appname>, Hide Others and
the Services submenu in place...
> - investigate crash in svdem's Calendar - popup
menus
>
Is this triggered by the native menu stuff ? May be those
are popups
without a menubar and you're relying on one ?
> - have a look at tooltips provided by Carbon Menu
Manager - can they be
> useful? Low prio.
>
> - menu activation and deactivation events + example
code for svdem to
> print something
Sounds good ! I'd like to see some of the bits checked in!
Stephan
------------------------------------------------------------
---------
To unsubscribe, e-mail: mac-unsubscribe porting.openoffice.org
For additional commands, e-mail: mac-help porting.openoffice.org
|