diff options
author | Ton Roosendaal <ton@blender.org> | 2005-03-10 00:10:30 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-03-10 00:10:30 +0300 |
commit | cd3b11f41ec4e0611a7a413e7b36fbd0e950c799 (patch) | |
tree | d3268cd3f30f016ad1e3bedec570ec6d6847e2d9 /source/blender/src/resources.c | |
parent | eab9fc4c0b72ebd727af51a4b11b351b0ce7921f (diff) |
- Added more space in icons image (blenderbuttons.png)
It now only uses 1 extra row of 21 buttons. More can simply be added
- Added new icons for the new proportional edit options Root, Linear and
Constant
- Made sure pulldown and pop-up menu work for new prop options
- Transform fix; proportional edit circle was drawing in Object mode
Diffstat (limited to 'source/blender/src/resources.c')
-rw-r--r-- | source/blender/src/resources.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/src/resources.c b/source/blender/src/resources.c index b1db1f755f6..66e42832db5 100644 --- a/source/blender/src/resources.c +++ b/source/blender/src/resources.c @@ -255,7 +255,8 @@ void BIF_resources_init(void) common_icons_arr= MEM_mallocN(sizeof(*common_icons_arr)*BIFNICONIDS, "common_icons"); - for (y=0; y<10; y++) { + /* hack! */ + for (y=0; y<11; y++) { for (x=0; x<21; x++) { int rowstride= bbuf->x*4; unsigned char *start= ((char*) bbuf->rect) + (y*21 + 3)*rowstride + (x*20 + 3)*4; @@ -278,7 +279,7 @@ void BIF_resources_init(void) // texid= init_icon_texture(bbuf); /* hack! */ - for (y=0; y<10; y++) { + for (y=0; y<11; y++) { for (x=0; x<21; x++) { if (x==11 && y==6) { def_icon(bbuf, texid, ICON_BEVELBUT_HLT, x, y, 7, 13, 4, 2); |