http://wxwidgets.blogspot.com/2007/11/hildonizing-wxgtk.html
http://maemogeek.blogspot.com/2007/12/wxgtk-working-on-maemo.html
I've spent the past few days trying to further modify wxWidgets to behave nicely on Maemo 4.x; here are some results from the dialogs sample. I'll post the details of my changes and some library binaries soon, once I've cleaned them up a bit. From what I can tell, wxWidgets is getting an incorrect impression of the window space available in normal (non-fullscreen) mode, seeing 720x420 pixels, when it's supposed to be seeing 696x396. I had to modify the TopLevelWindow code to return 696x396 if it thinks it's 720x420, and that keeps the widgets on the screen... Full screen seems behaved. A key issue is that the wxPosition for windows should be (0,0) or weird things will happen (I think since Hildon windows don't have visible borders, it just looks offset...). The dialogs look like they're working OK.
The file and directory widgets seem to crash the dialogs sample when launched in the simulator, but not on the n800.
Without further ado, here are some screenshots, from the actual n800 (instead of the simulator):
I needed to convert all of the HildonColorSelector stuff to HildonColorChooserDialog stuff. The color choosing dialog seems to work well. However, the GTK one is actually pretty cool and might be better...
Font selection works (barely fits) ... if you increase the font size too much it starts to cover up the scroll bars, however.
This should probably be replaced with the Hildon file dialog ... this one has a tendency to barely fit, and also doesn't present the user-friendly Nokia filesystem, instead showing a standard Unix layout...
Notifications work surprisingly well ... I couldn't really capture the 'request attention' one but it looks like the application icon is pulsing.
So, that's where I'm at. Thanks.
-Robert
2 comments:
This is pretty impressive. Keep up the good work. Also, do you know of any planned ports for python with the n8x0 and wxwidgets?
Hey, thanks. You might want to check this out:
http://n770.herraiz.org/archives/25
Post a Comment