mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-24 20:49:13 +00:00
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:
parent
dcdc3a924a
commit
d7494db0ce
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue