2.5: Texture buttons preview now has an option to display the

texture, the material, or both side by side.
This commit is contained in:
2009-07-21 01:57:46 +00:00
parent 6dfec894f9
commit 22f421a9ee
11 changed files with 158 additions and 63 deletions

View File

@@ -2772,9 +2772,10 @@ void uiBlockSetRenameFunc(uiBlock *block, uiButHandleRenameFunc func, void *arg1
}
void uiBlockSetDrawExtraFunc(uiBlock *block, void (*func)(const bContext *C, void *idv, rcti *rect))
void uiBlockSetDrawExtraFunc(uiBlock *block, void (*func)(const bContext *C, void *idv, void *argv, rcti *rect), void *arg)
{
block->drawextra= func;
block->drawextra_arg= arg;
}
void uiButSetFunc(uiBut *but, uiButHandleFunc func, void *arg1, void *arg2)