diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-06-24 18:54:18 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-06-24 18:54:18 +0000 |
| commit | 1e882b62718e4d6a4a149b415964646ad424fbfd (patch) | |
| tree | f343e172bf81826e5303391e0056f7e9a5851e7b /render/theme.c | |
| parent | dc60657acf0511855d4844a872c9266fc1e63fc9 (diff) | |
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.
Diffstat (limited to 'render/theme.c')
| -rw-r--r-- | render/theme.c | 6 |
1 files changed, 0 insertions, 6 deletions
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) |
