Hi Ariel,

Le 11 nov. 07 à 23:36, Ariel Lepor a écrit :

An optional iWork style would be an awesome thing, and it would almost bring iWork to other platforms for free, as well. I could make icons similar to the ones used in iWork, but someone else would need to create an alternate gui code for the toolbars. Is this realistic?


I proposed something during Barcelona OOoCon2007, helped with Robert Dargaud, who had the initial idea. The only problem we had, was because the proposed solution is Mac OS X only, and not multi platform like what Novell presented in parallel.

Curiously, nobody, excepted Novell people, considered that seriously, and some journalists concentrated on Aqua output date instead.


Since, without support and feedback, I gave up working on that solution.

But I now Novell works extremely seriously on a new scheme ( using some of our ideas if I understood correctly) for automatic layout. Means: Mac OS X would take over the graphical layout, instead of OpenOffice.org ( old code, outdated, framework , whatever ... ). Let's wait and see.


The original idea ( presented two years ago by Robert during 1st Mac porters meeting Hamburg, nov 2005) was to use .src files who define the look of every (not exactly all, because some are Java defined) dialog boxes

Currently, the .src files are, using some black magic, turned into .res files, containing everything including the graphical layout, with button size, positions. Not good at all, because not system managed, and resolution dependant.


A clean (begining of ) solution could consist in

1) turn every .src file into .xml  (a parser already does exist )

2) adapt the .xml to renaissance .xml format : in runtime, Renaissance does automagically the Aqua layout ( size, position, including everything from the system ).

Means we simulate .nibs, everything is correctly positionned, and we have *real* Cocoa windows for ~everything. Including all icons aqua like, by default.


3) NOT solved yet : bind all controls, and callbacks , strings.

This is a lot of work, probably much bugs to come, but would be a great step forward for the Asua port.

Maybe somebody can complete, correct me, confirm... etc



Eric Bachard

--
qɔᴉɹə




Reply via email to