Commits

Tuukka Norri committed 86f1612

Added a possibility not to draw lef accent for the leftmost column header

Comments (0)

Files changed (3)

BaseTen.xcodeproj/project.pbxproj

 		53666D0E0E1CD8D20028DBEA /* PGTSResultSetPrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = 53666CCF0E1CD8D20028DBEA /* PGTSResultSetPrivate.h */; };
 		53666D0F0E1CD8D20028DBEA /* PGTSRoleDescription.h in Headers */ = {isa = PBXBuildFile; fileRef = 53666CD00E1CD8D20028DBEA /* PGTSRoleDescription.h */; };
 		53666D100E1CD8D20028DBEA /* PGTSRoleDescription.m in Sources */ = {isa = PBXBuildFile; fileRef = 53666CD10E1CD8D20028DBEA /* PGTSRoleDescription.m */; };
-		53666D110E1CD8D20028DBEA /* PGTSScannedMemoryAllocator.h in Headers */ = {isa = PBXBuildFile; fileRef = 53666CD20E1CD8D20028DBEA /* PGTSScannedMemoryAllocator.h */; };
+		53666D110E1CD8D20028DBEA /* PGTSScannedMemoryAllocator.h in Headers */ = {isa = PBXBuildFile; fileRef = 53666CD20E1CD8D20028DBEA /* PGTSScannedMemoryAllocator.h */; settings = {ATTRIBUTES = (Private, ); }; };
 		53666D120E1CD8D20028DBEA /* PGTSSchemaDescription.h in Headers */ = {isa = PBXBuildFile; fileRef = 53666CD30E1CD8D20028DBEA /* PGTSSchemaDescription.h */; };
 		53666D130E1CD8D20028DBEA /* PGTSSchemaDescription.m in Sources */ = {isa = PBXBuildFile; fileRef = 53666CD40E1CD8D20028DBEA /* PGTSSchemaDescription.m */; };
 		53666D140E1CD8D20028DBEA /* PGTSTableDescription.h in Headers */ = {isa = PBXBuildFile; fileRef = 53666CD50E1CD8D20028DBEA /* PGTSTableDescription.h */; };

BaseTenAssistant/Source/MKCPolishedHeaderView.h

     kMKCPolishDrawLeftAccent     = 1 << 8,
     kMKCPolishDrawRightAccent    = 1 << 9,
     kMKCPolishDrawSeparatorLines = 1 << 10,
+	
+	kMKCPolishNoLeftAccentForLeftmostColumn = 1 << 6,
+	
     MKCPolishDrawAllLines = (kMKCPolishDrawTopLine | 
                              kMKCPolishDrawBottomLine | 
                              kMKCPolishDrawLeftLine | 

BaseTenAssistant/Source/MKCPolishedHeaderView.m

         
         if (kMKCPolishDrawLeftAccent & mDrawingMask)
         {
-            [[colours objectForKey: kMKCLeftAccentColourKey] set];
-            NSRectFill (NSMakeRect (columnHeaderRect.origin.x, 1.0, 1.0, height - 2.0));
+			if (0 != i || ! kMKCPolishNoLeftAccentForLeftmostColumn & mDrawingMask)
+			{
+	            [[colours objectForKey: kMKCLeftAccentColourKey] set];
+	            NSRectFill (NSMakeRect (columnHeaderRect.origin.x, 1.0, 1.0, height - 2.0));
+			}
         }
         
         NSRect intersection = NSIntersectionRect (columnHeaderRect, rect);
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.