Icons - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: HP Prime (/forum-5.html) +--- Thread: Icons (/thread-3827.html) |
Icons - salvomic - 05-13-2015 10:13 PM where to find icons for the Apps? What parameters must they have? Thank you Salvo RE: Icons - Tim Wessman - 05-14-2015 12:34 AM 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: RE: Icons - mandresve - 05-14-2015 01:06 AM Nice Feature! Thanks. [attachment=1970] RE: Icons - salvomic - 05-14-2015 09:00 AM (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 RE: Icons - Mic - 05-14-2015 10:12 AM Very nice trick ! RE: Icons - iconmaster - 05-14-2015 07:08 PM It seems the new custom icons almost handles alpha correctly... 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. RE: Icons - Tim Wessman - 05-14-2015 07:54 PM It handles transparency ON/OFF (is a region fully transparent). Since we are 16bit on the system though, you can't do alpha. |