From 1e882b62718e4d6a4a149b415964646ad424fbfd Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 24 Jun 2003 18:54:18 +0000 Subject: made all the gradients work with integer math. removed the pipecross and rectangle gradietns tho cuz they are ugly and i dont want to code that bullshit cuz they are ugly. --- render/theme.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'render/theme.c') diff --git a/render/theme.c b/render/theme.c index 7e45b86f..4f86c8d0 100644 --- a/render/theme.c +++ b/render/theme.c @@ -871,14 +871,8 @@ static void parse_appearance(gchar *tex, RrSurfaceColorType *grad, if (strstr(tex, "gradient") != NULL) { if (strstr(tex, "crossdiagonal") != NULL) *grad = RR_SURFACE_CROSS_DIAGONAL; - else if (strstr(tex, "rectangle") != NULL) - *grad = RR_SURFACE_RECTANGLE; else if (strstr(tex, "pyramid") != NULL) *grad = RR_SURFACE_PYRAMID; - else if (strstr(tex, "pipecross") != NULL) - *grad = RR_SURFACE_PIPECROSS; - else if (strstr(tex, "elliptic") != NULL) - *grad = RR_SURFACE_PIPECROSS; else if (strstr(tex, "horizontal") != NULL) *grad = RR_SURFACE_HORIZONTAL; else if (strstr(tex, "vertical") != NULL) -- cgit v1.2.3