imtk
diff src/listbox.c @ 19:11da537aeba6
blah
author | John Tsiombikas <nuclear@siggraph.org> |
---|---|
date | Tue, 26 Apr 2011 22:53:21 +0300 |
parents | 737e9047d9c9 |
children | c7a7ddbe7714 |
line diff
1.1 --- a/src/listbox.c Mon Apr 25 08:54:05 2011 +0300 1.2 +++ b/src/listbox.c Tue Apr 26 22:53:21 2011 +0300 1.3 @@ -155,15 +155,17 @@ 1.4 attr |= IMTK_FOCUS_BIT; 1.5 } 1.6 1.7 + imtk_draw_disc_frame(x + rad, item_y + rad, rad * 0.9, rad * 0.75, 5, FRAME_INSET); 1.8 + 1.9 memcpy(tcol, imtk_get_color(IMTK_BOTTOM_COLOR | attr), sizeof tcol); 1.10 memcpy(bcol, imtk_get_color(IMTK_TOP_COLOR | attr), sizeof bcol); 1.11 - 1.12 - imtk_draw_disc(x + rad, item_y + rad, rad * 0.8, 5, tcol, bcol); 1.13 + imtk_draw_disc(x + rad, item_y + rad, rad * 0.75, 5, tcol, bcol); 1.14 1.15 if(i == sel) { 1.16 attr |= IMTK_SEL_BIT; 1.17 memcpy(tcol, imtk_get_color(IMTK_TOP_COLOR | attr), sizeof tcol); 1.18 memcpy(bcol, imtk_get_color(IMTK_BOTTOM_COLOR | attr), sizeof bcol); 1.19 + 1.20 imtk_draw_disc(x + rad, item_y + ITEM_HEIGHT / 2, rad * 0.6, 5, tcol, bcol); 1.21 } 1.22