Author Topic: Accessing GUI images  (Read 2382 times)

edwinbradford

  • Newbie
  • *
  • Posts: 46
    • View Profile
Accessing GUI images
« on: July 30, 2004, 03:46:06 pm »
Because I need to retain the Japanese CRIM support on my C700 I'm limited to Sharp based Roms and having tried the Sharp, Cacko and theKompany Roms have settled on the original Sharp one. I much preferred theKompany Rom, it was faster and leaner with no out of memory problems and had by far the best interface but I found out after installing it that it doesn't function properly on the C700. (See also my post http://www.zaurus.com/dev/board/index.php?act=ST&f=6&t=7701 )

So, a Nand restore later and back to the Sharp Rom I'm trying to copy over as many graphic elements from theKompany Rom as possible. Icons, tab images and theme-able elements like scroll bars are easy enough by editing .theme and .desktop files but my question is -- how can I access other graphics like the icons at the foot of the screen (battery, volume control), folder icons, etc?
« Last Edit: July 30, 2004, 04:52:38 pm by edwinbradford »

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
Accessing GUI images
« Reply #1 on: July 31, 2004, 08:19:29 am »
All of the "graphics" for the Z live in either /home/QtPalmtop/pics or /home/QtPalmtop/pics144, most of the applets have hard coded icons (ie you can't select a new image, but you can change the name of the image you want to the name thay are looking for). Same goes for the folder icons I think.

Search through the pics144 folder, most of the names are pretty obvious, change the pic, restart qtopia and see the difference .

Use strings on the applet binaries and grep for png or pics and you should be able to find out the name of the icon it uses (if it isn't obvious)

The volume control icon is volume.png, the folder icon is slfolder_1.png (I think), the battery icon seems to be drawn by the applet itself.

Hope that helps

Stu
« Last Edit: July 31, 2004, 08:37:15 am by Stubear »
SL-C1000, Hand converted to English with Japanese Input
Running X apps via X/Qt
iRiver USB host cable; Diatec P-Cord usb power cable (extendable); Acro's Reel Cable USB (A to A, B, Mini-B,  & Mini-B 8pin); GreenHouse 1Gb PicoDrive+; 2x256Mb Hagiwara SD cards; 128Mb Transcend CF card; 512Mb PQI CF card; AmbiCom WL1100C-CF 11B WLAN card

edwinbradford

  • Newbie
  • *
  • Posts: 46
    • View Profile
Accessing GUI images
« Reply #2 on: August 02, 2004, 10:02:10 am »
Thanks StuBear, there's something odd about the forum here as it doesn't notify me of replies so sorry for the delay. I ended up pretty much doing what you suggest and when things went wrong there's great advice in the unofficial FAQ here about how to restore files in the Terminal.

It's really coming on well and I'm finding I can customize just about everything, I'll try your grep command, I havent used it before but there are plenty of Unix glossary sites online.

PsionX

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
Accessing GUI images
« Reply #3 on: August 03, 2004, 04:58:40 pm »
Quote
All of the "graphics" for the Z live in either /home/QtPalmtop/pics or /home/QtPalmtop/pics144, ....
... the folder icon is slfolder_1.png (I think).....
Stu
Cacko.. good rom with some personnal icons...
\"Beaune Avaux\" wine addict

edwinbradford

  • Newbie
  • *
  • Posts: 46
    • View Profile
Accessing GUI images
« Reply #4 on: August 03, 2004, 05:27:37 pm »
I tried Cacko but I wasn't particularly impressed, the interface was only part finished in places and compared to the tkcRom was a bit amateurish I thought, plus I read somewhere that it eats RAM and that's a complete no no on my C700. I'd have to find and reinstall the Japanese CRIM input files and language assets on any custom English ROM so I've just settled on the default Sharp Rom which is OK once you customise that ugly interface though I'd be happier without the intermittent out of memory messages.