mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 21:10:38 +00:00
Clean up for NSTextFieldCell and resulting changes to sub classes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27260 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8e20be5f2d
commit
ea51783cbb
5 changed files with 71 additions and 53 deletions
|
@ -57,9 +57,6 @@ typedef enum _NSTextFieldBezelStyle
|
|||
|
||||
// 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.
|
||||
#define _textfieldcell_is_opaque _cell.subclass_bool_two
|
||||
#define _textfieldcell_placeholder_is_attributed_string _cell.subclass_bool_three
|
||||
id _placeholder;
|
||||
}
|
||||
|
@ -90,4 +87,13 @@ typedef enum _NSTextFieldBezelStyle
|
|||
|
||||
@end
|
||||
|
||||
//
|
||||
// Methods that are private GNUstep extensions
|
||||
//
|
||||
@interface NSTextFieldCell (PrivateMethods)
|
||||
|
||||
- (void) _drawBackgroundWithFrame: (NSRect)cellFrame
|
||||
inView: (NSView*)controlView;
|
||||
@end
|
||||
|
||||
#endif // _GNUstep_H_NSTextFieldCell
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue