Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed IB palette. Removed Carbon. Dropped powerpc support. Tabs now…

… only show close button on hover.
  • Loading branch information...
commit 7dcc58a1361ea2d74f8f6178615a7125a012ff50 1 parent a7d94e1
@zachwaugh authored
Showing with 113 additions and 733 deletions.
  1. +0 −26 English.lproj/PSMTabBarControlInspector.nib/classes.nib
  2. +0 −16 English.lproj/PSMTabBarControlInspector.nib/info.nib
  3. BIN  English.lproj/PSMTabBarControlInspector.nib/keyedobjects.nib
  4. BIN  English.lproj/PSMTabBarControlInspector.nib/objects.nib
  5. +0 −28 English.lproj/PSMTabBarControlPalette.nib/classes.nib
  6. +0 −16 English.lproj/PSMTabBarControlPalette.nib/info.nib
  7. BIN  English.lproj/PSMTabBarControlPalette.nib/keyedobjects.nib
  8. BIN  English.lproj/PSMTabBarControlPalette.nib/objects.nib
  9. +0 −7 PSMTabBarControl.ibclassdescription
  10. +15 −254 PSMTabBarControl.xcodeproj/project.pbxproj
  11. BIN  images/TabControlRep.png
  12. BIN  images/TabIcon.png
  13. +0 −43 palette.table
  14. +0 −1  source/AppController.m
  15. +0 −2  source/Framework_Prefix.pch
  16. +75 −99 source/PSMMetalTabStyle.m
  17. +22 −36 source/PSMTabBarControl.m
  18. +0 −27 source/PSMTabBarControlInspector.h
  19. +0 −105 source/PSMTabBarControlInspector.m
  20. +0 −21 source/PSMTabBarControlPalette.h
  21. +0 −35 source/PSMTabBarControlPalette.m
  22. +0 −10 source/PSMTabBarControl_Prefix.pch
  23. +1 −7 source/WindowController.m
View
26 English.lproj/PSMTabBarControlInspector.nib/classes.nib
@@ -1,26 +0,0 @@
-{
- IBClasses = (
- {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
- {
- CLASS = PSMTabBarControlInspector;
- LANGUAGE = ObjC;
- OUTLETS = {
- "_allowsBackgroundTabClosing" = NSButton;
- "_automaticallyAnimates" = NSButton;
- "_canCloseOnlyTab" = NSButton;
- "_cellMaxWidth" = NSTextField;
- "_cellMinWidth" = NSTextField;
- "_cellOptimumWidth" = NSTextField;
- "_disableTabClose" = NSButton;
- "_hideForSingleTab" = NSButton;
- "_selectsTabsOnMouseDown" = NSButton;
- "_showAddTab" = NSButton;
- "_sizeToFit" = NSButton;
- "_stylePopUp" = NSPopUpButton;
- "_useOverflowMenu" = NSButton;
- };
- SUPERCLASS = IBInspector;
- }
- );
- IBVersion = 1;
-}
View
16 English.lproj/PSMTabBarControlInspector.nib/info.nib
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>IBDocumentLocation</key>
- <string>78 86 356 240 0 0 1600 1178 </string>
- <key>IBFramework Version</key>
- <string>446.1</string>
- <key>IBOpenObjects</key>
- <array>
- <integer>3</integer>
- </array>
- <key>IBSystem Version</key>
- <string>8J135</string>
-</dict>
-</plist>
View
BIN  English.lproj/PSMTabBarControlInspector.nib/keyedobjects.nib
Binary file not shown
View
BIN  English.lproj/PSMTabBarControlInspector.nib/objects.nib
Binary file not shown
View
28 English.lproj/PSMTabBarControlPalette.nib/classes.nib
@@ -1,28 +0,0 @@
-{
- IBClasses = (
- {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
- {CLASS = PSMAquaTabStyle; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
- {CLASS = PSMMetalTabStyle; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
- {CLASS = PSMOverflowPopUpButton; LANGUAGE = ObjC; SUPERCLASS = NSPopUpButton; },
- {
- CLASS = PSMProgressIndicator;
- LANGUAGE = ObjC;
- SUPERCLASS = NSProgressIndicator;
- },
- {CLASS = PSMRolloverButton; LANGUAGE = ObjC; SUPERCLASS = NSButton; },
- {CLASS = PSMTabBarCell; LANGUAGE = ObjC; SUPERCLASS = NSActionCell; },
- {
- CLASS = PSMTabBarControl;
- LANGUAGE = ObjC;
- OUTLETS = {delegate = id; partnerView = id; style = id; tabView = NSTabView; };
- SUPERCLASS = NSControl;
- },
- {
- CLASS = PSMTabBarControlPalette;
- LANGUAGE = ObjC;
- OUTLETS = {repImage = NSImageView; };
- SUPERCLASS = IBPalette;
- }
- );
- IBVersion = 1;
-}
View
16 English.lproj/PSMTabBarControlPalette.nib/info.nib
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>IBDocumentLocation</key>
- <string>83 142 356 240 0 0 1680 1028 </string>
- <key>IBFramework Version</key>
- <string>443.0</string>
- <key>IBOpenObjects</key>
- <array>
- <integer>2</integer>
- </array>
- <key>IBSystem Version</key>
- <string>8H14</string>
-</dict>
-</plist>
View
BIN  English.lproj/PSMTabBarControlPalette.nib/keyedobjects.nib
Binary file not shown
View
BIN  English.lproj/PSMTabBarControlPalette.nib/objects.nib
Binary file not shown
View
7 PSMTabBarControl.ibclassdescription
@@ -1,7 +0,0 @@
-{
- PSMTabBarControl = {
- SuperClass = NSControl;
- Attributes = {
- };
- };
-}
View
269 PSMTabBarControl.xcodeproj/project.pbxproj
@@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
- objectVersion = 45;
+ objectVersion = 46;
objects = {
/* Begin PBXAggregateTarget section */
@@ -13,7 +13,6 @@
buildPhases = (
);
dependencies = (
- 53DF6903067E5B930090B5B0 /* PBXTargetDependency */,
53DF6905067E5B930090B5B0 /* PBXTargetDependency */,
3767A65D0A2D0C5C005F7522 /* PBXTargetDependency */,
);
@@ -23,13 +22,11 @@
/* End PBXAggregateTarget section */
/* Begin PBXBuildFile section */
- 13EB9DBE07DE0F1E00EB933A /* InterfaceBuilder.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 13EB9DBD07DE0F1E00EB933A /* InterfaceBuilder.framework */; };
13F8B89007B43554008AE28D /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DD92D38A0106425D02CA0E72 /* Cocoa.framework */; };
148279B50B8B6F1800076718 /* TabClose_Dirty_Pressed.png in Resources */ = {isa = PBXBuildFile; fileRef = 148279B20B8B6F1800076718 /* TabClose_Dirty_Pressed.png */; };
148279B60B8B6F1800076718 /* TabClose_Dirty_Rollover.png in Resources */ = {isa = PBXBuildFile; fileRef = 148279B30B8B6F1800076718 /* TabClose_Dirty_Rollover.png */; };
148279B70B8B6F1800076718 /* TabClose_Dirty.png in Resources */ = {isa = PBXBuildFile; fileRef = 148279B40B8B6F1800076718 /* TabClose_Dirty.png */; };
317A8F260C7BF0C20019DEC6 /* MainMenu.nib in Resources */ = {isa = PBXBuildFile; fileRef = 317A8F240C7BF0C20019DEC6 /* MainMenu.nib */; };
- 318F2E330C7D17E300DE79A7 /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 318F2E320C7D17E300DE79A7 /* Carbon.framework */; };
3437A2EA0BC8E86F003A0BAE /* largeImage.png in Resources */ = {isa = PBXBuildFile; fileRef = 3437A2E90BC8E86F003A0BAE /* largeImage.png */; };
346373660BCA21F800AD57AD /* NSBezierPath_AMShading.h in Headers */ = {isa = PBXBuildFile; fileRef = A2D98B0F0A2B43FA0064C6F8 /* NSBezierPath_AMShading.h */; settings = {ATTRIBUTES = (Public, ); }; };
346A5E080C58E38B004563F0 /* Folder.png in Resources */ = {isa = PBXBuildFile; fileRef = 34FD82790BAC685B00BBAA24 /* Folder.png */; };
@@ -38,7 +35,6 @@
347545B00C4944DA003E81B8 /* NSString_AITruncation.h in Headers */ = {isa = PBXBuildFile; fileRef = 347545AE0C4944DA003E81B8 /* NSString_AITruncation.h */; };
347545B10C4944DB003E81B8 /* NSString_AITruncation.m in Sources */ = {isa = PBXBuildFile; fileRef = 347545AF0C4944DA003E81B8 /* NSString_AITruncation.m */; };
3482DF100C5BF90700426F15 /* PSMAdiumTabStyle.m in Sources */ = {isa = PBXBuildFile; fileRef = 3767A7560A2D449B005F7522 /* PSMAdiumTabStyle.m */; };
- 3482DF150C5BF90E00426F15 /* PSMAdiumTabStyle.m in Sources */ = {isa = PBXBuildFile; fileRef = 3767A7560A2D449B005F7522 /* PSMAdiumTabStyle.m */; };
34FD82880BAC685B00BBAA24 /* AquaTabsSeparator.png in Resources */ = {isa = PBXBuildFile; fileRef = 34FD82620BAC685B00BBAA24 /* AquaTabsSeparator.png */; };
34FD828B0BAC685B00BBAA24 /* AquaTabsDown.png in Resources */ = {isa = PBXBuildFile; fileRef = 34FD82650BAC685B00BBAA24 /* AquaTabsDown.png */; };
34FD828C0BAC685B00BBAA24 /* pi.png in Resources */ = {isa = PBXBuildFile; fileRef = 34FD82660BAC685B00BBAA24 /* pi.png */; };
@@ -69,35 +65,19 @@
34FD82B00BAC686D00BBAA24 /* mater_large.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 34FD827E0BAC685B00BBAA24 /* mater_large.jpg */; };
34FD82B10BAC686D00BBAA24 /* mcqueen_large.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 34FD82840BAC685B00BBAA24 /* mcqueen_large.jpg */; };
34FD82B20BAC686D00BBAA24 /* sally_large.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 34FD82670BAC685B00BBAA24 /* sally_large.jpg */; };
- 34FD82B70BAC687900BBAA24 /* TabControlRep.png in Resources */ = {isa = PBXBuildFile; fileRef = 34FD82610BAC685B00BBAA24 /* TabControlRep.png */; };
- 34FD82C00BAC688500BBAA24 /* TabIcon.png in Resources */ = {isa = PBXBuildFile; fileRef = 34FD82680BAC685B00BBAA24 /* TabIcon.png */; };
- 3748D19D0B17834D002D71C0 /* PSMTabBarController.m in Sources */ = {isa = PBXBuildFile; fileRef = 3748D19C0B17834D002D71C0 /* PSMTabBarController.m */; };
3748D19E0B17834D002D71C0 /* PSMTabBarController.h in Headers */ = {isa = PBXBuildFile; fileRef = 3748D19B0B17834D002D71C0 /* PSMTabBarController.h */; };
3748D19F0B17834D002D71C0 /* PSMTabBarController.m in Sources */ = {isa = PBXBuildFile; fileRef = 3748D19C0B17834D002D71C0 /* PSMTabBarController.m */; };
3767A7590A2D449B005F7522 /* PSMAdiumTabStyle.h in Headers */ = {isa = PBXBuildFile; fileRef = 3767A7550A2D449B005F7522 /* PSMAdiumTabStyle.h */; settings = {ATTRIBUTES = (Public, ); }; };
3767A91D0A2F7A11005F7522 /* PSMTabDragWindow.m in Sources */ = {isa = PBXBuildFile; fileRef = 3767A91A0A2F7A11005F7522 /* PSMTabDragWindow.m */; };
- 3767A91E0A2F7A11005F7522 /* PSMTabDragWindow.m in Sources */ = {isa = PBXBuildFile; fileRef = 3767A91A0A2F7A11005F7522 /* PSMTabDragWindow.m */; };
3769D0850A349FCD00D71EDA /* PSMTabBarControl.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 53DF68FD067E5B5A0090B5B0 /* PSMTabBarControl.framework */; };
3769D08A0A349FDD00D71EDA /* PSMTabBarControl.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 53DF68FD067E5B5A0090B5B0 /* PSMTabBarControl.framework */; };
- 37A9009E0C279CAD0062045C /* PSMTabDragWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = 37A9009D0C279CAD0062045C /* PSMTabDragWindowController.m */; };
37A9009F0C279CAD0062045C /* PSMTabDragWindowController.h in Headers */ = {isa = PBXBuildFile; fileRef = 37A9009C0C279CAD0062045C /* PSMTabDragWindowController.h */; };
37A900A00C279CAD0062045C /* PSMTabDragWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = 37A9009D0C279CAD0062045C /* PSMTabDragWindowController.m */; };
37A9FB6E0C25FE2B0062045C /* PSMTabDragView.h in Headers */ = {isa = PBXBuildFile; fileRef = 37A9FB6C0C25FE2B0062045C /* PSMTabDragView.h */; };
37A9FB6F0C25FE2B0062045C /* PSMTabDragView.m in Sources */ = {isa = PBXBuildFile; fileRef = 37A9FB6D0C25FE2B0062045C /* PSMTabDragView.m */; };
- 37A9FB700C25FE2B0062045C /* PSMTabDragView.m in Sources */ = {isa = PBXBuildFile; fileRef = 37A9FB6D0C25FE2B0062045C /* PSMTabDragView.m */; };
- 37AF9DE10C945DC8003CAABC /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 318F2E320C7D17E300DE79A7 /* Carbon.framework */; };
546DEAF1067F63070098DCC4 /* PSMTabBarControl.m in Sources */ = {isa = PBXBuildFile; fileRef = 0259C576FE90428111CA0C5A /* PSMTabBarControl.m */; };
546DEAF2067F630E0098DCC4 /* PSMTabBarControl.h in Headers */ = {isa = PBXBuildFile; fileRef = 0259C57AFE90428111CA0C5A /* PSMTabBarControl.h */; settings = {ATTRIBUTES = (Public, ); }; };
- 54D33B2906778E3300C9C163 /* PSMTabBarControl.ibclassdescription in Resources */ = {isa = PBXBuildFile; fileRef = 54D33B2806778E3300C9C163 /* PSMTabBarControl.ibclassdescription */; };
- 8D1AC9670486D14A00FE50C9 /* PSMTabBarControlInspector.nib in Resources */ = {isa = PBXBuildFile; fileRef = 0259C57EFE90428111CA0C5A /* PSMTabBarControlInspector.nib */; };
- 8D1AC9680486D14A00FE50C9 /* PSMTabBarControlPalette.nib in Resources */ = {isa = PBXBuildFile; fileRef = 0259C580FE90428111CA0C5A /* PSMTabBarControlPalette.nib */; };
- 8D1AC9690486D14A00FE50C9 /* palette.table in Resources */ = {isa = PBXBuildFile; fileRef = 0259C583FE90428111CA0C5A /* palette.table */; };
- 8D1AC96C0486D14A00FE50C9 /* PSMTabBarControlInspector.m in Sources */ = {isa = PBXBuildFile; fileRef = 0259C577FE90428111CA0C5A /* PSMTabBarControlInspector.m */; settings = {ATTRIBUTES = (); }; };
- 8D1AC96D0486D14A00FE50C9 /* PSMTabBarControlPalette.m in Sources */ = {isa = PBXBuildFile; fileRef = 0259C578FE90428111CA0C5A /* PSMTabBarControlPalette.m */; settings = {ATTRIBUTES = (); }; };
- 8D1AC9700486D14A00FE50C9 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DD92D38A0106425D02CA0E72 /* Cocoa.framework */; };
- 8D1AC9800486D23B00FE50C9 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 8D1AC97F0486D23B00FE50C9 /* InfoPlist.strings */; };
A2082A9109EAEB34009AC8BE /* PSMTabDragAssistant.m in Sources */ = {isa = PBXBuildFile; fileRef = A2082A8E09EAEB33009AC8BE /* PSMTabDragAssistant.m */; };
- A2082A9209EAEB34009AC8BE /* PSMTabDragAssistant.m in Sources */ = {isa = PBXBuildFile; fileRef = A2082A8E09EAEB33009AC8BE /* PSMTabDragAssistant.m */; };
A2129BB309AEB58F00724E6C /* PSMProgressIndicator.m in Sources */ = {isa = PBXBuildFile; fileRef = A2129BB009AEB58F00724E6C /* PSMProgressIndicator.m */; };
A251BE850959A1B90058BC7F /* PSMOverflowPopUpButton.h in Headers */ = {isa = PBXBuildFile; fileRef = A251BE810959A1B90058BC7F /* PSMOverflowPopUpButton.h */; settings = {ATTRIBUTES = (Public, ); }; };
A251BE860959A1B90058BC7F /* PSMOverflowPopUpButton.m in Sources */ = {isa = PBXBuildFile; fileRef = A251BE820959A1B90058BC7F /* PSMOverflowPopUpButton.m */; };
@@ -110,13 +90,6 @@
A268EA6309A9831800E082AA /* PSMRolloverButton.m in Sources */ = {isa = PBXBuildFile; fileRef = A268EA6009A9831800E082AA /* PSMRolloverButton.m */; };
A2A711BB09E5AE1E00D0089B /* Window.nib in Resources */ = {isa = PBXBuildFile; fileRef = A2A711B909E5AE1E00D0089B /* Window.nib */; };
A2A711BF09E5BF0500D0089B /* WindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = A2A711BE09E5BF0500D0089B /* WindowController.m */; };
- A2BEC7DD09C1E80400B8B4B6 /* PSMTabBarControl.m in Sources */ = {isa = PBXBuildFile; fileRef = 0259C576FE90428111CA0C5A /* PSMTabBarControl.m */; };
- A2BEC7DE09C1E80400B8B4B6 /* PSMTabBarCell.m in Sources */ = {isa = PBXBuildFile; fileRef = A251BE840959A1B90058BC7F /* PSMTabBarCell.m */; };
- A2BEC7DF09C1E80400B8B4B6 /* PSMAquaTabStyle.m in Sources */ = {isa = PBXBuildFile; fileRef = A2D32EE709A6399300EC8662 /* PSMAquaTabStyle.m */; };
- A2BEC7E009C1E80400B8B4B6 /* PSMMetalTabStyle.m in Sources */ = {isa = PBXBuildFile; fileRef = A2D32EFF09A63D7A00EC8662 /* PSMMetalTabStyle.m */; };
- A2BEC7E109C1E80400B8B4B6 /* PSMRolloverButton.m in Sources */ = {isa = PBXBuildFile; fileRef = A268EA6009A9831800E082AA /* PSMRolloverButton.m */; };
- A2BEC7E209C1E80400B8B4B6 /* PSMOverflowPopUpButton.m in Sources */ = {isa = PBXBuildFile; fileRef = A251BE820959A1B90058BC7F /* PSMOverflowPopUpButton.m */; };
- A2BEC7E309C1E80400B8B4B6 /* PSMProgressIndicator.m in Sources */ = {isa = PBXBuildFile; fileRef = A2129BB009AEB58F00724E6C /* PSMProgressIndicator.m */; };
A2D32EDC09A634C900EC8662 /* PSMTabStyle.h in Headers */ = {isa = PBXBuildFile; fileRef = A2D32EDA09A634C900EC8662 /* PSMTabStyle.h */; settings = {ATTRIBUTES = (Public, ); }; };
A2D32EE809A6399300EC8662 /* PSMAquaTabStyle.h in Headers */ = {isa = PBXBuildFile; fileRef = A2D32EE609A6399300EC8662 /* PSMAquaTabStyle.h */; };
A2D32EE909A6399300EC8662 /* PSMAquaTabStyle.m in Sources */ = {isa = PBXBuildFile; fileRef = A2D32EE709A6399300EC8662 /* PSMAquaTabStyle.m */; };
@@ -124,9 +97,7 @@
A2D32F0109A63D7A00EC8662 /* PSMMetalTabStyle.m in Sources */ = {isa = PBXBuildFile; fileRef = A2D32EFF09A63D7A00EC8662 /* PSMMetalTabStyle.m */; };
A2D98B0A0A2B432C0064C6F8 /* PSMUnifiedTabStyle.h in Headers */ = {isa = PBXBuildFile; fileRef = A2D98B070A2B432C0064C6F8 /* PSMUnifiedTabStyle.h */; };
A2D98B0B0A2B432C0064C6F8 /* PSMUnifiedTabStyle.m in Sources */ = {isa = PBXBuildFile; fileRef = A2D98B080A2B432C0064C6F8 /* PSMUnifiedTabStyle.m */; };
- A2D98B0C0A2B432C0064C6F8 /* PSMUnifiedTabStyle.m in Sources */ = {isa = PBXBuildFile; fileRef = A2D98B080A2B432C0064C6F8 /* PSMUnifiedTabStyle.m */; };
A2D98B130A2B43FA0064C6F8 /* NSBezierPath_AMShading.m in Sources */ = {isa = PBXBuildFile; fileRef = A2D98B100A2B43FA0064C6F8 /* NSBezierPath_AMShading.m */; };
- A2D98B140A2B43FA0064C6F8 /* NSBezierPath_AMShading.m in Sources */ = {isa = PBXBuildFile; fileRef = A2D98B100A2B43FA0064C6F8 /* NSBezierPath_AMShading.m */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
@@ -144,13 +115,6 @@
remoteGlobalIDString = A251BE9F0959BB5B0058BC7F;
remoteInfo = TabBarControlDemo;
};
- 53DF6902067E5B930090B5B0 /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 0259C573FE90428111CA0C5A /* Project object */;
- proxyType = 1;
- remoteGlobalIDString = 8D1AC9600486D14A00FE50C9;
- remoteInfo = PSMTabBarControl;
- };
53DF6904067E5B930090B5B0 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 0259C573FE90428111CA0C5A /* Project object */;
@@ -175,14 +139,7 @@
/* Begin PBXFileReference section */
0259C576FE90428111CA0C5A /* PSMTabBarControl.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = PSMTabBarControl.m; path = source/PSMTabBarControl.m; sourceTree = "<group>"; };
- 0259C577FE90428111CA0C5A /* PSMTabBarControlInspector.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = PSMTabBarControlInspector.m; path = source/PSMTabBarControlInspector.m; sourceTree = "<group>"; };
- 0259C578FE90428111CA0C5A /* PSMTabBarControlPalette.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = PSMTabBarControlPalette.m; path = source/PSMTabBarControlPalette.m; sourceTree = "<group>"; };
0259C57AFE90428111CA0C5A /* PSMTabBarControl.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = PSMTabBarControl.h; path = source/PSMTabBarControl.h; sourceTree = "<group>"; };
- 0259C57BFE90428111CA0C5A /* PSMTabBarControlInspector.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = PSMTabBarControlInspector.h; path = source/PSMTabBarControlInspector.h; sourceTree = "<group>"; };
- 0259C57CFE90428111CA0C5A /* PSMTabBarControlPalette.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = PSMTabBarControlPalette.h; path = source/PSMTabBarControlPalette.h; sourceTree = "<group>"; };
- 0259C57FFE90428111CA0C5A /* English */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = English.lproj/PSMTabBarControlInspector.nib; sourceTree = "<group>"; };
- 0259C581FE90428111CA0C5A /* English */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = English.lproj/PSMTabBarControlPalette.nib; sourceTree = "<group>"; };
- 0259C583FE90428111CA0C5A /* palette.table */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = palette.table; sourceTree = "<group>"; };
13EB9DBD07DE0F1E00EB933A /* InterfaceBuilder.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = InterfaceBuilder.framework; path = /System/Library/Frameworks/InterfaceBuilder.framework; sourceTree = "<absolute>"; };
13F8B88807B434F6008AE28D /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = "<absolute>"; };
13F8B88A07B434F6008AE28D /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; };
@@ -192,16 +149,13 @@
317A8F250C7BF0C20019DEC6 /* English */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = English.lproj/MainMenu.nib; sourceTree = "<group>"; };
318F2E320C7D17E300DE79A7 /* Carbon.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Carbon.framework; path = /System/Library/Frameworks/Carbon.framework; sourceTree = "<absolute>"; };
318F2ED20C7D185700DE79A7 /* Framework_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Framework_Prefix.pch; path = source/Framework_Prefix.pch; sourceTree = "<group>"; };
- 32DBCF980370C29C00C91783 /* PSMTabBarControl_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PSMTabBarControl_Prefix.pch; path = source/PSMTabBarControl_Prefix.pch; sourceTree = "<group>"; };
3437A2E90BC8E86F003A0BAE /* largeImage.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = largeImage.png; path = images/largeImage.png; sourceTree = "<group>"; };
347545AE0C4944DA003E81B8 /* NSString_AITruncation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = NSString_AITruncation.h; path = source/NSString_AITruncation.h; sourceTree = "<group>"; };
347545AF0C4944DA003E81B8 /* NSString_AITruncation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = NSString_AITruncation.m; path = source/NSString_AITruncation.m; sourceTree = "<group>"; };
- 34FD82610BAC685B00BBAA24 /* TabControlRep.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = TabControlRep.png; path = images/TabControlRep.png; sourceTree = "<group>"; };
34FD82620BAC685B00BBAA24 /* AquaTabsSeparator.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = AquaTabsSeparator.png; path = images/AquaTabsSeparator.png; sourceTree = "<group>"; };
34FD82650BAC685B00BBAA24 /* AquaTabsDown.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = AquaTabsDown.png; path = images/AquaTabsDown.png; sourceTree = "<group>"; };
34FD82660BAC685B00BBAA24 /* pi.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = pi.png; path = images/pi.png; sourceTree = "<group>"; };
34FD82670BAC685B00BBAA24 /* sally_large.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; name = sally_large.jpg; path = images/sally_large.jpg; sourceTree = "<group>"; };
- 34FD82680BAC685B00BBAA24 /* TabIcon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = TabIcon.png; path = images/TabIcon.png; sourceTree = "<group>"; };
34FD82690BAC685B00BBAA24 /* overflowImagePressed.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = overflowImagePressed.png; path = images/overflowImagePressed.png; sourceTree = "<group>"; };
34FD826A0BAC685B00BBAA24 /* AquaTabsBackground.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = AquaTabsBackground.png; path = images/AquaTabsBackground.png; sourceTree = "<group>"; };
34FD826B0BAC685B00BBAA24 /* AquaTabNewRollover.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = AquaTabNewRollover.png; path = images/AquaTabNewRollover.png; sourceTree = "<group>"; };
@@ -243,9 +197,7 @@
37A9FB6D0C25FE2B0062045C /* PSMTabDragView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = PSMTabDragView.m; path = source/PSMTabDragView.m; sourceTree = "<group>"; };
53DF68FD067E5B5A0090B5B0 /* PSMTabBarControl.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = PSMTabBarControl.framework; sourceTree = BUILT_PRODUCTS_DIR; };
53DF68FE067E5B5A0090B5B0 /* PSMTabBarControlFramework-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "PSMTabBarControlFramework-Info.plist"; sourceTree = "<group>"; };
- 54D33B2806778E3300C9C163 /* PSMTabBarControl.ibclassdescription */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = PSMTabBarControl.ibclassdescription; sourceTree = "<group>"; };
8D1AC9730486D14A00FE50C9 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
- 8D1AC9740486D14A00FE50C9 /* PSMTabBarControl.palette */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PSMTabBarControl.palette; sourceTree = BUILT_PRODUCTS_DIR; };
8D1AC97B0486D23100FE50C9 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; };
A2082A8D09EAEB33009AC8BE /* PSMTabDragAssistant.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PSMTabDragAssistant.h; path = source/PSMTabDragAssistant.h; sourceTree = "<group>"; };
A2082A8E09EAEB33009AC8BE /* PSMTabDragAssistant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = PSMTabDragAssistant.m; path = source/PSMTabDragAssistant.m; sourceTree = "<group>"; };
@@ -287,17 +239,6 @@
buildActionMask = 2147483647;
files = (
13F8B89007B43554008AE28D /* Cocoa.framework in Frameworks */,
- 318F2E330C7D17E300DE79A7 /* Carbon.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 8D1AC96E0486D14A00FE50C9 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 8D1AC9700486D14A00FE50C9 /* Cocoa.framework in Frameworks */,
- 37AF9DE10C945DC8003CAABC /* Carbon.framework in Frameworks */,
- 13EB9DBE07DE0F1E00EB933A /* InterfaceBuilder.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -317,7 +258,6 @@
children = (
A251BE9B0959A2530058BC7F /* ReadMe.rtfd */,
A246FADE0A2BD446005BDF7B /* Documentation */,
- 32DBCF9E0370C38000C91783 /* Palette */,
54D33B2C06778E4400C9C163 /* Framework */,
A251BE590959A0550058BC7F /* Demo App */,
0259C582FE90428111CA0C5A /* Resources */,
@@ -345,17 +285,6 @@
name = Resources;
sourceTree = "<group>";
};
- 131E8FE8067F80F40006E0CE /* Resources */ = {
- isa = PBXGroup;
- children = (
- 34FD82610BAC685B00BBAA24 /* TabControlRep.png */,
- 34FD82680BAC685B00BBAA24 /* TabIcon.png */,
- 0259C57EFE90428111CA0C5A /* PSMTabBarControlInspector.nib */,
- 0259C580FE90428111CA0C5A /* PSMTabBarControlPalette.nib */,
- );
- name = Resources;
- sourceTree = "<group>";
- };
13F8B6FD07B43410008AE28D /* Linked Frameworks */ = {
isa = PBXGroup;
children = (
@@ -378,7 +307,6 @@
1ED78706FE9D4A0611CA0C5A /* Products */ = {
isa = PBXGroup;
children = (
- 8D1AC9740486D14A00FE50C9 /* PSMTabBarControl.palette */,
53DF68FD067E5B5A0090B5B0 /* PSMTabBarControl.framework */,
A251BEA00959BB5B0058BC7F /* TabBarControlDemo.app */,
);
@@ -394,26 +322,6 @@
name = Frameworks;
sourceTree = "<group>";
};
- 32DBCF9E0370C38000C91783 /* Palette */ = {
- isa = PBXGroup;
- children = (
- 54D33B2406778DD400C9C163 /* Undo Support */,
- 54D33B2506778DF000C9C163 /* Classes */,
- 32DBCF9F0370C38200C91783 /* Other Sources */,
- 131E8FE8067F80F40006E0CE /* Resources */,
- 0259C583FE90428111CA0C5A /* palette.table */,
- );
- name = Palette;
- sourceTree = "<group>";
- };
- 32DBCF9F0370C38200C91783 /* Other Sources */ = {
- isa = PBXGroup;
- children = (
- 32DBCF980370C29C00C91783 /* PSMTabBarControl_Prefix.pch */,
- );
- name = "Other Sources";
- sourceTree = "<group>";
- };
3767A55A0A2C0449005F7522 /* Styles */ = {
isa = PBXGroup;
children = (
@@ -430,25 +338,6 @@
name = Styles;
sourceTree = "<group>";
};
- 54D33B2406778DD400C9C163 /* Undo Support */ = {
- isa = PBXGroup;
- children = (
- 54D33B2806778E3300C9C163 /* PSMTabBarControl.ibclassdescription */,
- );
- name = "Undo Support";
- sourceTree = "<group>";
- };
- 54D33B2506778DF000C9C163 /* Classes */ = {
- isa = PBXGroup;
- children = (
- 0259C57BFE90428111CA0C5A /* PSMTabBarControlInspector.h */,
- 0259C577FE90428111CA0C5A /* PSMTabBarControlInspector.m */,
- 0259C57CFE90428111CA0C5A /* PSMTabBarControlPalette.h */,
- 0259C578FE90428111CA0C5A /* PSMTabBarControlPalette.m */,
- );
- name = Classes;
- sourceTree = "<group>";
- };
54D33B2C06778E4400C9C163 /* Framework */ = {
isa = PBXGroup;
children = (
@@ -589,24 +478,6 @@
productReference = 53DF68FD067E5B5A0090B5B0 /* PSMTabBarControl.framework */;
productType = "com.apple.product-type.framework";
};
- 8D1AC9600486D14A00FE50C9 /* PSMTabBarControl */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = C056398308A954F8003078D8 /* Build configuration list for PBXNativeTarget "PSMTabBarControl" */;
- buildPhases = (
- 8D1AC9660486D14A00FE50C9 /* Resources */,
- 8D1AC96A0486D14A00FE50C9 /* Sources */,
- 8D1AC96E0486D14A00FE50C9 /* Frameworks */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = PSMTabBarControl;
- productInstallPath = "$(HOME)/Developer/Palettes";
- productName = PSMTabBarControl;
- productReference = 8D1AC9740486D14A00FE50C9 /* PSMTabBarControl.palette */;
- productType = "com.apple.product-type.bundle";
- };
A251BE9F0959BB5B0058BC7F /* TabBarControlDemo */ = {
isa = PBXNativeTarget;
buildConfigurationList = A251BEA30959BB5C0058BC7F /* Build configuration list for PBXNativeTarget "TabBarControlDemo" */;
@@ -631,14 +502,20 @@
/* Begin PBXProject section */
0259C573FE90428111CA0C5A /* Project object */ = {
isa = PBXProject;
+ attributes = {
+ LastUpgradeCheck = 0410;
+ };
buildConfigurationList = C056398B08A954F8003078D8 /* Build configuration list for PBXProject "PSMTabBarControl" */;
- compatibilityVersion = "Xcode 3.1";
+ compatibilityVersion = "Xcode 3.2";
+ developmentRegion = English;
hasScannedForEncodings = 1;
+ knownRegions = (
+ en,
+ );
mainGroup = 0259C574FE90428111CA0C5A /* PSMTabBarControl */;
projectDirPath = "";
projectRoot = "";
targets = (
- 8D1AC9600486D14A00FE50C9 /* PSMTabBarControl */,
A251BE9F0959BB5B0058BC7F /* TabBarControlDemo */,
53DF68FC067E5B5A0090B5B0 /* PSMTabBarControlFramework */,
53DF6901067E5B8E0090B5B0 /* All */,
@@ -684,20 +561,6 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
- 8D1AC9660486D14A00FE50C9 /* Resources */ = {
- isa = PBXResourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 8D1AC9670486D14A00FE50C9 /* PSMTabBarControlInspector.nib in Resources */,
- 8D1AC9680486D14A00FE50C9 /* PSMTabBarControlPalette.nib in Resources */,
- 8D1AC9690486D14A00FE50C9 /* palette.table in Resources */,
- 8D1AC9800486D23B00FE50C9 /* InfoPlist.strings in Resources */,
- 54D33B2906778E3300C9C163 /* PSMTabBarControl.ibclassdescription in Resources */,
- 34FD82B70BAC687900BBAA24 /* TabControlRep.png in Resources */,
- 34FD82C00BAC688500BBAA24 /* TabIcon.png in Resources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
A251BE9C0959BB5B0058BC7F /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
@@ -740,30 +603,6 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
- 8D1AC96A0486D14A00FE50C9 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 8D1AC96C0486D14A00FE50C9 /* PSMTabBarControlInspector.m in Sources */,
- 8D1AC96D0486D14A00FE50C9 /* PSMTabBarControlPalette.m in Sources */,
- A2BEC7DD09C1E80400B8B4B6 /* PSMTabBarControl.m in Sources */,
- A2BEC7DE09C1E80400B8B4B6 /* PSMTabBarCell.m in Sources */,
- A2BEC7DF09C1E80400B8B4B6 /* PSMAquaTabStyle.m in Sources */,
- A2BEC7E009C1E80400B8B4B6 /* PSMMetalTabStyle.m in Sources */,
- A2BEC7E109C1E80400B8B4B6 /* PSMRolloverButton.m in Sources */,
- A2BEC7E209C1E80400B8B4B6 /* PSMOverflowPopUpButton.m in Sources */,
- A2BEC7E309C1E80400B8B4B6 /* PSMProgressIndicator.m in Sources */,
- A2082A9209EAEB34009AC8BE /* PSMTabDragAssistant.m in Sources */,
- A2D98B0C0A2B432C0064C6F8 /* PSMUnifiedTabStyle.m in Sources */,
- A2D98B140A2B43FA0064C6F8 /* NSBezierPath_AMShading.m in Sources */,
- 3767A91E0A2F7A11005F7522 /* PSMTabDragWindow.m in Sources */,
- 3748D19D0B17834D002D71C0 /* PSMTabBarController.m in Sources */,
- 37A9FB700C25FE2B0062045C /* PSMTabDragView.m in Sources */,
- 37A9009E0C279CAD0062045C /* PSMTabDragWindowController.m in Sources */,
- 3482DF150C5BF90E00426F15 /* PSMAdiumTabStyle.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
A251BE9D0959BB5B0058BC7F /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
@@ -788,11 +627,6 @@
target = A251BE9F0959BB5B0058BC7F /* TabBarControlDemo */;
targetProxy = 3767A65C0A2D0C5C005F7522 /* PBXContainerItemProxy */;
};
- 53DF6903067E5B930090B5B0 /* PBXTargetDependency */ = {
- isa = PBXTargetDependency;
- target = 8D1AC9600486D14A00FE50C9 /* PSMTabBarControl */;
- targetProxy = 53DF6902067E5B930090B5B0 /* PBXContainerItemProxy */;
- };
53DF6905067E5B930090B5B0 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 53DF68FC067E5B5A0090B5B0 /* PSMTabBarControlFramework */;
@@ -801,22 +635,6 @@
/* End PBXTargetDependency section */
/* Begin PBXVariantGroup section */
- 0259C57EFE90428111CA0C5A /* PSMTabBarControlInspector.nib */ = {
- isa = PBXVariantGroup;
- children = (
- 0259C57FFE90428111CA0C5A /* English */,
- );
- name = PSMTabBarControlInspector.nib;
- sourceTree = "<group>";
- };
- 0259C580FE90428111CA0C5A /* PSMTabBarControlPalette.nib */ = {
- isa = PBXVariantGroup;
- children = (
- 0259C581FE90428111CA0C5A /* English */,
- );
- name = PSMTabBarControlPalette.nib;
- sourceTree = "<group>";
- };
317A8F240C7BF0C20019DEC6 /* MainMenu.nib */ = {
isa = PBXVariantGroup;
children = (
@@ -847,10 +665,10 @@
A251BEA40959BB5C0058BC7F /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
+ ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
COPY_PHASE_STRIP = NO;
GCC_C_LANGUAGE_STANDARD = c99;
GCC_DYNAMIC_NO_PIC = NO;
- GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
GCC_MODEL_TUNING = G5;
GCC_OPTIMIZATION_LEVEL = 0;
@@ -864,7 +682,6 @@
"-framework",
AppKit,
);
- PREBINDING = NO;
PRODUCT_NAME = TabBarControlDemo;
WRAPPER_EXTENSION = app;
ZERO_LINK = NO;
@@ -874,9 +691,9 @@
A251BEA50959BB5C0058BC7F /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
+ ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
COPY_PHASE_STRIP = YES;
GCC_C_LANGUAGE_STANDARD = c99;
- GCC_ENABLE_FIX_AND_CONTINUE = NO;
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GCC_MODEL_TUNING = G5;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
@@ -889,7 +706,6 @@
"-framework",
AppKit,
);
- PREBINDING = NO;
PRODUCT_NAME = TabBarControlDemo;
WRAPPER_EXTENSION = app;
ZERO_LINK = NO;
@@ -899,13 +715,13 @@
C056398008A954F8003078D8 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
+ ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
COPY_PHASE_STRIP = NO;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
FRAMEWORK_VERSION = A;
GCC_C_LANGUAGE_STANDARD = c99;
GCC_DYNAMIC_NO_PIC = NO;
- GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = source/Framework_Prefix.pch;
@@ -923,6 +739,7 @@
C056398108A954F8003078D8 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
+ ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
FRAMEWORK_VERSION = A;
@@ -940,56 +757,11 @@
};
name = Release;
};
- C056398408A954F8003078D8 /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- COPY_PHASE_STRIP = NO;
- FRAMEWORK_SEARCH_PATHS = (
- "$(FRAMEWORK_SEARCH_PATHS)",
- "$(SRCROOT)/../../../Library/Frameworks",
- );
- GCC_C_LANGUAGE_STANDARD = c99;
- GCC_DYNAMIC_NO_PIC = NO;
- GCC_ENABLE_FIX_AND_CONTINUE = YES;
- GCC_MODEL_TUNING = G5;
- GCC_OPTIMIZATION_LEVEL = 0;
- GCC_PRECOMPILE_PREFIX_HEADER = YES;
- GCC_PREFIX_HEADER = source/PSMTabBarControl_Prefix.pch;
- INFOPLIST_FILE = Info.plist;
- INSTALL_PATH = "$(HOME)/Library/Palettes";
- PRODUCT_NAME = PSMTabBarControl;
- WRAPPER_EXTENSION = palette;
- ZERO_LINK = NO;
- };
- name = Debug;
- };
- C056398508A954F8003078D8 /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ARCHS = (
- ppc,
- i386,
- );
- FRAMEWORK_SEARCH_PATHS = "$(FRAMEWORK_SEARCH_PATHS)";
- GCC_C_LANGUAGE_STANDARD = c99;
- GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
- GCC_MODEL_TUNING = G5;
- GCC_PRECOMPILE_PREFIX_HEADER = YES;
- GCC_PREFIX_HEADER = source/PSMTabBarControl_Prefix.pch;
- INFOPLIST_FILE = Info.plist;
- INSTALL_PATH = "$(HOME)/Library/Palettes";
- PRODUCT_NAME = PSMTabBarControl;
- SDKROOT = macosx10.4;
- WRAPPER_EXTENSION = palette;
- };
- name = Release;
- };
C056398808A954F8003078D8 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
COPY_PHASE_STRIP = NO;
GCC_DYNAMIC_NO_PIC = NO;
- GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_MODEL_TUNING = G5;
GCC_OPTIMIZATION_LEVEL = 0;
PRODUCT_NAME = All;
@@ -1027,8 +799,7 @@
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
ONLY_ACTIVE_ARCH = YES;
- PREBINDING = NO;
- SDKROOT = macosx10.5;
+ SDKROOT = macosx;
};
name = Debug;
};
@@ -1043,8 +814,7 @@
GCC_MODEL_TUNING = G5;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
- PREBINDING = NO;
- SDKROOT = macosx10.5;
+ SDKROOT = macosx;
};
name = Release;
};
@@ -1069,15 +839,6 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
- C056398308A954F8003078D8 /* Build configuration list for PBXNativeTarget "PSMTabBarControl" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- C056398408A954F8003078D8 /* Debug */,
- C056398508A954F8003078D8 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
C056398708A954F8003078D8 /* Build configuration list for PBXAggregateTarget "All" */ = {
isa = XCConfigurationList;
buildConfigurations = (
View
BIN  images/TabControlRep.png
Deleted file not rendered
View
BIN  images/TabIcon.png
Deleted file not rendered
View
43 palette.table
@@ -1,43 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
-<plist version="0.9">
-<dict>
- <!-- a subclass of IBPalette -->
- <key>Class</key> <string>PSMTabBarControlPalette</string>
-
- <!-- a nib file name -->
- <key>NibFile</key> <string>PSMTabBarControlPalette</string>
-
- <!-- a tiff file name for icon used for palette -->
- <key>Icon</key> <string>TabIcon.tif</string>
-
- <!-- Tool Tips string for the palette icon -->
- <key>ToolTips</key> <string>PSMTabBarControl</string>
-
- <!-- a list of class names exported from palette to IB -->
- <key>ExportClasses</key>
- <array>
- <string>PSMTabBarControl</string>
- <string>PSMTabBarCell</string>
- <string>PSMAdiumTabStyle</string>
- <string>PSMAquaTabStyle</string>
- <string>PSMMetalTabStyle</string>
- <string>PSMRolloverButton</string>
- <string>PSMProgressIndcator</string>
- <string>PSMOverflowPopUpButton</string>
- </array>
-
- <!-- a list of image names exported from palette to IB -->
- <key>ExportImages</key>
- <array>
- <string>TabControlRep.tif</string>
- <string>TabIcon.tif</string>
- </array>
-
- <!-- a list of sound names exported from palette to IB -->
- <key>ExportSounds</key>
- <array>
- </array>
-
-</dict>
-</plist>
View
1  source/AppController.m
@@ -14,7 +14,6 @@ @implementation AppController
- (void)awakeFromNib
{
[self newWindow:self];
- [self newWindow:self];
NSRect frontFrame = [[NSApp keyWindow] frame];
frontFrame.origin.x += 400;
[[NSApp keyWindow] setFrame:frontFrame display:YES];
View
2  source/Framework_Prefix.pch
@@ -1,5 +1,3 @@
-#include <Carbon/Carbon.h>
-
#ifdef __OBJC__
# import <Cocoa/Cocoa.h>
#endif
View
174 source/PSMMetalTabStyle.m
@@ -311,15 +311,8 @@ - (NSAttributedString *)attributedStringValueForTabCell:(PSMTabBarCell *)cell
[attrStr addAttribute:NSForegroundColorAttributeName value:[[NSColor textColor] colorWithAlphaComponent:0.75] range:range];
// Add shadow attribute
- NSShadow* shadow;
- shadow = [[[NSShadow alloc] init] autorelease];
- CGFloat shadowAlpha;
- if (([cell state] == NSOnState) || [cell isHighlighted]) {
- shadowAlpha = 0.8;
- } else {
- shadowAlpha = 0.5;
- }
- [shadow setShadowColor:[NSColor colorWithCalibratedWhite:1.0 alpha:shadowAlpha]];
+ NSShadow* shadow = shadow = [[[NSShadow alloc] init] autorelease];
+ [shadow setShadowColor:[NSColor colorWithCalibratedWhite:1.0 alpha:0.5]];
[shadow setShadowOffset:NSMakeSize(0, -1)];
[shadow setShadowBlurRadius:1.0];
[attrStr addAttribute:NSShadowAttributeName value:shadow range:range];
@@ -331,6 +324,7 @@ - (NSAttributedString *)attributedStringValueForTabCell:(PSMTabBarCell *)cell
[TruncatingTailParagraphStyle setLineBreakMode:NSLineBreakByTruncatingTail];
[TruncatingTailParagraphStyle setAlignment:NSCenterTextAlignment];
}
+
[attrStr addAttribute:NSParagraphStyleAttributeName value:TruncatingTailParagraphStyle range:range];
return attrStr;
@@ -408,12 +402,6 @@ - (void)drawTabCell:(PSMTabBarCell *)cell
aRect.origin.x += 1.5;
aRect.size.width -= 1;
- // rollover
- if ([cell isHighlighted]) {
- [[NSColor colorWithCalibratedWhite:0.0 alpha:0.1] set];
- NSRectFillUsingOperation(aRect, NSCompositeSourceAtop);
- }
-
[lineColor set];
if (orientation == PSMTabBarHorizontalOrientation) {
@@ -448,97 +436,85 @@ - (void)drawTabCell:(PSMTabBarCell *)cell
- (void)drawInteriorWithTabCell:(PSMTabBarCell *)cell inView:(NSView*)controlView
{
- NSRect cellFrame = [cell frame];
- CGFloat labelPosition = cellFrame.origin.x + MARGIN_X;
-
- // close button
- if ([cell hasCloseButton] && ![cell isCloseButtonSuppressed]) {
- NSSize closeButtonSize = NSZeroSize;
- NSRect closeButtonRect = [cell closeButtonRectForFrame:cellFrame];
- NSImage * closeButton = nil;
-
- closeButton = [cell isEdited] ? metalCloseDirtyButton : metalCloseButton;
- if ([cell closeButtonOver]) closeButton = [cell isEdited] ? metalCloseDirtyButtonOver : metalCloseButtonOver;
- if ([cell closeButtonPressed]) closeButton = [cell isEdited] ? metalCloseDirtyButtonDown : metalCloseButtonDown;
-
- closeButtonSize = [closeButton size];
- if ([controlView isFlipped]) {
- closeButtonRect.origin.y += closeButtonRect.size.height;
- }
-
- [closeButton compositeToPoint:closeButtonRect.origin operation:NSCompositeSourceOver fraction:1.0];
-
- // scoot label over
- labelPosition += closeButtonSize.width + kPSMTabBarCellPadding;
+ NSRect cellFrame = [cell frame];
+
+ // close button - only show if mouse over cell
+ if ([cell hasCloseButton] && ![cell isCloseButtonSuppressed] && [cell isHighlighted])
+ {
+ NSSize closeButtonSize = NSZeroSize;
+ NSRect closeButtonRect = [cell closeButtonRectForFrame:cellFrame];
+ NSImage *closeButton = nil;
+
+ closeButton = [cell isEdited] ? metalCloseDirtyButton : metalCloseButton;
+ if ([cell closeButtonOver]) closeButton = [cell isEdited] ? metalCloseDirtyButtonOver : metalCloseButtonOver;
+ if ([cell closeButtonPressed]) closeButton = [cell isEdited] ? metalCloseDirtyButtonDown : metalCloseButtonDown;
+
+ closeButtonSize = [closeButton size];
+ if ([controlView isFlipped]) {
+ closeButtonRect.origin.y += closeButtonRect.size.height;
}
- // icon
- if ([cell hasIcon]) {
- NSRect iconRect = [self iconRectForTabCell:cell];
- NSImage *icon = [[[cell representedObject] identifier] icon];
-
- if ([controlView isFlipped]) {
- iconRect.origin.y += iconRect.size.height;
- }
-
- // center in available space (in case icon image is smaller than kPSMTabBarIconWidth)
- if ([icon size].width < kPSMTabBarIconWidth) {
- iconRect.origin.x += (kPSMTabBarIconWidth - [icon size].width)/2.0;
- }
- if ([icon size].height < kPSMTabBarIconWidth) {
- iconRect.origin.y -= (kPSMTabBarIconWidth - [icon size].height)/2.0;
- }
-
- [icon compositeToPoint:iconRect.origin operation:NSCompositeSourceOver fraction:1.0];
-
- // scoot label over
- labelPosition += iconRect.size.width + kPSMTabBarCellPadding;
+ [closeButton compositeToPoint:closeButtonRect.origin operation:NSCompositeSourceOver fraction:1.0];
+ }
+
+ // icon
+ if ([cell hasIcon])
+ {
+ NSRect iconRect = [self iconRectForTabCell:cell];
+ NSImage *icon = [[[cell representedObject] identifier] icon];
+
+ if ([controlView isFlipped])
+ {
+ iconRect.origin.y += iconRect.size.height;
}
-
- // label rect
- NSRect labelRect;
- labelRect.origin.x = labelPosition;
- labelRect.size.width = cellFrame.size.width - (labelRect.origin.x - cellFrame.origin.x) - kPSMTabBarCellPadding;
- labelRect.size.height = cellFrame.size.height;
- labelRect.origin.y = cellFrame.origin.y + MARGIN_Y + 1.0;
-
- if ([cell state] == NSOnState) {
- labelRect.origin.y -= 1;
+
+ // center in available space (in case icon image is smaller than kPSMTabBarIconWidth)
+ if ([icon size].width < kPSMTabBarIconWidth)
+ {
+ iconRect.origin.x += (kPSMTabBarIconWidth - [icon size].width)/2.0;
}
- if (![[cell indicator] isHidden]) {
- labelRect.size.width -= (kPSMTabBarIndicatorWidth + kPSMTabBarCellPadding);
+ if ([icon size].height < kPSMTabBarIconWidth)
+ {
+ iconRect.origin.y -= (kPSMTabBarIconWidth - [icon size].height)/2.0;
}
-
- // object counter
- if ([cell count] > 0) {
- [[cell countColor] ?: [NSColor colorWithCalibratedWhite:0.3 alpha:0.6] set];
- NSBezierPath *path = [NSBezierPath bezierPath];
- NSRect myRect = [self objectCounterRectForTabCell:cell];
- if ([cell state] == NSOnState) {
- myRect.origin.y -= 1.0;
- }
- [path moveToPoint:NSMakePoint(myRect.origin.x + kPSMMetalObjectCounterRadius, myRect.origin.y)];
- [path lineToPoint:NSMakePoint(myRect.origin.x + myRect.size.width - kPSMMetalObjectCounterRadius, myRect.origin.y)];
- [path appendBezierPathWithArcWithCenter:NSMakePoint(myRect.origin.x + myRect.size.width - kPSMMetalObjectCounterRadius, myRect.origin.y + kPSMMetalObjectCounterRadius) radius:kPSMMetalObjectCounterRadius startAngle:270.0 endAngle:90.0];
- [path lineToPoint:NSMakePoint(myRect.origin.x + kPSMMetalObjectCounterRadius, myRect.origin.y + myRect.size.height)];
- [path appendBezierPathWithArcWithCenter:NSMakePoint(myRect.origin.x + kPSMMetalObjectCounterRadius, myRect.origin.y + kPSMMetalObjectCounterRadius) radius:kPSMMetalObjectCounterRadius startAngle:90.0 endAngle:270.0];
- [path fill];
-
- // draw attributed string centered in area
- NSRect counterStringRect;
- NSAttributedString *counterString = [self attributedObjectCountValueForTabCell:cell];
- counterStringRect.size = [counterString size];
- counterStringRect.origin.x = myRect.origin.x + ((myRect.size.width - counterStringRect.size.width) / 2.0) + 0.25;
- counterStringRect.origin.y = myRect.origin.y + ((myRect.size.height - counterStringRect.size.height) / 2.0) + 0.5;
- [counterString drawInRect:counterStringRect];
-
- // shrink label width to make room for object counter
- labelRect.size.width -= myRect.size.width + kPSMTabBarCellPadding;
+
+ [icon compositeToPoint:iconRect.origin operation:NSCompositeSourceOver fraction:1.0];
+ }
+
+ // object counter
+ if ([cell count] > 0)
+ {
+ [[cell countColor] ?: [NSColor colorWithCalibratedWhite:0.3 alpha:0.6] set];
+ NSBezierPath *path = [NSBezierPath bezierPath];
+ NSRect myRect = [self objectCounterRectForTabCell:cell];
+ if ([cell state] == NSOnState) {
+ myRect.origin.y -= 1.0;
}
-
- // draw label
- [[cell attributedStringValue] drawInRect:labelRect];
+ [path moveToPoint:NSMakePoint(myRect.origin.x + kPSMMetalObjectCounterRadius, myRect.origin.y)];
+ [path lineToPoint:NSMakePoint(myRect.origin.x + myRect.size.width - kPSMMetalObjectCounterRadius, myRect.origin.y)];
+ [path appendBezierPathWithArcWithCenter:NSMakePoint(myRect.origin.x + myRect.size.width - kPSMMetalObjectCounterRadius, myRect.origin.y + kPSMMetalObjectCounterRadius) radius:kPSMMetalObjectCounterRadius startAngle:270.0 endAngle:90.0];
+ [path lineToPoint:NSMakePoint(myRect.origin.x + kPSMMetalObjectCounterRadius, myRect.origin.y + myRect.size.height)];
+ [path appendBezierPathWithArcWithCenter:NSMakePoint(myRect.origin.x + kPSMMetalObjectCounterRadius, myRect.origin.y + kPSMMetalObjectCounterRadius) radius:kPSMMetalObjectCounterRadius startAngle:90.0 endAngle:270.0];
+ [path fill];
+
+ // draw attributed string centered in area
+ NSRect counterStringRect;
+ NSAttributedString *counterString = [self attributedObjectCountValueForTabCell:cell];
+ counterStringRect.size = [counterString size];
+ counterStringRect.origin.x = myRect.origin.x + ((myRect.size.width - counterStringRect.size.width) / 2.0) + 0.25;
+ counterStringRect.origin.y = myRect.origin.y + ((myRect.size.height - counterStringRect.size.height) / 2.0) + 0.5;
+ [counterString drawInRect:counterStringRect];
+ }
+
+ // draw label
+ NSRect labelRect = cellFrame;
+ NSAttributedString *string = [cell attributedStringValue];
+ float textHeight = [string size].height;
+ labelRect.size.height = textHeight;
+ labelRect.origin.y = (cellFrame.size.height - textHeight) / 2;
+
+ [string drawInRect:labelRect];
}
- (void)drawBackgroundInRect:(NSRect)rect
View
58 source/PSMTabBarControl.m
@@ -18,8 +18,6 @@
#import "PSMTabDragAssistant.h"
#import "PSMTabBarController.h"
-#include <bitstring.h>
-
@interface PSMTabBarControl (Private)
// constructor/destructor
@@ -1446,40 +1444,28 @@ - (NSDragOperation)draggingUpdated:(id <NSDraggingInfo>)sender
} else if (cell) {
//something that was accepted by the delegate was dragged on
- //Test for the space bar (the skip-the-delay key).
- enum { virtualKeycodeForSpace = 49 }; //Source: IM:Tx (Fig. C-2)
- union {
- KeyMap keymap;
- char bits[16];
- } keymap;
- GetKeys(keymap.keymap);
- if ((GetCurrentEventKeyModifiers() == 0) && bit_test(keymap.bits, virtualKeycodeForSpace)) {
- //The user pressed the space bar. This skips the delay; the user wants to pop the spring on this tab *now*.
-
- //For some reason, it crashes if I call -fire here. I don't know why. It doesn't crash if I simply set the fire date to now.
- [_springTimer setFireDate:[NSDate date]];
- } else {
- //Wind the spring for a spring-loaded drop.
- //The delay time comes from Finder's defaults, which specifies it in milliseconds.
- //If the delegate can't handle our spring-loaded drop, we'll abort it when the timer fires. See fireSpring:. This is simpler than constantly (checking for spring-loaded awareness and tearing down/rebuilding the timer) at every delegate change.
-
- //If the user has dragged to a different tab, reset the timer.
- if (_tabViewItemWithSpring != [cell representedObject]) {
- [_springTimer invalidate];
- [_springTimer release]; _springTimer = nil;
- _tabViewItemWithSpring = [cell representedObject];
- }
- if (!_springTimer) {
- //Finder's default delay time, as of Tiger, is 668 ms. If the user has never changed it, there's no setting in its defaults, so we default to that amount.
- NSNumber *delayNumber = [(NSNumber *)CFPreferencesCopyAppValue((CFStringRef)@"SpringingDelayMilliseconds", (CFStringRef)@"com.apple.finder") autorelease];
- NSTimeInterval delaySeconds = delayNumber ? [delayNumber doubleValue] / 1000.0 : 0.668;
- _springTimer = [[NSTimer scheduledTimerWithTimeInterval:delaySeconds
- target:self
- selector:@selector(fireSpring:)
- userInfo:sender
- repeats:NO] retain];
- }
- }
+
+ //Wind the spring for a spring-loaded drop.
+ //The delay time comes from Finder's defaults, which specifies it in milliseconds.
+ //If the delegate can't handle our spring-loaded drop, we'll abort it when the timer fires. See fireSpring:. This is simpler than constantly (checking for spring-loaded awareness and tearing down/rebuilding the timer) at every delegate change.
+
+ //If the user has dragged to a different tab, reset the timer.
+ if (_tabViewItemWithSpring != [cell representedObject]) {
+ [_springTimer invalidate];
+ [_springTimer release]; _springTimer = nil;
+ _tabViewItemWithSpring = [cell representedObject];
+ }
+ if (!_springTimer) {
+ //Finder's default delay time, as of Tiger, is 668 ms. If the user has never changed it, there's no setting in its defaults, so we default to that amount.
+ NSNumber *delayNumber = [(NSNumber *)CFPreferencesCopyAppValue((CFStringRef)@"SpringingDelayMilliseconds", (CFStringRef)@"com.apple.finder") autorelease];
+ NSTimeInterval delaySeconds = delayNumber ? [delayNumber doubleValue] / 1000.0 : 0.668;
+ _springTimer = [[NSTimer scheduledTimerWithTimeInterval:delaySeconds
+ target:self
+ selector:@selector(fireSpring:)
+ userInfo:sender
+ repeats:NO] retain];
+ }
+
return NSDragOperationCopy;
}
View
27 source/PSMTabBarControlInspector.h
@@ -1,27 +0,0 @@
-//
-// PSMTabBarControlInspector.h
-// PSMTabBarControl
-//
-// Created by John Pannell on 12/21/05.
-// Copyright Positive Spin Media 2005. All rights reserved.
-//
-
-#import <InterfaceBuilder/InterfaceBuilder.h>
-
-@interface PSMTabBarControlInspector : IBInspector
-{
- IBOutlet NSPopUpButton *_stylePopUp;
- IBOutlet NSButton *_allowsBackgroundTabClosing;
- IBOutlet NSButton *_automaticallyAnimates;
- IBOutlet NSButton *_canCloseOnlyTab;
- IBOutlet NSButton *_disableTabClose;
- IBOutlet NSButton *_hideForSingleTab;
- IBOutlet NSButton *_showAddTab;
- IBOutlet NSTextField *_cellMinWidth;
- IBOutlet NSTextField *_cellMaxWidth;
- IBOutlet NSTextField *_cellOptimumWidth;
- IBOutlet NSButton *_selectsTabsOnMouseDown;
- IBOutlet NSButton *_sizeToFit;
- IBOutlet NSButton *_useOverflowMenu;
-}
-@end
View
105 source/PSMTabBarControlInspector.m
@@ -1,105 +0,0 @@
-//
-// PSMTabBarControlInspector.m
-// PSMTabBarControl
-//
-// Created by John Pannell on 12/21/05.
-// Copyright Positive Spin Media 2005 . All rights reserved.
-//
-
-#import "PSMTabBarControlInspector.h"
-#import "PSMTabBarControl.h"
-
-#define kPSMStyleTag 0
-#define kPSMCanCloseOnlyTabTag 1
-#define kPSMHideForSingleTabTag 2
-#define kPSMShowAddTabTag 3
-#define kPSMMinWidthTag 4
-#define kPSMMaxWidthTag 5
-#define kPSMOptimumWidthTag 6
-#define kPSMSizeToFitTag 7
-#define kPSMAutomaticallyAnimates 8
-#define kPSMDisableTabClose 9
-#define kPSMUseOverflowMenu 10
-#define kPSMSelectTabsOnMouseDown 11
-#define kPSMAllowsBackgroundTabClosing 12
-
-@implementation PSMTabBarControlInspector
-
-- (id)init
-{
- self = [super init];
- [NSBundle loadNibNamed:@"PSMTabBarControlInspector" owner:self];
- return self;
-}
-
-- (void)ok:(id)sender
-{
- if ([sender tag] == kPSMStyleTag) {
- [[self object] setStyleNamed:[sender titleOfSelectedItem]];
- } else if ([sender tag] == kPSMCanCloseOnlyTabTag) {
- [[self object] setCanCloseOnlyTab:[sender state]];
- } else if ([sender tag] == kPSMHideForSingleTabTag) {
- [[self object] setHideForSingleTab:[sender state]];
- } else if ([sender tag] == kPSMShowAddTabTag) {
- [[self object] setShowAddTabButton:[sender state]];
- } else if ([sender tag] == kPSMMinWidthTag) {
- if ([[self object] cellOptimumWidth] < [sender integerValue]) {
- [[self object] setCellMinWidth:[[self object] cellOptimumWidth]];
- [sender setIntegerValue:[[self object] cellOptimumWidth]];
- } else {
- [[self object] setCellMinWidth:[sender integerValue]];
- }
- } else if ([sender tag] == kPSMMaxWidthTag) {
- if ([[self object] cellOptimumWidth] > [sender integerValue]) {
- [[self object] setCellMaxWidth:[[self object] cellOptimumWidth]];
- [sender setIntegerValue:[[self object] cellOptimumWidth]];
- } else {
- [[self object] setCellMaxWidth:[sender integerValue]];
- }
- } else if ([sender tag] == kPSMOptimumWidthTag) {
- if ([[self object] cellMaxWidth] < [sender integerValue]) {
- [[self object] setCellOptimumWidth:[[self object] cellMaxWidth]];
- [sender setIntegerValue:[[self object] cellMaxWidth]];
- } else if ([[self object] cellMinWidth] > [sender integerValue]) {
- [[self object] setCellOptimumWidth:[[self object] cellMinWidth]];
- [sender setIntegerValue:[[self object] cellMinWidth]];
- } else {
- [[self object] setCellOptimumWidth:[sender integerValue]];
- }
- } else if ([sender tag] == kPSMSizeToFitTag) {
- [[self object] setSizeCellsToFit:[sender state]];
- } else if ([sender tag] == kPSMDisableTabClose) {
- [[self object] setDisableTabClose:[sender state]];
- } else if ([sender tag] == kPSMUseOverflowMenu) {
- [[self object] setUseOverflowMenu:[sender state]];
- } else if ([sender tag] == kPSMAutomaticallyAnimates) {
- [[self object] setAutomaticallyAnimates:[sender state]];
- } else if ([sender tag] == kPSMSelectTabsOnMouseDown) {
- [[self object] setSelectsTabsOnMouseDown:[sender state]];
- } else if ([sender tag] == kPSMAllowsBackgroundTabClosing) {
- [[self object] setAllowsBackgroundTabClosing:[sender state]];
- }
-
- [super ok:sender];
-}
-
-- (void)revert:(id)sender
-{
- [_stylePopUp selectItemWithTitle:[[self object] styleName]];
- [_canCloseOnlyTab setState:[[self object] canCloseOnlyTab]];
- [_disableTabClose setState:[[self object] disableTabClose]];
- [_hideForSingleTab setState:[[self object] hideForSingleTab]];
- [_showAddTab setState:[[self object] showAddTabButton]];
- [_cellMinWidth setIntegerValue:[[self object] cellMinWidth]];
- [_cellMaxWidth setIntegerValue:[[self object] cellMaxWidth]];
- [_cellOptimumWidth setIntegerValue:[[self object] cellOptimumWidth]];
- [_sizeToFit setState:[[self object] sizeCellsToFit]];
- [_useOverflowMenu setState:[[self object] useOverflowMenu]];
- [_automaticallyAnimates setState:[[self object] automaticallyAnimates]];
- [_selectsTabsOnMouseDown setState:[[self object] selectsTabsOnMouseDown]];
- [_allowsBackgroundTabClosing setState:[[self object] allowsBackgroundTabClosing]];
-
- [super revert:sender];
-}
-
-@end
View
21 source/PSMTabBarControlPalette.h
@@ -1,21 +0,0 @@
-//
-// PSMTabBarControlPalette.h
-// PSMTabBarControl
-//
-// Created by John Pannell on 12/21/05.
-// Copyright Positive Spin Media 2005 . All rights reserved.
-//
-
-#import <InterfaceBuilder/InterfaceBuilder.h>
-#import "PSMTabBarControl.h"
-
-@interface PSMTabBarControlPalette : IBPalette
-{
- IBOutlet NSImageView *repImage;
- PSMTabBarControl *_customControl;
-}
-@end
-
-@interface PSMTabBarControl (PSMTabBarControlPaletteInspector)
-- (NSString *)inspectorClassName;
-@end
View
35 source/PSMTabBarControlPalette.m
@@ -1,35 +0,0 @@
-//
-// PSMTabBarControlPalette.m
-// PSMTabBarControl
-//
-// Created by John Pannell on 12/21/05.
-// Copyright Positive Spin Media 2005 . All rights reserved.
-//
-
-#import "PSMTabBarControlPalette.h"
-
-@implementation PSMTabBarControlPalette
-
-- (void)finishInstantiate
-{
- // associate representative image with actual control
- _customControl = [[PSMTabBarControl alloc] initWithFrame:NSMakeRect(0,0,180,22)];
- [self associateObject:_customControl ofType:IBViewPboardType withView:repImage];
-}
-
-- (void)dealloc
-{
- [_customControl release];
- [super dealloc];
-}
-
-@end
-
-@implementation PSMTabBarControl (PSMTabBarControlPaletteInspector)
-
-- (NSString *)inspectorClassName
-{
- return @"PSMTabBarControlInspector";
-}
-
-@end
View
10 source/PSMTabBarControl_Prefix.pch
@@ -1,10 +0,0 @@
-//
-// Prefix header for all source files of the 'PSMTabBarControl' target in the 'PSMTabBarControl' project
-//
-
-#include <Carbon/Carbon.h>
-
-#ifdef __OBJC__
- #import <Cocoa/Cocoa.h>
- #import <InterfaceBuilder/InterfaceBuilder.h>
-#endif
View
8 source/WindowController.m
@@ -35,13 +35,7 @@ - (void)awakeFromNib
[toolbar setDelegate:self];
[toolbar setAllowsUserCustomization:YES];
[toolbar setAutosavesConfiguration:YES];
- SInt32 MacVersion;
- if (Gestalt(gestaltSystemVersion, &MacVersion) == noErr) {
- if (MacVersion >= 0x1040) {
- // this call is Tiger only
- [toolbar setShowsBaselineSeparator:NO];
- }
- }
+ [toolbar setShowsBaselineSeparator:NO];
[[self window] setToolbar:[toolbar autorelease]];
// hook up add tab button
Please sign in to comment.
Something went wrong with that request. Please try again.