<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>llamas.jpg</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -17,7 +17,8 @@
 #define HORIZ_SWIPE_DRAG_MAX 100
 #define VERT_SWIPE_DRAG_MIN 250
 
-#define OVERLAY_ALPHA 0.65f
+#define OVERLAY_ALPHA 0.90f
+#define BINOCS_TAG 99
 
 @implementation FullScreenCameraExampleController
 
@@ -34,6 +35,7 @@
   self.overlayView.alpha = OVERLAY_ALPHA;
   
 	UIImageView *binocs = [[[UIImageView alloc] initWithImage:[UIImage imageNamed:@&quot;binocs.png&quot;]] autorelease];
+	binocs.tag = BINOCS_TAG;
 	[self.overlayView addSubview:binocs];
   
   self.overlayLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 320, 40)];
@@ -44,7 +46,7 @@
   self.overlayLabel.shadowOffset = CGSizeMake(0, -1);  
   self.overlayLabel.shadowColor = [UIColor blackColor];  
   [self.overlayView addSubview:self.overlayLabel];
-	
+
   self.view = self.overlayView;
 }
 
@@ -52,6 +54,13 @@
   [self initCamera];
   [self startCamera];
 	self.overlayLabel.text = @&quot;Tap to take a picture.&quot;;	
+
+	UIButton *abutton = [[UIButton buttonWithType:UIButtonTypeRoundedRect] retain];
+	[abutton setTitle:@&quot;Binocs&quot; forState:UIControlStateNormal];
+	abutton.backgroundColor = [UIColor clearColor];
+	abutton.frame = CGRectMake(10, 426, 100, 44);
+	[abutton addTarget:self action:@selector(buttonTapped:) forControlEvents:UIControlEventTouchUpInside];
+	[self.overlayView addSubview:abutton];	
 }
 
 - (void) initCamera {  
@@ -206,6 +215,15 @@
 	NSLog(@&quot;onSwipeRight&quot;);
 }
 
+- (void)buttonTapped:(id)sender {
+	UIImageView *binocs = (UIImageView*)[self.view viewWithTag:BINOCS_TAG];
+	[UIView beginAnimations:nil context:nil];
+	[UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
+  [UIView setAnimationDuration:0.5f];
+	binocs.alpha = abs(1.0 - binocs.alpha);
+  [UIView commitAnimations];
+}
+
 - (void)thumbnailTapped:(id)sender {
 	self.view.alpha = 1.0f;
 }</diff>
      <filename>Examples/FullScreenCameraExampleController.m</filename>
    </modified>
    <modified>
      <diff>@@ -23,6 +23,7 @@
 		4DBBDEA0106D6DB8001D7299 /* overlay1.png in Resources */ = {isa = PBXBuildFile; fileRef = 4DBBDE9F106D6DB8001D7299 /* overlay1.png */; };
 		4DBBDF4A106D7940001D7299 /* binocs.png in Resources */ = {isa = PBXBuildFile; fileRef = 4DBBDF49106D7940001D7299 /* binocs.png */; };
 		4DD6280B102FA03E00B8AE1B /* Example.m in Sources */ = {isa = PBXBuildFile; fileRef = 4DD6280A102FA03E00B8AE1B /* Example.m */; };
+		4DD6538B1071D211002A2192 /* llamas.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 4DD6538A1071D211002A2192 /* llamas.jpg */; };
 /* End PBXBuildFile section */
 
 /* Begin PBXFileReference section */
@@ -51,6 +52,7 @@
 		4DBBDF49106D7940001D7299 /* binocs.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = binocs.png; sourceTree = &quot;&lt;group&gt;&quot;; };
 		4DD62809102FA03E00B8AE1B /* Example.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Example.h; sourceTree = &quot;&lt;group&gt;&quot;; };
 		4DD6280A102FA03E00B8AE1B /* Example.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Example.m; sourceTree = &quot;&lt;group&gt;&quot;; };
+		4DD6538A1071D211002A2192 /* llamas.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = llamas.jpg; sourceTree = &quot;&lt;group&gt;&quot;; };
 		8D1107310486CEB800E47090 /* HelpfulUtilities-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = &quot;HelpfulUtilities-Info.plist&quot;; plistStructureDefinitionIdentifier = &quot;com.apple.xcode.plist.structure-definition.iphone.info-plist&quot;; sourceTree = &quot;&lt;group&gt;&quot;; };
 /* End PBXFileReference section */
 
@@ -119,6 +121,7 @@
 		29B97317FDCFA39411CA2CEA /* Resources */ = {
 			isa = PBXGroup;
 			children = (
+				4DD6538A1071D211002A2192 /* llamas.jpg */,
 				4DBBDE9F106D6DB8001D7299 /* overlay1.png */,
 				8D1107310486CEB800E47090 /* HelpfulUtilities-Info.plist */,
 				4DBBDF49106D7940001D7299 /* binocs.png */,
@@ -227,6 +230,7 @@
 				28F335F11007B36200424DE2 /* RootViewController.xib in Resources */,
 				4DBBDEA0106D6DB8001D7299 /* overlay1.png in Resources */,
 				4DBBDF4A106D7940001D7299 /* binocs.png in Resources */,
+				4DD6538B1071D211002A2192 /* llamas.jpg in Resources */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};</diff>
      <filename>HelpfulUtilities.xcodeproj/project.pbxproj</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b214ce46be06ad7eecac786606e9c659a368ff72</id>
    </parent>
  </parents>
  <author>
    <name>P. Mark Anderson</name>
    <email>mark@bordertownlabs.com</email>
  </author>
  <url>http://github.com/pmark/Helpful-iPhone-Utilities/commit/a2380ab48fe083e9e1cbcf72981b4d1723bd36b4</url>
  <id>a2380ab48fe083e9e1cbcf72981b4d1723bd36b4</id>
  <committed-date>2009-09-28T23:36:42-07:00</committed-date>
  <authored-date>2009-09-28T23:36:42-07:00</authored-date>
  <message>Toggle binocs</message>
  <tree>6a47dc19bdec40635881ccafe291f86222cbab1e</tree>
  <committer>
    <name>P. Mark Anderson</name>
    <email>mark@bordertownlabs.com</email>
  </committer>
</commit>
