Feb. 26, 2024
7:04 p.m.
Jeffrey Smith (@whydoubt) commented about dlls/gdiplus/gdiplus_private.h:
> +typedef enum EffectType {
> + NoneEffect,
> + BlurEffect,
> + SharpenEffect,
> + TintEffect,
> + RedEyeCorrectionEffect,
> + ColorMatrixEffect,
> + ColorLUTEffect,
> + BrightnessContrastEffect,
> + HueSaturationLightnessEffect,
> + ColorBalanceEffect,
> + LevelsEffect,
> + ColorCurveEffect,
> +} EffectType;
> +
> +typedef struct CGpEffect{
Based on looking at the surrounding code...
1. I believe the convention is to just use `struct` rather than `typedef struct`
2. `GpEffect` seems more consistent here than `CGpEffect`.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/4661#note_62693