From 8b4c46a01eab8f390ff4ab8ec5b78d8055ff4f34 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Fri, 8 Oct 2010 19:57:21 +0000 Subject: =?UTF-8?q?=E2=80=A2=20some=20further=20work=20on=20displaying=20g?= =?UTF-8?q?eometry=20fields=20as=20image=20-=20to=20enable=20the=20very=20?= =?UTF-8?q?first=20approach=20simply=20uncomment=20code=20in=20SPTableCont?= =?UTF-8?q?ent=20tableView:toolTipForCell:rect:tableColumn:row:mouseLocati?= =?UTF-8?q?on:=20for=20MCPGeometryData=20class?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/SPTableContent.m | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'Source/SPTableContent.m') diff --git a/Source/SPTableContent.m b/Source/SPTableContent.m index 50ce0617..3aa154a7 100644 --- a/Source/SPTableContent.m +++ b/Source/SPTableContent.m @@ -51,6 +51,7 @@ #import "SPAlertSheets.h" #import "SPMainThreadTrampoline.h" #import "SPHistoryController.h" +#import "SPGeometryDataView.h" @implementation SPTableContent @@ -3349,7 +3350,14 @@ } } else if ([theValue isKindOfClass:[MCPGeometryData class]]) { - ; // TODO + // SPGeometryDataView *v = [[SPGeometryDataView alloc] initWithCoordinates:[theValue coordinates]]; + // image = [v image]; + // if(image) { + // [SPTooltip showWithObject:image atLocation:pos ofType:@"image"]; + // [v release]; + // return nil; + // } + // [v release]; } // Show the cell string value as tooltip (including line breaks and tabs) -- cgit v1.2.3