Slashdot Mirror


Aqua Mozilla OK with Apple

MikeMo writes: "Turns out Apple thinks an Aqua Mozilla is OK, after all. Eric Yang had a chat with them and they made up." This is an update to this story.

1 of 314 comments (clear)

  1. Code exists to do this in the mozilla tree by lordpixel · · Score: 5, Interesting
    Mac OS will create a button for you, if you ask it, but, like most modern OSes it will also just "draw" a button without any of the logic behind it, there is an API for that sort of thing.

    So you get the look of a button without any of the native widget.

    I once spent some time with a guy at netscape implementing a new protocol which basically took advantage of that.

    You wrote something like:

    theme://button?title=OK

    and it returned a GIF containing a perfect looking OK button in the present Mac OS theme, be that Platinum on OS 9 or Aqua on OS X.

    The code to do this is here:
    http://lxr.mozilla.org/mozilla/source/netwerk/prot ocol/theme/

    Finshing this work would allow very high quality Aqua themes, as it wouldn't be "as" emulated. The OS would be drawing all of the controls.

    This would also satisfy Apple - they don't really care about Aqua themes so much as making sure those themes *only* work on Mac OS. As the theme: protocol needs native code to work, it will only run on Mac OS (9 or X)

    The theme protocol might also be needed on Linux (window manager theme support) and to do Windows XP properly.

    --

    Lord Pixel - The cat who walks through walls
    A little bigger on the inside than out