aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPActivityTextFieldCell.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-12-02 07:52:02 +0000
committerBibiko <bibiko@eva.mpg.de>2010-12-02 07:52:02 +0000
commitc17b46be3a8f3b4e7f952b70928d88768355ed70 (patch)
treec6745b21d5d4bc8ab0443197ab6ef4899c2ee602 /Source/SPActivityTextFieldCell.m
parent85d4c823527236bca756dba3d430e840fd131454 (diff)
downloadsequelpro-c17b46be3a8f3b4e7f952b70928d88768355ed70.tar.gz
sequelpro-c17b46be3a8f3b4e7f952b70928d88768355ed70.tar.bz2
sequelpro-c17b46be3a8f3b4e7f952b70928d88768355ed70.zip
• added cancel operation images and set them to SPActivityTextField
Diffstat (limited to 'Source/SPActivityTextFieldCell.m')
-rw-r--r--Source/SPActivityTextFieldCell.m16
1 files changed, 8 insertions, 8 deletions
diff --git a/Source/SPActivityTextFieldCell.m b/Source/SPActivityTextFieldCell.m
index 856fde52..5bdfa96e 100644
--- a/Source/SPActivityTextFieldCell.m
+++ b/Source/SPActivityTextFieldCell.m
@@ -71,8 +71,8 @@ static inline NSRect SPTextLinkRectFromCellRect(NSRect inRect)
[cancelButton setTitle:@""];
[cancelButton setBordered:NO];
[cancelButton setShowsBorderOnlyWhileMouseInside:YES];
- [cancelButton setImage:[NSImage imageNamed:@"link-arrow"]];
- [cancelButton setAlternateImage:[NSImage imageNamed:@"link-arrow-clicked"]];
+ [cancelButton setImage:[NSImage imageNamed:@"cancel"]];
+ [cancelButton setAlternateImage:[NSImage imageNamed:@"cancel-clicked"]];
}
return self;
@@ -175,16 +175,16 @@ static inline NSRect SPTextLinkRectFromCellRect(NSRect inRect)
drawState = newDrawState;
switch (drawState) {
case SPLinkDrawStateNormal:
- [cancelButton setImage:[NSImage imageNamed:@"link-arrow"]];
- [cancelButton setAlternateImage:[NSImage imageNamed:@"link-arrow-clicked"]];
+ [cancelButton setImage:[NSImage imageNamed:@"cancel"]];
+ [cancelButton setAlternateImage:[NSImage imageNamed:@"cancel-clicked"]];
break;
case SPLinkDrawStateHighlight:
- [cancelButton setImage:[NSImage imageNamed:@"link-arrow-highlighted"]];
- [cancelButton setAlternateImage:[NSImage imageNamed:@"link-arrow-highlighted-clicked"]];
+ [cancelButton setImage:[NSImage imageNamed:@"cancel-highlighted"]];
+ [cancelButton setAlternateImage:[NSImage imageNamed:@"cancel-clicked-highlighted"]];
break;
case SPLinkDrawStateBackgroundHighlight:
- [cancelButton setImage:[NSImage imageNamed:@"link-arrow-clicked"]];
- [cancelButton setAlternateImage:[NSImage imageNamed:@"link-arrow"]];
+ [cancelButton setImage:[NSImage imageNamed:@"cancel-clicked"]];
+ [cancelButton setAlternateImage:[NSImage imageNamed:@"cancel"]];
break;
}
}