imtk
diff src/progress.c @ 15:6893b4dca5a3
added gradients on the selection
author | John Tsiombikas <nuclear@siggraph.org> |
---|---|
date | Tue, 19 Apr 2011 05:10:09 +0300 |
parents | df2bc9406561 |
children | c7a7ddbe7714 |
line diff
1.1 --- a/src/progress.c Tue Apr 19 03:01:46 2011 +0300 1.2 +++ b/src/progress.c Tue Apr 19 05:10:09 2011 +0300 1.3 @@ -24,7 +24,7 @@ 1.4 memcpy(tcol, imtk_get_color(IMTK_BOTTOM_COLOR), sizeof tcol); 1.5 memcpy(bcol, imtk_get_color(IMTK_TOP_COLOR), sizeof bcol); 1.6 1.7 - /* through */ 1.8 + /* trough */ 1.9 imtk_draw_rect(x - b, y - b, PROGR_SIZE + b * 2, PROGR_HEIGHT + b * 2, tcol, bcol); 1.10 imtk_draw_frame(x - b, y - b, PROGR_SIZE + b * 2, PROGR_HEIGHT + b * 2, FRAME_INSET); 1.11