Revision: 7495
http://skim-app.svn.sourceforge.net/skim-app/?rev=7495&view=rev
Author: hofman
Date: 2011-09-17 21:56:33 +0000 (Sat, 17 Sep 2011)
Log Message:
-----------
fix parameter of actions
Modified Paths:
--------------
trunk/SKColorSwatch.m
Modified: trunk/SKColorSwatch.m
===================================================================
--- trunk/SKColorSwatch.m 2011-09-17 21:51:00 UTC (rev 7494)
+++ trunk/SKColorSwatch.m 2011-09-17 21:56:33 UTC (rev 7495)
@@ -269,14 +269,14 @@
[self performClickAtIndex:focusedIndex];
}
-- (void)moveRight:(NSEvent *)theEvent {
+- (void)moveRight:(id)sender {
if (++focusedIndex >= (NSInteger)[colors count])
focusedIndex = 0;
[self setKeyboardFocusRingNeedsDisplayInRect:[self bounds]];
NSAccessibilityPostNotification(self,
NSAccessibilityFocusedUIElementChangedNotification);
}
-- (void)moveLeft:(NSEvent *)theEvent {
+- (void)moveLeft:(id)sender {
if (--focusedIndex < 0)
focusedIndex = [colors count] - 1;
[self setKeyboardFocusRingNeedsDisplayInRect:[self bounds]];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit