![]() |
#1 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Jan 2008
Device: iLiad
|
![]()
Hi,
Is there any way to add new icons to the toolbar ? (new PNG image, new icon ID) I found the file toolbar.xml which contains declaration of all toolbar icons. I added a new icon to this file but nothing happened. I copied the file to different locations, rebooted iLiad many times. In order to append the icon to the toolbar, I call tbAppendPlatformIcon with the icon ID "iconID_forward + 1" (i.e. 67) and it shows : "(W)mb-applet-icon-container.c:193,doAppendPlatformIcon() Illegal arguments: uaID (1), iconID (67), nIcons (67)" nIcons always equals 67, no matter how many icons I add to toolbar.xml. Also, I saw that the header liberipc/eripctoolbar.h contains enum of all icons IDs. As we can't rebuild that, we will not be able to add any icon to the toolbar ? Thanks |
![]() |
![]() |
![]() |
#2 |
Addicted to Porting
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
I'm not sure in what program you're trying to do this, or in the general contentlister.
But it should be possible in 3rd party programs. The community iPDF with bookmark support does this. Take a look at that code to see how. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Jan 2008
Device: iLiad
|
I'm trying to do this in iPDF.
For bookmark support, new icons are actually already existing ones : iconID_bookmark and iconID_sort Their IDs are in the header liberipc/eripctoolbar.h |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
LrfAppender: IE toolbar similar to "Toolbar for Librie" | mumurik | LRF | 1 | 10-13-2009 04:01 AM |
LrfAppender: IE toolbar similar to "Toolbar for Librie" | mumurik | Sony Reader Dev Corner | 1 | 10-06-2009 03:33 AM |
Toolbar icons | yingwu | iRex | 3 | 06-17-2009 12:20 PM |
Sony Reader Icons, Other Reader Icons and much more! | TheHeartlessHero | Deals and Resources (No Self-Promotion or Affiliate Links) | 27 | 11-21-2008 06:21 AM |
iLiad Toolbar icons | tomchek | iRex Developer's Corner | 6 | 07-30-2007 11:13 AM |