small fix for icons to correctly use alpha instead of converting grey background to alpha.

Also checking in cleaned up blenderbuttons from Matt.
This commit is contained in:
Andrea Weikert 2006-01-22 23:27:43 +00:00
parent 091af5911c
commit 5668480c99
3 changed files with 1903 additions and 1544 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 59 KiB

File diff suppressed because it is too large Load Diff

@ -483,6 +483,7 @@ static void prepare_internal_icons(ImBuf* bbuf)
clear_transp_rect(transp, back, bbuf->x, bbuf->y, rowstride);
/* hack! */
#if 0
for (y=0; y<12; y++) {
for (x=0; x<21; x++) {
unsigned char *start= ((unsigned char*) bbuf->rect) + (y*21 + 3)*rowstride + (x*20 + 3)*4;
@ -496,6 +497,7 @@ static void prepare_internal_icons(ImBuf* bbuf)
}
}
#endif
}