The function remaps the color palette in HI to other palette.
HOBJ in colorPalette1,
HOBJ in toColorPalette2
The color palette that will be remapped.
The color palette to which other palette will be remapped.
It is useful to use the function if we need to change the color appearance of the application (skinnability).
The color palette is remapped by calling the% HI_RemapColorPal function.
The recommended use is to implement the application (or part of it) through a single color palette (for example, an application-defined FP_NORMAL palette). Subsequently, during run (throughout the HI process), the use of this palette can be changed (for example, the application-defined FP_BLUE palette) to change colors.
If the remapping effect (applicable to the FP_NORMAL palette) needs to be canceled, the second function parameter must match the first one.
The function allows you to remap or use a system color palette when mapped, if the value of parameter 0 is at the appropriate position.