Revision: 6724
          http://skim-app.svn.sourceforge.net/skim-app/?rev=6724&view=rev
Author:   hofman
Date:     2010-08-23 09:40:31 +0000 (Mon, 23 Aug 2010)

Log Message:
-----------
rename delegate method

Modified Paths:
--------------
    trunk/SKMainWindowController_UI.m
    trunk/SKNoteOutlineView.h
    trunk/SKNoteOutlineView.m
    trunk/SKNotesDocument.m

Modified: trunk/SKMainWindowController_UI.m
===================================================================
--- trunk/SKMainWindowController_UI.m   2010-08-22 11:38:04 UTC (rev 6723)
+++ trunk/SKMainWindowController_UI.m   2010-08-23 09:40:31 UTC (rev 6724)
@@ -699,7 +699,7 @@
     return NO;
 }
 
-- (void)outlineView:(NSOutlineView *)ov setHeightOfRow:(CGFloat)newHeight 
byItem:(id)item {
+- (void)outlineView:(NSOutlineView *)ov setHeight:(CGFloat)newHeight 
ofRowByItem:(id)item {
     [rowHeights setFloat:newHeight forKey:item];
 }
 

Modified: trunk/SKNoteOutlineView.h
===================================================================
--- trunk/SKNoteOutlineView.h   2010-08-22 11:38:04 UTC (rev 6723)
+++ trunk/SKNoteOutlineView.h   2010-08-23 09:40:31 UTC (rev 6724)
@@ -55,7 +55,7 @@
 @optional
 
 - (BOOL)outlineView:(NSOutlineView *)anOutlineView canResizeRowByItem:(id)item;
-- (void)outlineView:(NSOutlineView *)anOutlineView 
setHeightOfRow:(CGFloat)newHeight byItem:(id)item;
+- (void)outlineView:(NSOutlineView *)anOutlineView 
setHeight:(CGFloat)newHeight ofRowByItem:(id)item;
 - (void)outlineViewCommandKeyPressedDuringNavigation:(NSOutlineView 
*)anOutlineView;
 
 @end

Modified: trunk/SKNoteOutlineView.m
===================================================================
--- trunk/SKNoteOutlineView.m   2010-08-22 11:38:04 UTC (rev 6723)
+++ trunk/SKNoteOutlineView.m   2010-08-23 09:40:31 UTC (rev 6724)
@@ -72,7 +72,7 @@
             NSPoint currentPoint = [self convertPoint:[theEvent 
locationInWindow] fromView:nil];
             CGFloat currentHeight = fmax([self rowHeight], startHeight + 
currentPoint.y - startPoint.y);
             
-            [[self delegate] outlineView:self setHeightOfRow:currentHeight 
byItem:item];
+            [[self delegate] outlineView:self setHeight:currentHeight 
ofRowByItem:item];
             [self noteHeightOfRowsWithIndexesChanged:[NSIndexSet 
indexSetWithIndex:row]];
         }
     }
@@ -80,7 +80,7 @@
 }
 
 - (void)mouseDown:(NSEvent *)theEvent {
-    if ([theEvent clickCount] == 1 && [[self delegate] 
respondsToSelector:@selector(outlineView:canResizeRowByItem:)] && [[self 
delegate] respondsToSelector:@selector(outlineView:setHeightOfRow:byItem:)]) {
+    if ([theEvent clickCount] == 1 && [[self delegate] 
respondsToSelector:@selector(outlineView:canResizeRowByItem:)] && [[self 
delegate] respondsToSelector:@selector(outlineView:setHeight:ofRowByItem:)]) {
         NSPoint mouseLoc = [self convertPoint:[theEvent locationInWindow] 
fromView:nil];
         NSInteger row = [self rowAtPoint:mouseLoc];
         

Modified: trunk/SKNotesDocument.m
===================================================================
--- trunk/SKNotesDocument.m     2010-08-22 11:38:04 UTC (rev 6723)
+++ trunk/SKNotesDocument.m     2010-08-23 09:40:31 UTC (rev 6724)
@@ -604,7 +604,7 @@
     return YES;
 }
 
-- (void)outlineView:(NSOutlineView *)ov setHeightOfRow:(CGFloat)newHeight 
byItem:(id)item {
+- (void)outlineView:(NSOutlineView *)ov setHeight:(CGFloat)newHeight 
ofRowByItem:(id)item {
     [rowHeights setFloat:newHeight forKey:item];
 }
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to