The gradients (Cycling or not) are now per-picture, so: The main and spare page have separate gradients; Loading a picture resets the gradients and loads the new image's (if any); Undo and Redo correctly navigate to the right gradients when you Undo/Redo Loading different color-cycling images.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1600 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
@@ -781,8 +781,6 @@ GFX2_GLOBAL Func_gradient Gradient_function;
|
||||
/// either ::Pixel (if the gradient must be drawn on menus only)
|
||||
/// or ::Display_pixel (if the gradient must be drawn on the image)
|
||||
GFX2_GLOBAL Func_pixel Gradient_pixel;
|
||||
/// Settings for all gradients
|
||||
GFX2_GLOBAL T_Gradient_array Gradient_array[16];
|
||||
/// Index in ::Gradient_array of the currently selected gradient.
|
||||
GFX2_GLOBAL byte Current_gradient;
|
||||
/// Boolean, true when the color cycling is active.
|
||||
|
||||
Reference in New Issue
Block a user