mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-01 15:21:57 +00:00
Declare new MacOSX method [drawTitleOfColumn:inRect:]. Removed
unused ivar _browserCellClass. Replaced ivar _titleCell with a static variable used for all browsers. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14449 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0bf1a03438
commit
dcb6a0bf5b
1 changed files with 15 additions and 19 deletions
|
@ -42,46 +42,44 @@
|
||||||
@interface NSBrowser : NSControl <NSCoding>
|
@interface NSBrowser : NSControl <NSCoding>
|
||||||
{
|
{
|
||||||
// Attributes
|
// Attributes
|
||||||
Class _browserCellClass;
|
|
||||||
id _browserCellPrototype;
|
id _browserCellPrototype;
|
||||||
id _browserMatrixClass;
|
id _browserMatrixClass;
|
||||||
NSString *_pathSeparator;
|
NSString *_pathSeparator;
|
||||||
|
|
||||||
|
//NSBox *_horizontalScrollerBox;
|
||||||
|
NSScroller *_horizontalScroller;
|
||||||
|
NSTimeInterval _lastKeyPressed;
|
||||||
|
NSString *_charBuffer;
|
||||||
|
|
||||||
BOOL _isLoaded;
|
BOOL _isLoaded;
|
||||||
BOOL _allowsBranchSelection;
|
BOOL _allowsBranchSelection;
|
||||||
BOOL _allowsEmptySelection;
|
BOOL _allowsEmptySelection;
|
||||||
BOOL _allowsMultipleSelection;
|
BOOL _allowsMultipleSelection;
|
||||||
int _maxVisibleColumns;
|
|
||||||
float _minColumnWidth;
|
|
||||||
BOOL _reusesColumns;
|
BOOL _reusesColumns;
|
||||||
BOOL _separatesColumns;
|
BOOL _separatesColumns;
|
||||||
BOOL _takesTitleFromPreviousColumn;
|
BOOL _takesTitleFromPreviousColumn;
|
||||||
BOOL _isTitled;
|
BOOL _isTitled;
|
||||||
|
|
||||||
//NSBox *_horizontalScrollerBox;
|
|
||||||
NSScroller *_horizontalScroller;
|
|
||||||
BOOL _hasHorizontalScroller;
|
BOOL _hasHorizontalScroller;
|
||||||
BOOL _skipUpdateScroller;
|
BOOL _skipUpdateScroller;
|
||||||
|
|
||||||
BOOL _acceptsArrowKeys;
|
BOOL _acceptsArrowKeys;
|
||||||
BOOL _sendsActionOnArrowKeys;
|
BOOL _sendsActionOnArrowKeys;
|
||||||
BOOL _acceptsAlphaNumericalKeys;
|
BOOL _acceptsAlphaNumericalKeys;
|
||||||
BOOL _sendsActionOnAlphaNumericalKeys;
|
BOOL _sendsActionOnAlphaNumericalKeys;
|
||||||
NSTimeInterval _lastKeyPressed;
|
|
||||||
NSString *_charBuffer;
|
|
||||||
int _alphaNumericalLastColumn;
|
|
||||||
|
|
||||||
BOOL _passiveDelegate;
|
BOOL _passiveDelegate;
|
||||||
id _browserDelegate;
|
id _browserDelegate;
|
||||||
|
id _target;
|
||||||
|
SEL _action;
|
||||||
SEL _doubleAction;
|
SEL _doubleAction;
|
||||||
NSMutableArray *_browserColumns;
|
NSMutableArray *_browserColumns;
|
||||||
id _titleCell;
|
|
||||||
NSSize _columnSize;
|
NSSize _columnSize;
|
||||||
NSRect _scrollerRect;
|
NSRect _scrollerRect;
|
||||||
|
int _alphaNumericalLastColumn;
|
||||||
|
int _maxVisibleColumns;
|
||||||
|
float _minColumnWidth;
|
||||||
int _lastColumnLoaded;
|
int _lastColumnLoaded;
|
||||||
int _firstVisibleColumn;
|
int _firstVisibleColumn;
|
||||||
int _lastVisibleColumn;
|
int _lastVisibleColumn;
|
||||||
id _target;
|
|
||||||
SEL _action;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -176,6 +174,10 @@
|
||||||
- (void) drawTitle: (NSString *)title
|
- (void) drawTitle: (NSString *)title
|
||||||
inRect: (NSRect)aRect
|
inRect: (NSRect)aRect
|
||||||
ofColumn: (int)column;
|
ofColumn: (int)column;
|
||||||
|
#ifndef STRICT_OPENSTEP
|
||||||
|
- (void) drawTitleOfColumn: (int)column
|
||||||
|
inRect: (NSRect)aRect;
|
||||||
|
#endif
|
||||||
- (BOOL) isTitled;
|
- (BOOL) isTitled;
|
||||||
- (void) setTitled: (BOOL)flag;
|
- (void) setTitled: (BOOL)flag;
|
||||||
- (void) setTitle: (NSString *)aString
|
- (void) setTitle: (NSString *)aString
|
||||||
|
@ -229,12 +231,6 @@
|
||||||
//
|
//
|
||||||
- (void) tile;
|
- (void) tile;
|
||||||
|
|
||||||
//
|
|
||||||
// NSCoding protocol
|
|
||||||
//
|
|
||||||
- (void) encodeWithCoder: (NSCoder *)aCoder;
|
|
||||||
- (id) initWithCoder: (NSCoder *)aDecoder;
|
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue