297 |
gdk_cairo_rectangle(cr, &draw_rect); |
gdk_cairo_rectangle(cr, &draw_rect); |
298 |
cairo_fill(cr); |
cairo_fill(cr); |
299 |
|
|
300 |
/* just a note, nothing else */ |
/* add "special" addon. the order of these test results in */ |
301 |
|
/* a priority */ |
302 |
GdkPixbuf *addon = NULL; |
GdkPixbuf *addon = NULL; |
303 |
if((celltype->type & 7) == 4) // only note is set |
if(celltype->type & 8) // mine is set |
304 |
addon = icon_get(CUSTOM_ICON_TYPE, 13); |
addon = icon_get(CUSTOM_ICON_TYPE, 14); |
305 |
if((celltype->type & 7) == 5) // only note and override are set |
else if(celltype->type & 2) // solved is set |
|
addon = icon_get(CUSTOM_ICON_TYPE, 11); |
|
|
if(celltype->type & 2) // solved is set |
|
306 |
addon = icon_get(CUSTOM_ICON_TYPE, 12); |
addon = icon_get(CUSTOM_ICON_TYPE, 12); |
307 |
|
else if(celltype->type & 1) // override is set |
308 |
|
addon = icon_get(CUSTOM_ICON_TYPE, 11); |
309 |
|
else if(celltype->type & 4) // note is set |
310 |
|
addon = icon_get(CUSTOM_ICON_TYPE, 13); |
311 |
|
|
312 |
/* if override (and not found) is set */ |
/* if override (and not found) is set */ |
313 |
if(addon) { |
if(addon) { |