Use two nscell bits for two BOOL ivars

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5481 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 1999-12-13 16:09:18 +00:00
parent dcdc3a924a
commit d7494db0ce

View file

@ -38,10 +38,11 @@
// Attributes
NSColor *_background_color;
NSColor *_text_color;
BOOL _draws_background;
// Think of the following ones as of two BOOL ivars
#define _textfieldcell_draws_background _cell.subclass_bool_one
// The following is different from _draws_background
// if we are using a semi-transparent color.
BOOL _isOpaque;
#define _textfieldcell_is_opaque _cell.subclass_bool_two
}
//