Old thread is old, but having read this one as well as
CHDK Forum » CHDK Development » Feature Requests » Palette editorand
CHDK Forum » CHDK Development » General Discussion and Assistance » Universal color palette for CHDKthis seems to be the most appropriate spot given the title (the original post was lost in a rampage, it seems
)
From my understanding, much of what was discussed in those threads was ultimately implemented in CHDK.
An optional define of CAM_LOAD_CUSTOM_COLORS in platform_camera.h for each camera lets CHDK know
that the palette should be overwritten, a CHDK_COLOR_BASE define sets
where the palette should be overwritten (in slots that are (assumed to be) unused), and a function
load_chdk_palette() gets called to actually perform the overwriting duty, typically 13 palette slots in fairly fixed colors. There doesn't appear to be any forum or assembla discussion of why the 13, and why the colors chosen, but obviously they're colors used by CHDK for e.g. menus and some OSD elements.
So to update the question a little bit - would it be possible to add more colors to this typical set of 13?
Specifically, I was hoping for some more subtle transparent colors for Grids. On my camera, black with 50% transparency is as 'subtle' as it's going to get. I realize that the answer in my specific case may very well be 'yes'; if adjusting the source myself and compiling it - which is a reasonable suggestion, but if it's at all possible that such a change could find its way into general builds, that may be interesting to others as well.