project_files/HedgewarsMobile/Classes/EditableCellView.h
changeset 3662 a44406f4369b
parent 3660 bc125bea5849
child 3703 12d17c6e8855
--- a/project_files/HedgewarsMobile/Classes/EditableCellView.h	Tue Jul 20 23:30:54 2010 +0200
+++ b/project_files/HedgewarsMobile/Classes/EditableCellView.h	Thu Jul 22 03:08:17 2010 +0200
@@ -8,8 +8,6 @@
 
 #import <UIKit/UIKit.h>
 
-#define MAX_STRING_LENGTH 64
-
 @protocol EditableCellViewDelegate <NSObject>
 
 -(void) saveTextFieldValue:(NSString *)textString withTag:(NSInteger) tagValue;
@@ -19,6 +17,9 @@
 @interface EditableCellView : UITableViewCell <UITextFieldDelegate> {
     id<EditableCellViewDelegate> delegate;
     UITextField *textField;
+    UILabel *titleLabel;
+    NSInteger minimumCharacters;
+    NSInteger maximumCharacters;
     
 @private
     NSString *oldValue;
@@ -26,6 +27,9 @@
 
 @property (nonatomic,assign) id<EditableCellViewDelegate> delegate;
 @property (nonatomic,retain,readonly) UITextField *textField;
+@property (nonatomic,retain,readonly) UILabel *titleLabel;
+@property (nonatomic,assign) NSInteger minimumCharacters;
+@property (nonatomic,assign) NSInteger maximumCharacters;
 @property (nonatomic,retain) NSString *oldValue;
 
 -(void) replyKeyboard;