mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 03:21:04 +00:00
Add 10.5 methods and new ivar.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28184 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2c1370226f
commit
61d7e0d4fe
3 changed files with 643 additions and 481 deletions
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,14 @@
|
|||
2009-04-07 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Headers/AppKit/NSSplitView.h
|
||||
(-maxPossiblePositionOfDividerAtIndex:,
|
||||
-minPossiblePositionOfDividerAtIndex:,
|
||||
-setPosition:ofDividerAtIndex:): New MacOSX 10.5 methods.
|
||||
* Source/NSSplitView.m: Basic implementation of these methods.
|
||||
* Headers/AppKit/NSSplitView.h: Add ivars, will break binary compatibility.
|
||||
* Source/NSSplitView.m (-isPaneSplitter, -setIsPaneSplitter:):
|
||||
Implement these methods.
|
||||
|
||||
2009-04-07 Sergii Stoian <stoyan255@gmail.com>
|
||||
|
||||
* Source/NSSplitView.m (-mouseDown:): When checking if divider
|
||||
|
|
|
@ -36,22 +36,23 @@
|
|||
|
||||
@interface NSSplitView : NSView
|
||||
{
|
||||
id _delegate;
|
||||
float _dividerWidth;
|
||||
float _draggedBarWidth;
|
||||
BOOL _isVertical;
|
||||
id _delegate;
|
||||
NSImage *_dimpleImage;
|
||||
NSColor *_backgroundColor;
|
||||
NSColor *_dividerColor;
|
||||
BOOL _never_displayed_before;
|
||||
NSString *_autosaveName;
|
||||
CGFloat _dividerWidth;
|
||||
CGFloat _draggedBarWidth;
|
||||
BOOL _isVertical;
|
||||
BOOL _never_displayed_before;
|
||||
BOOL _is_pane_splitter;
|
||||
}
|
||||
|
||||
- (void) setDelegate: (id)anObject;
|
||||
- (id) delegate;
|
||||
- (void) adjustSubviews;
|
||||
- (void) drawDividerInRect: (NSRect)aRect;
|
||||
- (float) dividerThickness;
|
||||
- (CGFloat) dividerThickness;
|
||||
|
||||
/* Vertical splitview has a vertical split bar */
|
||||
- (void) setVertical: (BOOL)flag;
|
||||
|
@ -61,8 +62,15 @@
|
|||
- (BOOL) isSubviewCollapsed: (NSView *)subview;
|
||||
- (BOOL) isPaneSplitter;
|
||||
- (void) setIsPaneSplitter: (BOOL)flag;
|
||||
#endif
|
||||
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_5, GS_API_LATEST)
|
||||
- (void) setAutosaveName: (NSString *)autosaveName;
|
||||
- (NSString *) autosaveName;
|
||||
|
||||
- (CGFloat) maxPossiblePositionOfDividerAtIndex: (NSInteger)dividerIndex;
|
||||
- (CGFloat) minPossiblePositionOfDividerAtIndex: (NSInteger)dividerIndex;
|
||||
- (void) setPosition: (CGFloat)position ofDividerAtIndex: (NSInteger)dividerIndex;
|
||||
#endif
|
||||
|
||||
@end
|
||||
|
@ -70,8 +78,8 @@
|
|||
#if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
|
||||
@interface NSSplitView (GNUstepExtra)
|
||||
/* extra methods to make it more usable */
|
||||
- (float) draggedBarWidth;
|
||||
- (void) setDraggedBarWidth: (float)newWidth;
|
||||
- (CGFloat) draggedBarWidth;
|
||||
- (void) setDraggedBarWidth: (CGFloat)newWidth;
|
||||
/* if flag is yes, dividerThickness is reset to the height/width of the dimple
|
||||
image + 1;
|
||||
*/
|
||||
|
|
1089
Source/NSSplitView.m
1089
Source/NSSplitView.m
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue