Skip to content

Commit

Permalink
add 'selected' state images for buttons and wire
Browse files Browse the repository at this point in the history
them up in the views
  • Loading branch information
Ed Schmalzle authored and Ed Schmalzle committed Apr 18, 2010
1 parent 6935602 commit d2a3a4e
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 14 deletions.
13 changes: 8 additions & 5 deletions iphone/NomTracker/LoginView.xib
Expand Up @@ -2,10 +2,10 @@
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
<data>
<int key="IBDocument.SystemTarget">528</int>
<string key="IBDocument.SystemVersion">10C540</string>
<string key="IBDocument.SystemVersion">10D573</string>
<string key="IBDocument.InterfaceBuilderVersion">740</string>
<string key="IBDocument.AppKitVersion">1038.25</string>
<string key="IBDocument.HIToolboxVersion">458.00</string>
<string key="IBDocument.AppKitVersion">1038.29</string>
<string key="IBDocument.HIToolboxVersion">460.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="NS.object.0">62</string>
Expand Down Expand Up @@ -81,9 +81,12 @@
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MAA</bytes>
</object>
<reference key="IBUIHighlightedImage" ref="932901055"/>
<object class="NSCustomResource" key="IBUIHighlightedImage" id="764476989">
<string key="NSClassName">NSImage</string>
<string key="NSResourceName">sign_in_button_pressed.png</string>
</object>
<reference key="IBUIDisabledImage" ref="932901055"/>
<reference key="IBUISelectedImage" ref="932901055"/>
<reference key="IBUISelectedImage" ref="764476989"/>
<object class="NSCustomResource" key="IBUINormalImage">
<string key="NSClassName">NSImage</string>
<string key="NSResourceName">sign_in_button.png</string>
Expand Down
9 changes: 6 additions & 3 deletions iphone/NomTracker/NewTransactionView.xib
Expand Up @@ -80,12 +80,15 @@
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MAA</bytes>
</object>
<object class="NSCustomResource" key="IBUIHighlightedImage" id="479796502">
<object class="NSCustomResource" key="IBUIHighlightedImage" id="845519683">
<string key="NSClassName">NSImage</string>
<string key="NSResourceName">submit_button_pressed.png</string>
</object>
<object class="NSCustomResource" key="IBUIDisabledImage">
<string key="NSClassName">NSImage</string>
<string key="NSResourceName">transaction_submit.png</string>
</object>
<reference key="IBUIDisabledImage" ref="479796502"/>
<reference key="IBUISelectedImage" ref="479796502"/>
<reference key="IBUISelectedImage" ref="845519683"/>
<object class="NSCustomResource" key="IBUINormalImage">
<string key="NSClassName">NSImage</string>
<string key="NSResourceName">submit_button.png</string>
Expand Down
12 changes: 12 additions & 0 deletions iphone/NomTracker/NomTracker.xcodeproj/project.pbxproj
Expand Up @@ -76,6 +76,9 @@
646780B11148925B007C7DD5 /* SLS_Logo.png in Resources */ = {isa = PBXBuildFile; fileRef = 646780B01148925B007C7DD5 /* SLS_Logo.png */; };
64A2F9F31157F00200351320 /* UserPickerViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 64A2F9F21157F00200351320 /* UserPickerViewController.m */; };
64A2FA161157F24100351320 /* nom_icon_01.png in Resources */ = {isa = PBXBuildFile; fileRef = 64A2FA151157F24100351320 /* nom_icon_01.png */; };
64BBE8D6117BC428002D5563 /* sign_in_button_pressed.png in Resources */ = {isa = PBXBuildFile; fileRef = 64BBE8D3117BC428002D5563 /* sign_in_button_pressed.png */; };
64BBE8D7117BC428002D5563 /* sign_out_button_pressed.png in Resources */ = {isa = PBXBuildFile; fileRef = 64BBE8D4117BC428002D5563 /* sign_out_button_pressed.png */; };
64BBE8D8117BC428002D5563 /* submit_button_pressed.png in Resources */ = {isa = PBXBuildFile; fileRef = 64BBE8D5117BC428002D5563 /* submit_button_pressed.png */; };
64D01D0C117BAD1A006B9FE6 /* checked.png in Resources */ = {isa = PBXBuildFile; fileRef = 64D01D0A117BAD1A006B9FE6 /* checked.png */; };
64D01D0D117BAD1A006B9FE6 /* unchecked.png in Resources */ = {isa = PBXBuildFile; fileRef = 64D01D0B117BAD1A006B9FE6 /* unchecked.png */; };
64EFFCE6116296F500FBE730 /* contact_button2.png in Resources */ = {isa = PBXBuildFile; fileRef = 64EFFCE5116296F500FBE730 /* contact_button2.png */; };
Expand Down Expand Up @@ -210,6 +213,9 @@
64A2F9F11157F00200351320 /* UserPickerViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UserPickerViewController.h; sourceTree = "<group>"; };
64A2F9F21157F00200351320 /* UserPickerViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = UserPickerViewController.m; sourceTree = "<group>"; };
64A2FA151157F24100351320 /* nom_icon_01.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = nom_icon_01.png; sourceTree = "<group>"; };
64BBE8D3117BC428002D5563 /* sign_in_button_pressed.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = sign_in_button_pressed.png; sourceTree = "<group>"; };
64BBE8D4117BC428002D5563 /* sign_out_button_pressed.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = sign_out_button_pressed.png; sourceTree = "<group>"; };
64BBE8D5117BC428002D5563 /* submit_button_pressed.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = submit_button_pressed.png; sourceTree = "<group>"; };
64D01D0A117BAD1A006B9FE6 /* checked.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = checked.png; sourceTree = "<group>"; };
64D01D0B117BAD1A006B9FE6 /* unchecked.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = unchecked.png; sourceTree = "<group>"; };
64EFFCE5116296F500FBE730 /* contact_button2.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = contact_button2.png; sourceTree = "<group>"; };
Expand Down Expand Up @@ -328,6 +334,9 @@
5F14E9A6102CF8DA00495EA1 /* Images */ = {
isa = PBXGroup;
children = (
64BBE8D3117BC428002D5563 /* sign_in_button_pressed.png */,
64BBE8D4117BC428002D5563 /* sign_out_button_pressed.png */,
64BBE8D5117BC428002D5563 /* submit_button_pressed.png */,
64D01D0A117BAD1A006B9FE6 /* checked.png */,
64D01D0B117BAD1A006B9FE6 /* unchecked.png */,
64FD6D781165817400248800 /* tab_bar_add.png */,
Expand Down Expand Up @@ -555,6 +564,9 @@
644A2AFA1178ECC400B47B38 /* TransactionTableViewCell.xib in Resources */,
64D01D0C117BAD1A006B9FE6 /* checked.png in Resources */,
64D01D0D117BAD1A006B9FE6 /* unchecked.png in Resources */,
64BBE8D6117BC428002D5563 /* sign_in_button_pressed.png in Resources */,
64BBE8D7117BC428002D5563 /* sign_out_button_pressed.png in Resources */,
64BBE8D8117BC428002D5563 /* submit_button_pressed.png in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
15 changes: 9 additions & 6 deletions iphone/NomTracker/SettingsView.xib
Expand Up @@ -2,10 +2,10 @@
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
<data>
<int key="IBDocument.SystemTarget">528</int>
<string key="IBDocument.SystemVersion">10C540</string>
<string key="IBDocument.SystemVersion">10D573</string>
<string key="IBDocument.InterfaceBuilderVersion">740</string>
<string key="IBDocument.AppKitVersion">1038.25</string>
<string key="IBDocument.HIToolboxVersion">458.00</string>
<string key="IBDocument.AppKitVersion">1038.29</string>
<string key="IBDocument.HIToolboxVersion">460.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="NS.object.0">62</string>
Expand Down Expand Up @@ -80,12 +80,15 @@
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MAA</bytes>
</object>
<object class="NSCustomResource" key="IBUIHighlightedImage" id="568882401">
<object class="NSCustomResource" key="IBUIHighlightedImage" id="837038922">
<string key="NSClassName">NSImage</string>
<string key="NSResourceName">sign_out_button_pressed.png</string>
</object>
<object class="NSCustomResource" key="IBUIDisabledImage">
<string key="NSClassName">NSImage</string>
<string key="NSResourceName">sign_out.png</string>
</object>
<reference key="IBUIDisabledImage" ref="568882401"/>
<reference key="IBUISelectedImage" ref="568882401"/>
<reference key="IBUISelectedImage" ref="837038922"/>
<object class="NSCustomResource" key="IBUINormalImage">
<string key="NSClassName">NSImage</string>
<string key="NSResourceName">sign_out_button.png</string>
Expand Down
Binary file added iphone/NomTracker/sign_in_button_pressed.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added iphone/NomTracker/sign_out_button_pressed.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added iphone/NomTracker/submit_button_pressed.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d2a3a4e

Please sign in to comment.