From 554bd36e530cf2d9869466a4b31bc2219bd3aed5 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Wed, 25 Mar 2009 00:12:12 +0000 Subject: Set the default edit-in-sheets button toggle state to no, and add a highlighted image state to show when it's set to on --- Interfaces/English.lproj/DBView.xib | 111 ++++++++++++++++++------ Resources/Images/button_edit_mode_selected.tiff | Bin 0 -> 2558 bytes sequel-pro.xcodeproj/project.pbxproj | 4 + 3 files changed, 88 insertions(+), 27 deletions(-) create mode 100644 Resources/Images/button_edit_mode_selected.tiff diff --git a/Interfaces/English.lproj/DBView.xib b/Interfaces/English.lproj/DBView.xib index 190df3ac..1de2edd0 100644 --- a/Interfaces/English.lproj/DBView.xib +++ b/Interfaces/English.lproj/DBView.xib @@ -1,19 +1,27 @@ - + 1050 9G55 - 672 + 677 949.43 353.00 YES - YES com.apple.InterfaceBuilder.CocoaPlugin + + YES + + YES + + + YES + + YES @@ -70,6 +78,7 @@ 4352 {194, 393} + YES @@ -166,7 +175,7 @@ {{1, 1}, {194, 393}} - + 6 @@ -181,6 +190,7 @@ -2147483392 {{175, 1}, {15, 481}} + _doScroller: 9.979253e-01 @@ -190,6 +200,7 @@ 256 {{-100, -100}, {141, 11}} + 257 _doScroller: @@ -198,7 +209,7 @@ {196, 395} - + 530 @@ -220,6 +231,7 @@ 4352 {194, 123} + YES @@ -283,7 +295,7 @@ {{1, 1}, {194, 123}} - + 4 @@ -293,6 +305,7 @@ -2147483392 {{175, 1}, {15, 481}} + _doScroller: 9.979253e-01 @@ -302,6 +315,7 @@ 256 {{-100, -100}, {141, 11}} + 257 _doScroller: @@ -310,7 +324,7 @@ {{0, 404}, {196, 125}} - + 530 @@ -320,12 +334,14 @@ {{-1, 22}, {196, 529}} + 292 {{0, -1}, {32, 25}} + YES -2080244224 @@ -354,6 +370,7 @@ 292 {{20, 0}, {46, 25}} + YES -2076049856 @@ -454,6 +471,7 @@ {{179, 0}, {15, 23}} + YES 130560 @@ -486,6 +504,7 @@ {{93, 0}, {86, 23}} + YES 130560 @@ -506,6 +525,7 @@ 292 {{61, -1}, {32, 25}} + YES -2080244224 @@ -528,6 +548,7 @@ {194, 550} + NSView @@ -540,6 +561,7 @@ 274 {{-7, -10}, {672, 564}} + YES @@ -576,6 +598,7 @@ {{310, 6}, {6, 10}} + YES 130560 @@ -596,6 +619,7 @@ 257 {{400, 6}, {55, 11}} + YES 67239424 @@ -616,6 +640,7 @@ 257 {{456, 4}, {135, 15}} + YES -1539178944 @@ -724,12 +749,14 @@ 4352 {625, 289} + YES 256 {625, 17} + @@ -737,6 +764,7 @@ -2147483392 {{-26, 0}, {16, 17}} + YES @@ -1269,7 +1297,7 @@ {{1, 17}, {625, 289}} - + 4 @@ -1279,6 +1307,7 @@ -2147483392 {{611, 17}, {15, 264}} + _doScroller: 9.858657e-01 @@ -1288,6 +1317,7 @@ -2147483392 {{1, 281}, {610, 15}} + 1 _doScroller: @@ -1302,7 +1332,7 @@ {{1, 0}, {625, 17}} - + 4 @@ -1311,7 +1341,7 @@ {{-1, 22}, {627, 307}} - + 562 @@ -1325,6 +1355,7 @@ 292 {{-1, -1}, {32, 25}} + YES -1543373312 @@ -1346,6 +1377,7 @@ 292 {{93, -1}, {32, 25}} + YES -2080244224 @@ -1367,6 +1399,7 @@ 292 {{30, -1}, {32, 25}} + YES -1543373312 @@ -1391,6 +1424,7 @@ 292 {{61, -1}, {32, 25}} + YES -1543373312 @@ -1427,6 +1461,7 @@ {{125, 0}, {501, 23}} + YES 130560 @@ -1442,6 +1477,7 @@ {626, 329} + NSView @@ -1454,6 +1490,7 @@ 264 {{7, 183}, {46, 14}} + YES 67239424 @@ -1480,12 +1517,14 @@ 4352 {625, 141} + YES 256 {625, 17} + @@ -1493,6 +1532,7 @@ -2147483392 {{-26, 0}, {16, 17}} + YES @@ -1745,7 +1785,7 @@ {{1, 17}, {625, 141}} - + 4 @@ -1755,6 +1795,7 @@ -2147483392 {{611, 17}, {15, 126}} + _doScroller: 8.936170e-01 @@ -1764,6 +1805,7 @@ -2147483392 {{1, 143}, {610, 15}} + 1 _doScroller: @@ -1778,7 +1820,7 @@ {{1, 0}, {625, 17}} - + 4 @@ -1787,7 +1829,7 @@ {{-1, 22}, {627, 159}} - + 562 @@ -1801,6 +1843,7 @@ 292 {{-1, -1}, {32, 25}} + YES -1543373312 @@ -1822,6 +1865,7 @@ 292 {{61, -1}, {32, 25}} + YES -2080244224 @@ -1843,6 +1887,7 @@ 292 {{30, -1}, {32, 25}} + YES -1543373312 @@ -1876,6 +1921,7 @@ {{607, 183}, {10, 13}} + YES 130560 @@ -1908,6 +1954,7 @@ {{93, 0}, {533, 23}} + YES 130560 @@ -1923,16 +1970,19 @@ {{0, 330}, {626, 201}} + NSView {{7, 10}, {626, 531}} + 2 {{10, 7}, {637, 544}} + Structure @@ -2294,8 +2344,8 @@ YES YES - , - . + . + , NO YES NO @@ -2412,7 +2462,7 @@ YES - -1543373312 + 604110336 134217728 @@ -2433,7 +2483,7 @@ YES - -2080244224 + 67239424 134217728 @@ -2454,7 +2504,7 @@ YES - -1543373312 + 604110336 134217728 @@ -2475,7 +2525,7 @@ YES - -1543373312 + 604110336 134217728 @@ -2525,7 +2575,7 @@ YES - -2080244224 + 67239424 134217728 @@ -2536,6 +2586,10 @@ NSImage button_edit_mode + + NSImage + button_edit_mode_selected + 400 @@ -3441,17 +3495,20 @@ {{203, 0}, {660, 550}} + NSView {863, 550} + YES DBViewSplitter {863, 550} + {{0, 0}, {1440, 878}} {780, 502} @@ -4229,7 +4286,7 @@ 2322 - {588, 72} + {588, 0} @@ -19002,8 +19059,8 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 com.apple.InterfaceBuilder.CocoaPlugin {{383, 326}, {575, 173}} {{383, 326}, {575, 173}} - - + + {300, 130} com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -19119,8 +19176,8 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{366, 306}, {863, 550}} - {{366, 306}, {863, 550}} + {{119, 306}, {863, 550}} + {{119, 306}, {863, 550}} {{62, 352}, {845, 504}} @@ -19288,7 +19345,7 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 ToolTip - UmVmcmVzaCB0YWJsZSBjb250ZW50cyAo4oyYUik + Toggle between editing simple text cells as a spreadsheet or in pop-up sheets com.apple.InterfaceBuilder.CocoaPlugin @@ -19298,7 +19355,7 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 {{456, 426}, {292, 112}} {{456, 426}, {292, 112}} - + {292, 112} {292, 112} diff --git a/Resources/Images/button_edit_mode_selected.tiff b/Resources/Images/button_edit_mode_selected.tiff new file mode 100644 index 00000000..b452e8a1 Binary files /dev/null and b/Resources/Images/button_edit_mode_selected.tiff differ diff --git a/sequel-pro.xcodeproj/project.pbxproj b/sequel-pro.xcodeproj/project.pbxproj index 1a4b6809..006f2b61 100644 --- a/sequel-pro.xcodeproj/project.pbxproj +++ b/sequel-pro.xcodeproj/project.pbxproj @@ -64,6 +64,7 @@ 58186D210F4CB38900851FE9 /* ConnectionErrorDialog.xib in Resources */ = {isa = PBXBuildFile; fileRef = 58186D1F0F4CB38900851FE9 /* ConnectionErrorDialog.xib */; }; 584F5F8F0F50ACD800036517 /* table-view-small.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 584F5F8E0F50ACD800036517 /* table-view-small.tiff */; }; 58C56EF50F438E120035701E /* SPDataCellFormatter.m in Sources */ = {isa = PBXBuildFile; fileRef = 58C56EF40F438E120035701E /* SPDataCellFormatter.m */; }; + 58CB20ED0F79A75D005EA204 /* button_edit_mode_selected.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 58CB20EC0F79A75D005EA204 /* button_edit_mode_selected.tiff */; }; 58FEF16D0F23D66600518E8E /* SPSQLParser.m in Sources */ = {isa = PBXBuildFile; fileRef = 58FEF16C0F23D66600518E8E /* SPSQLParser.m */; }; 58FEF57E0F3B4E9700518E8E /* SPTableData.m in Sources */ = {isa = PBXBuildFile; fileRef = 58FEF57D0F3B4E9700518E8E /* SPTableData.m */; }; 8D15AC340486D014006FF6A4 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A7FEA54F5311CA2CBB /* Cocoa.framework */; }; @@ -205,6 +206,7 @@ 584F5F8E0F50ACD800036517 /* table-view-small.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = "table-view-small.tiff"; sourceTree = ""; }; 58C56EF30F438E120035701E /* SPDataCellFormatter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SPDataCellFormatter.h; sourceTree = ""; }; 58C56EF40F438E120035701E /* SPDataCellFormatter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SPDataCellFormatter.m; sourceTree = ""; }; + 58CB20EC0F79A75D005EA204 /* button_edit_mode_selected.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = button_edit_mode_selected.tiff; sourceTree = ""; }; 58FEF16B0F23D66600518E8E /* SPSQLParser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SPSQLParser.h; sourceTree = ""; }; 58FEF16C0F23D66600518E8E /* SPSQLParser.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SPSQLParser.m; sourceTree = ""; }; 58FEF57C0F3B4E9700518E8E /* SPTableData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SPTableData.h; sourceTree = ""; }; @@ -454,6 +456,7 @@ B58A323D0F6509D60003C243 /* button_action.tiff */, B58A323E0F6509D60003C243 /* button_add.tiff */, B5A601E20F74DE7F00EE5FBA /* button_edit_mode.tiff */, + 58CB20EC0F79A75D005EA204 /* button_edit_mode_selected.tiff */, B58A323F0F6509D60003C243 /* button_bar_handle.tiff */, B58A32400F6509D60003C243 /* button_bar_spacer.tiff */, B5A601960F74C1CE00EE5FBA /* button_refresh.tiff */, @@ -619,6 +622,7 @@ B5A601870F749C1600EE5FBA /* dimple.tiff in Resources */, B5A601970F74C1CE00EE5FBA /* button_refresh.tiff in Resources */, B5A601E30F74DE7F00EE5FBA /* button_edit_mode.tiff in Resources */, + 58CB20ED0F79A75D005EA204 /* button_edit_mode_selected.tiff in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; -- cgit v1.2.3