//
//  MPAbstractTextField.h
//  Memphis
//
//  Created by Dmitry Gaponenko on 6/6/14.
//  Copyright (c) 2014 MacPhun LLC. All rights reserved.
//

#import "MPLocalizedTextField.h"

typedef enum
{
	MPTextFieldTextAlignementLeft = 0,
	MPTextFieldTextAlignementRight = 1,
	MPTextFieldTextAlignementCenter = 2,
} MPTextFieldTextAlignement;

typedef enum
{
    MPTextFieldPictogramPositionTop,
    MPTextFieldPictogramPositionBottom,
    MPTextFieldPictogramPositionLeft,
    MPTextFieldPictogramPositionRight,
    MPTextFieldPictogramPositionCenter,
} MPTextFieldPictogramPosition;

__deprecated
@interface MPAbstractTextField : MPLocalizedTextField

@property(nonatomic, strong) IBInspectable NSImage *pictogram;
@property(nonatomic, assign) IBInspectable CGPoint textOffset;
@property(nonatomic, assign) IBInspectable MPTextFieldPictogramPosition pictogramPosition;
@property(nonatomic, assign) IBInspectable MPTextFieldTextAlignement alignment;

- (void)setPictogramName:(NSString *)pictogramImageName;

@end
