Re: Faenqomod new title.xml file
thanks for your replies. Is there any advantage of pic vs png vs svg. My guess would be that the first is the fastest, before png and svg being the slowest but the only one that does a proper scaling eg when the device is put in landscape mode? I am also asking because I am not quite happy with the speed of my keyboard. If one is typing fast the letter poping up lags behind the actual key press sequence. This is not so if I use navit's keyboard (but that on the otherhand only changes the background of the key from black to grey, which is also a nice idea to give feedback on keypresses) best regards robin ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Faenqomod new title.xml file
Is there any advantage of pic vs png vs svg. My guess would be that the first is the fastest, before png and svg being the slowest but the only one that does a proper scaling eg when the device is put in landscape mode? The pic files are generated, IIRC, by compiling a theme or the entire QtMoko (see QtMoko and/or QtExtended documentation). If you don't want to compile a theme (i.e. the way I work, copying/pasting the right files in the right locations, it seems to be the easy way) then it's difficult to manage pic files (to date, I didn't find a software capable to open them; if there is one please tell me!), so you have to use other format. The scaling does not depend only on the file format, if you have a big image you can scale down it and stretch it as you wish with a proper xml code. The svgs are the only file that are possible to deform without loosing quality but they are the heaviest. So it's better to work with the svgs only to create the final pngs, and using the latters in the theme, with proper dimensions that allow good scaling. If you notice the files in a theme, they are only pngs and pics, positioning and scaling are delegated to the xmls. But there is only one exception (due to a bug I suppose) that requires svg: the pin box buttons. Joif ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Faenqomod new title.xml file
On Sunday, July 01, 2012 06:49:49 PM adrien wrote: Hi community, I'm pleased to show my hacks on the faenqomod to have new wifi and gps buttons in the title bar (taken from finxi theme) and to be able to always show/mask keyboard. Hi Adrien, nice, i will take a look at it/commit and make packages. Thanks a lot Radek ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Faenqomod new title.xml file
hi adrien, do you use some special software (qt designer, ...) to do the layout edits? or do you have any hints on how to get started with the theme editing? best regards robin ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Faenqomod new title.xml file
l 03/07/2012 11:19, robin ha scritto: do you use some special software (qt designer, ...) to do the layout edits? or do you have any hints on how to get started with the theme editing? A theme is made of xml files and images in svg or png (or the exotic .pic format). You can simply use a text editor to manipulate the xml and a software such as inkscape to make the images for the icons and other parts of a theme. You can find the xmls in /opt/qtmoko/etc/themes/ . If you follow the discussion on MokoFaen v2 theme, you can download all the file you need to start studying and hacking the theme ;) Regards Joif ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Faenqomod new title.xml file
hi, Le mardi 03 juillet 2012 à 11:36 +0200, francesco.dev...@mailoo.org a écrit : l 03/07/2012 11:19, robin ha scritto: do you use some special software (qt designer, ...) to do the layout edits? or do you have any hints on how to get started with the theme editing? A theme is made of xml files and images in svg or png (or the exotic .pic format). You can simply use a text editor to manipulate the xml That's exactly what I've done : I used nano to edit the xml file and restart some times the service qtmoko-neo to see changes. a software such as inkscape to make the images for the icons and other parts of a theme. I didn't modified icons, but I've just copied some existants from finxi (the icon directories are in /opt/qtmoko/pics/themes). Regards, Adrien ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Faenqomod new title.xml file
Hi community, I'm pleased to show my hacks on the faenqomod to have new wifi and gps buttons in the title bar (taken from finxi theme) and to be able to always show/mask keyboard. I've also removed the clock in the title, because I don't need to always see the hour and, if I want, I just need to push AUX button to see the time in the home screen. One more change : the keyboard button has now a smaller width but a larger height. I think that's better for fingers, but I've only tried with mine :) So feedback is appreciated. You can see two screenshots here : https://www.adorsaz.ch/public/faenqomod.png https://www.adorsaz.ch/public/faenqomod2.png The new title.xml file is here : https://www.adorsaz.ch/public/title.xml Finally, you'll need to copy gps-on.pic, gps-fix.pic and wifi-enabled.pic from /opt/qtmoko/pics/themes/finxi to /opt/qtmoko/pics/themes/faenqomod. I'm very happy to be able to hack QtMoko so easily with xml and svg files (for themes and keyboard), really thanks QtMoko/QtExtended/Qtopia developpers ;) Regards, Adrien Dorsaz ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community