> > Do you know if the widget stuff must be implemented or is there some > > generic widget code that uses the gfx backend? Hmm, but input...
Take a look at the Photon (QNX) and Qt implementations. It looks like the simpler widget implementations. Perhaps they implement only a generic widget (nsWidget or nsCommonWidget), that receives events and sends it back to the Gecko. We must implement interfaces for things like Clipboard (should be easy) and Drag'nDrop (fear), too. Don't fear about nsLookAndFeel, as it only have to return colors and metrics that Gecko will use when drawing its own widgets. Perhaps nsFilePicker, present both in Qt and Photon implementations, isn't needed at all, as Gecko has its own fallback filepicker implementation. > Text rendering IMHO will be the hardest part, glyph handling, CSS > style information... That and keeping multiple font glyphs in memory > at the same time. Take a look at gfx/*/ns*FontMetrics.cpp implementations. Doesn't see to be so complex. Perhaps we only have to give to Gecko the fontmetrics and a way to write the glyphs into the screen, and they manage all the other things. _______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
