Files
test/source/blender/include
Daniel Dunbar eb6ef538e9 - 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.
2004-01-08 19:53:19 +00:00
..
2003-09-20 20:58:14 +00:00
2003-10-27 23:55:38 +00:00
2003-10-10 17:29:01 +00:00
2003-03-24 01:46:05 +00:00
2003-03-24 01:46:05 +00:00
2003-07-17 14:19:55 +00:00
2004-01-03 13:13:51 +00:00
2003-10-20 02:19:48 +00:00
2003-10-04 20:35:50 +00:00
2003-12-08 15:13:00 +00:00
2003-03-24 01:46:05 +00:00
2003-03-24 01:46:05 +00:00
2003-03-24 01:46:05 +00:00
2003-07-17 14:19:55 +00:00
2003-12-29 16:52:51 +00:00
2003-12-29 16:52:51 +00:00