Here is an update on the Inkface library. But before that let me give a background of the project for the benefit of new readers that will be reading this post via Planet Maemo.
Inkface is an SVG based GUI framework. Unlike the desktops - where GUI components need to be keyboard/mouse friendly; the handheld GUIs need to be finger friendly. Therefore the handheld GUI components should be naturally manipulatable - like parts of an image. Therefore inkface provides a framework in which, GUI is composed in an image editor like Inkscape, instead of rigidly coded in the program. The various elements of SVG image are presented as python objects to the programmer who can then write his program logic using these elements as widgets.
The current version of inkface uses pycairo for vector graphics rendering and uses pygame as backend surface to draw on. A clutter backend is in the plans.
With that background, let me show a demo of an app that I designed (in Inkscape) and coded (in python) using inkface-pygame library v0.2.2. It's a twitter client. The demo shows how the GUI can be changed vastly by merely changing the SVG files and doing no change in the code at all. (the --theme option tells the app to just use a different set of SVG files) The first one is the default theme and the later has a vintage look.
Subscribe to:
Post Comments (Atom)
2 comments:
Neat. I wonder how the performance on N8x0 is. Maybe you can post a video of this app running on your N810?
Also, is there some way of having an on-screen keyboard for N800 users?
> Maybe you can post a video of this app running on your N810?
I am definitely going to post a video of this running in Dialo SDK. However, unfortunately I have lost my n810 to a pickpocketer last month :(( [I know. It's hard to get over]
I am trying to see if I can get inkface-pygame working on my Neo Freerunner, that will at least give me some feel of how it performs on real hardware.
I will release the deb packages for all to try and hopefully someone will report back after trying it on their n810.
> on-screen keyboard for N800 users?
Yeah sure. I have designed virtual keyboards with every version of inkface. For the inkface-pygame there is a simple animated keyboard with three themes available under tests directory (inkface-pygame/tests/keyboard.py)
Post a Comment