Post Reply 
Icons
05-13-2015, 10:13 PM
Post: #1
Icons
where to find icons for the Apps?
What parameters must they have?

Thank you

Salvo

∫aL√0mic (IT9CLU), HP Prime 50g 41CX 71b 42s 12C 15C - DM42 WP34s :: Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
05-14-2015, 12:34 AM (This post was last modified: 05-14-2015 12:36 AM by Tim Wessman.)
Post: #2
RE: Icons
To add an icon, the application file should have a name of "icon.png". You can either make it on the device by doing something like DIMGROB_P(G1,38,38); RECT(G1,RGB(255,255,0)); AFiles("icon.png"):=G1 (giving you a plain yellow square for your icon).

You can also use the connkit. Right click on an application in the tree, do the add icon option, pick a picture file, it will resize it down to 38x38pix and create an icon.png for you.

When the application is sent (you need to edit something in the app itself and then save, not just add a file) your icon will show up. Here's an example:

[Image: icon_example.png]

TW

Although I work for the HP calculator group, the views and opinions I post here are my own.
Find all posts by this user
Quote this message in a reply
05-14-2015, 01:06 AM
Post: #3
RE: Icons
Nice Feature! Thanks.

   

Success is the ability to go from one failure to the next without any loss of enthusiasm.
View PNG/JPG in your Prime
Visit this user's website Find all posts by this user
Quote this message in a reply
05-14-2015, 09:00 AM
Post: #4
RE: Icons
(05-14-2015 12:34 AM)Tim Wessman Wrote:  When the application is sent (you need to edit something in the app itself and then save, not just add a file) your icon will show up. Here's an example:

hi, I know the man in the example :-)

thanks, very useful; also graphic is important for a better experience with the Prime...
I'm trying with some images.

Salvo

∫aL√0mic (IT9CLU), HP Prime 50g 41CX 71b 42s 12C 15C - DM42 WP34s :: Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
05-14-2015, 10:12 AM (This post was last modified: 05-14-2015 10:34 AM by Mic.)
Post: #5
RE: Icons
Very nice trick !

[Image: ico_perso.png]

http://mic.nic.free.fr - Youtube - Facebook
Find all posts by this user
Quote this message in a reply
05-14-2015, 07:08 PM (This post was last modified: 05-14-2015 07:11 PM by iconmaster.)
Post: #6
RE: Icons
It seems the new custom icons almost handles alpha correctly...

[Image: G7apNV2.png]

Also, the fact that I can make things go from PNG to grobs automatically is REALLY NICE. It makes PNG import/export with HPPL a snap, for one. This will also lower the memory cost for images in apps; no more ICONs! While I suggest keeping ICON around, it IS nice.
Find all posts by this user
Quote this message in a reply
05-14-2015, 07:54 PM
Post: #7
RE: Icons
It handles transparency ON/OFF (is a region fully transparent). Since we are 16bit on the system though, you can't do alpha.

TW

Although I work for the HP calculator group, the views and opinions I post here are my own.
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)