mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-03 15:20:42 +00:00
Prefixed ivar names with underscore; removed method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5578 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
dd6b697b40
commit
209dcf44dc
1 changed files with 16 additions and 9 deletions
|
@ -35,12 +35,14 @@
|
||||||
|
|
||||||
@interface NSSplitView : NSView
|
@interface NSSplitView : NSView
|
||||||
{
|
{
|
||||||
id delegate;
|
id _delegate;
|
||||||
int dividerWidth, draggedBarWidth;
|
float _dividerWidth;
|
||||||
id splitCursor;
|
float _draggedBarWidth;
|
||||||
BOOL isVertical;
|
id _splitCursor;
|
||||||
NSImage *dimpleImage;
|
BOOL _isVertical;
|
||||||
NSColor *backgroundColor, *dividerColor;
|
NSImage *_dimpleImage;
|
||||||
|
NSColor *_backgroundColor;
|
||||||
|
NSColor *_dividerColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) setDelegate: (id)anObject;
|
- (void) setDelegate: (id)anObject;
|
||||||
|
@ -53,7 +55,6 @@
|
||||||
|
|
||||||
/* extra methods to make it more usable */
|
/* extra methods to make it more usable */
|
||||||
- (float) dividerThickness; //defaults to 8
|
- (float) dividerThickness; //defaults to 8
|
||||||
- (void) setDividerThickNess: (float)newWidth;
|
|
||||||
- (float) draggedBarWidth;
|
- (float) draggedBarWidth;
|
||||||
- (void) setDraggedBarWidth: (float)newWidth;
|
- (void) setDraggedBarWidth: (float)newWidth;
|
||||||
/* if flag is yes, dividerThickness is reset to the height/width of the dimple
|
/* if flag is yes, dividerThickness is reset to the height/width of the dimple
|
||||||
|
@ -69,8 +70,14 @@
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@interface NSObject(NSSplitViewDelegate)
|
@interface NSObject(NSSplitViewDelegate)
|
||||||
- (void) splitView: (NSSplitView *)sender resizeSubviewsWithOldSize: (NSSize)oldSize;
|
- (void) splitView: (NSSplitView *)sender
|
||||||
- (void) splitView: (NSSplitView *)sender constrainMinCoordinate: (float *)min maxCoordinate: (float *)max ofSubviewAt: (int)offset;
|
resizeSubviewsWithOldSize: (NSSize)oldSize;
|
||||||
|
|
||||||
|
- (void) splitView: (NSSplitView *)sender
|
||||||
|
constrainMinCoordinate: (float *)min
|
||||||
|
maxCoordinate: (float *)max
|
||||||
|
ofSubviewAt: (int)offset;
|
||||||
|
|
||||||
- (void) splitViewWillResizeSubviews: (NSNotification *)notification;
|
- (void) splitViewWillResizeSubviews: (NSNotification *)notification;
|
||||||
- (void) splitViewDidResizeSubviews: (NSNotification *)notification;
|
- (void) splitViewDidResizeSubviews: (NSNotification *)notification;
|
||||||
@end
|
@end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue