File selector: display preview no longer changes GUI colors when the image uses less than 253 colors. Fixes many cases of issue 215, and generally allows much smoother browsing.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1592 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
@@ -55,3 +55,6 @@ void Set_clipboard_colors(int nb_colors, T_Components *colors);
|
||||
/// @param start_color Index of first color to replace
|
||||
/// @return Number of colors retrieved (0-256)
|
||||
int Get_clipboard_colors(T_Palette palette, byte start_color);
|
||||
|
||||
/// Get the favorite color to use for GUI's black,dark,light or white.
|
||||
const T_Components * Favorite_GUI_color(byte color_index);
|
||||
|
||||
Reference in New Issue
Block a user