/** * Appcelerator Titanium Mobile * Copyright (c) 2009-2010 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. */ #ifdef USE_TI_UITEXTFIELD #import "TiUITextWidget.h" @interface TiTextField : UITextField { CGFloat paddingLeft; CGFloat paddingRight; CGFloat leftButtonPadding; CGFloat rightButtonPadding; UITextFieldViewMode leftMode; UITextFieldViewMode rightMode; UIView *left; UIView *right; UIView *leftView; UIView *rightView; BOOL becameResponder; } @property(nonatomic,readwrite,assign) CGFloat paddingLeft; @property(nonatomic,readwrite,assign) CGFloat paddingRight; @property(nonatomic,readwrite,assign) CGFloat leftButtonPadding; @property(nonatomic,readwrite,assign) CGFloat rightButtonPadding; @property(nonatomic,readonly) BOOL becameResponder; @end @interface TiUITextField : TiUITextWidget { @private } #pragma mark Internal -(TiTextField*)textWidgetView; @end #endif