removed mods directory from the ATutor codebase
[atutor.git] / mods / atsocial_iphone_app / InAppSettingsKit / Views / IASKPSSliderSpecifierViewCell.m
diff --git a/mods/atsocial_iphone_app/InAppSettingsKit/Views/IASKPSSliderSpecifierViewCell.m b/mods/atsocial_iphone_app/InAppSettingsKit/Views/IASKPSSliderSpecifierViewCell.m
deleted file mode 100644 (file)
index 884ee8f..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-//
-//  IASKPSSliderSpecifierViewCell.m
-//  http://www.inappsettingskit.com
-//
-//  Copyright (c) 2009-2010:
-//  Luc Vandal, Edovia Inc., http://www.edovia.com
-//  Ortwin Gentz, FutureTap GmbH, http://www.futuretap.com
-//  All rights reserved.
-// 
-//  It is appreciated but not required that you give credit to Luc Vandal and Ortwin Gentz, 
-//  as the original authors of this code. You can give credit in a blog post, a tweet or on 
-//  a info page of your app. Also, the original authors appreciate letting them know if you use this code.
-//
-//  This code is licensed under the BSD license that is available at: http://www.opensource.org/licenses/bsd-license.php
-//
-
-#import "IASKPSSliderSpecifierViewCell.h"
-#import "IASKSlider.h"
-#import "IASKSettingsReader.h"
-
-@implementation IASKPSSliderSpecifierViewCell
-
-@synthesize slider=_slider, 
-            minImage=_minImage, 
-            maxImage=_maxImage;
-
-- (void)layoutSubviews {
-       CGRect sliderFrame      = _slider.frame;
-       sliderFrame.origin.x    = kIASKSliderNoImagesX;
-       sliderFrame.size.width  = kIASKSliderNoImagesWidth;
-       _minImage.hidden = YES;
-       _maxImage.hidden = YES;
-
-       // Check if there are min and max images. If so, change the layout accordingly.
-       if (_minImage.image && _maxImage.image) {
-               // Both images
-               _minImage.hidden = NO;
-               _maxImage.hidden = NO;
-               sliderFrame.origin.x    = kIASKSliderBothImagesX;
-               sliderFrame.size.width  = kIASKSliderBothImagesWidth;
-       }
-       else if (_minImage.image) {
-               // Min image
-               _minImage.hidden = NO;
-               sliderFrame.origin.x    = kIASKSliderBothImagesX;
-               sliderFrame.size.width  = kIASKSliderOneImageWidth;
-       }
-       else if (_maxImage.image) {
-               // Max image
-               _maxImage.hidden = NO;
-               sliderFrame.origin.x    = kIASKSliderNoImagesX;
-               sliderFrame.size.width  = kIASKSliderOneImageWidth;
-       }
-       
-       _slider.frame = sliderFrame;
-}      
-
-- (void)dealloc {
-    [super dealloc];
-}
-
-- (void)prepareForReuse {
-       _minImage.image = nil;
-       _maxImage.image = nil;
-}
-@end