diff options
author | Daniel Dunbar <daniel@zuster.org> | 2004-01-08 22:53:19 +0300 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2004-01-08 22:53:19 +0300 |
commit | eb6ef538e95835332cfd6da6b030160565bcc02b (patch) | |
tree | 7010f23c534994003ec028dbfbe2506d8c475b2f /source/blender/yafray/intern/export_File.h | |
parent | 239edfc2729983f8223486dc7985c7860ebef995 (diff) |
- committed new uiDef{Icon,IconText,}ButBit? functions
- change object draw flag buttons to use new functions (just an example)
While I probably wouldn't recommend patching other buttons to use the new
functions a week before release, it is a good (simple but tedious) project
to complete. Note that some code actually defined the constants for the
bit index, when such code is fixed the _BIT constant should be removed from
the headers.
Example:
DNA_constraint_types.h:
#define CONSTRAINT_DISABLE 0x00000004
#define CONSTRAINT_DISABLE_BIT 2
buttons_object.c:
uiDefIconButS(block, ICONTOG|BIT|CONSTRAINT_EXPAND_BIT, ...);
The button definition should change to:
uiDefIconButBitS(block, ICONTOG, CONSTRAINT_EXPAND, ...);
(whats that, the more correct way uses less typing, GOOD GOD!)
and the CONSTRAINT_DISABLE_BIT define should be removed.
Diffstat (limited to 'source/blender/yafray/intern/export_File.h')
0 files changed, 0 insertions, 0 deletions