project_files/HedgewarsMobile/Classes/MGSplitViewController/MGSplitCornersView.h
author antonc27 <antonc27@mail.ru>
Sat, 15 Aug 2015 20:48:13 +0200
branchios-revival
changeset 11133 fa3d227fb308
parent 11115 3729ac42189b
permissions -rwxr-xr-x
- Fix for retrieving 'Maze' preview genration Note: We use now GCD instead of pthread for launch preview generation from engine side (it is now done with RunEngine, not direct call to GenLandPreview) Note 2: For a moment LandPreview without Alpha used

//
//  MGSplitCornersView.h
//  MGSplitView
//
//  Created by Matt Gemmell on 28/07/2010.
//  Copyright 2010 Instinctive Code.
//

#import <UIKit/UIKit.h>

typedef enum _MGCornersPosition {
	MGCornersPositionLeadingVertical	= 0, // top of screen for a left/right split.
	MGCornersPositionTrailingVertical	= 1, // bottom of screen for a left/right split.
	MGCornersPositionLeadingHorizontal	= 2, // left of screen for a top/bottom split.
	MGCornersPositionTrailingHorizontal	= 3  // right of screen for a top/bottom split.
} MGCornersPosition;

@class MGSplitViewController;
@interface MGSplitCornersView : UIView {
	float cornerRadius;
	MGSplitViewController *__unsafe_unretained splitViewController;
	MGCornersPosition cornersPosition;
	UIColor *cornerBackgroundColor;
}

@property (nonatomic, assign) float cornerRadius;
@property (nonatomic, unsafe_unretained) MGSplitViewController *splitViewController; // weak ref.
@property (nonatomic, assign) MGCornersPosition cornersPosition; // don't change this manually; let the splitViewController manage it.
@property (nonatomic, strong) UIColor *cornerBackgroundColor;

@end