app, libgimp: rename GIMP_LAYER_MODE_NORMAL to NORMAL_LINEAR

and NORMAL_NON_LINEAR to NORMAL, so it's consistent with all other
modes.
This commit is contained in:
Michael Natterer
2017-01-28 21:38:52 +01:00
parent cdfbc74297
commit 5389e8e417
14 changed files with 43 additions and 43 deletions

View File

@ -62,7 +62,7 @@ gimp_get_layer_mode_function (GimpLayerMode paint_mode)
switch (paint_mode)
{
case GIMP_LAYER_MODE_NORMAL:
case GIMP_LAYER_MODE_NORMAL_NON_LINEAR:
case GIMP_LAYER_MODE_NORMAL_LINEAR:
func = gimp_operation_normal_process;
break;

View File

@ -1687,7 +1687,7 @@ static inline GimpBlendFunc gimp_layer_mode_get_blend_fun (GimpLayerMode mode)
case GIMP_LAYER_MODE_SUBTRACT: return blendfun_subtract;
case GIMP_LAYER_MODE_MULTIPLY_LINEAR:
case GIMP_LAYER_MODE_MULTIPLY: return blendfun_multiply;
case GIMP_LAYER_MODE_NORMAL_NON_LINEAR:
case GIMP_LAYER_MODE_NORMAL_LINEAR:
case GIMP_LAYER_MODE_NORMAL: return blendfun_normal;
case GIMP_LAYER_MODE_BURN_LINEAR:
case GIMP_LAYER_MODE_BURN: return blendfun_burn;