ColorCube: Navigating and Selecting Colors in the Context of an RGB Color Cube

+- HP Forums (http://www.hpmuseum.org/forum)
+-- Forum: HP Software Libraries (/forum-10.html)
+--- Forum: HP Prime Software Library (/forum-15.html)
+--- Thread: ColorCube: Navigating and Selecting Colors in the Context of an RGB Color Cube (/thread-1560.html)



ColorCube: Navigating and Selecting Colors in the Context of an RGB Color Cube - Jsather - 06-06-2014 04:27 PM

The possible colors of an RGB Pixel can be thought of as a color cube with edges aligned on red, green, and blue axis. ColorCube draws the color cube in slices, and allows you to navigate about and select colors within the context of the color cube.

ColorCube Rem is heavily remarked and causes syntax errors due to comments in the middle of certain commands. I'm attaching it only for program documentation. ColorCube NoRem has no remarks and compiles without error.

ReadMe ColorCube.docx describes operation. Also, the Help key is active and offers a basic overview. The ReadMe file was originally .rtf. The Web page wouldn't allow attachment of an .rtf file for some reason so I did a quick save as Word file. Please let me know if the ReadMe file gives any trouble.

I've attached screen captures showing examples of Course and Fine Mode. I had trouble getting these at first but managed it eventually via judicious placement of a FREEZE command.


RE: ColorCube: Navigating and Selecting Colors in the Context of an RGB Color Cube - Jsather - 06-21-2014 02:54 PM

(06-21-2014 12:10 AM)Joe Horn Wrote:  The Help screen for the ICON command (firmware rev 6030) includes this tantalizing sentence:

"Note that in an application program, if the name of a 38*38 ICON is ICON then this graphic will be used as the application icon!"

Has anybody gotten this to work?
Following J.Horn's tip, I used DimGrob Helper to draw a simple 38x38 Icon named "ICON" and convert it to text. I verified the text is good with the attached program, TestIcon, which yields the attached screenshot.

I am working on a custom App named MyColors based on the Spreadsheet App. The attached MyColors.txt file is a program using the same icon text as used in TestIcon. The presence of this code does not modify the App Menu icon for MyColors. It still displays the standard spreadsheet icon. I'm hoping someone who reads this might be able to modify MyColors.txt so that my Icon is substituted for the spreadsheet icon as the MyColors icon on the App Menu.