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:
parent
091af5911c
commit
5668480c99
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
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user