Create an account on the HP Community to personalize your profile and ask a question
01-01-2019 05:28 PM
Please, a little help with GROBs.
I'd like to place a 100x100 pixels logo on the graphic screen in HP PPL and I'm stuck in the point where I'm supposed to place the A1R5G5B5 list.
I've already saved my picture as a X1R5G5B5 .bmp file. But now, how could I have it as a 16bit chars list?
In older discussions over the net I found apps like "DIMGROB Generator" or "GraphicCreate". Are there such resources available for Mac OS?
Solved! Go to Solution.
01-01-2019 10:38 PM
I would not use direct loading of grobs using ICON keyword. It is much better to make your program into an app and use PNG files directly. That was always meant to be a stopgap and there are much better methods now.
Although I work for the HP calculator group as a head developer of the HP Prime, the views and opinions I post here are my own.
01-02-2019 04:46 AM
I've already figured out that ICON might be outdated, since it works but there's nothing about it in recent manuals. I assume it's still there to keep old programs working, but it's not meant to be used in new developments.
You tell about making my program into an app. I can see through HP Connectivity kit that an app is a bundle of things that include files.
Could you please point me toward the steps to make an app? How to build the structure of an app? How to include files?
Thank you very much.
01-02-2019 01:59 PM
I didn't even give you enough time to answer about app, but I've already found enough information in the Internet.
It's rather simple to create an app from scratch (I mean without using an native App as support). The embedded idle program template is awesome. By giving tips about the program capabilities, it guides the user how to proceed. Very good job!
I've used AFiles() to place a .png into a GROB. Is this the best way? Would you recommend something else?
01-10-2019 11:25 PM
Start from any App you want (Function is the default, Lots of people use the Triangle solver of the Explorer because they are the smallest apps).
Make a copy of it, and "start" the app.
Then go to program catalog and edit the app program (on the top of the list). If the app program is empty, it should auto load with the app template program and all should be OK. If not empty, clear it and try again....
To change your app icon, create a 32*32 (from memory) png file called icon.png and bundle it with your app.
01-11-2019 04:23 AM
thanks a lot. I see that in newer firmwares it‘s possible to „Save“ an existing app as a totally blank (but with commented function templates!) new app by selecting „None“ as the Base App! That‘s cool and helps.