From d7494db0ce33d42c1357f61e4c5ac8d2a158fbe7 Mon Sep 17 00:00:00 2001 From: Nicola Pero Date: Mon, 13 Dec 1999 16:09:18 +0000 Subject: [PATCH] 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 --- Headers/gnustep/gui/NSTextFieldCell.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Headers/gnustep/gui/NSTextFieldCell.h b/Headers/gnustep/gui/NSTextFieldCell.h index e5909bb2c..45ba6b378 100644 --- a/Headers/gnustep/gui/NSTextFieldCell.h +++ b/Headers/gnustep/gui/NSTextFieldCell.h @@ -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 } //