//
//  MPSSegmentedControl.h
//  MPServices
//
//  Created by Stanislav Derpoliuk on 9/22/15.
//  Copyright © 2015 MacPhun. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "MPControl.h"

@interface MPSSegmentedControl : MPControl

@property (nonatomic) NSInteger selectedSegment;
@property (nonatomic, strong) NSColor *selectedTextColor;
@property (nonatomic, strong) NSColor *textColor;
@property (nonatomic, strong) NSColor *rightLineColor;
@property (nonatomic, assign) BOOL isDrawBottomAndRightLine;
@property (nonatomic, assign) BOOL isDrawRightLine;
@property (nonatomic, getter=isFillLinesAroundSelectedButton) BOOL fillLinesAroundSelectedButton;
@property (nonatomic, strong) IBInspectable NSFont *titlesFont;

- (void)setSegmentTitles:(NSArray *)titles;
- (void)setSegmentTitles:(NSArray *)titles titleColors:(NSArray *)titleColors;
- (void)setButtonDefaultColor:(NSColor *)defaultColor highlightedColor:(NSColor *)highlightedColor highlightedLineColor:(NSColor *)highlightedLineColor;

@end
