topical media & game development

talk show tell print

#mobile-application-10-DerbyApp-build-iphone-Classes-MGSplitView-MGSplitCornersView.h / h



  //
  //  MGSplitCornersView.h
  //  MGSplitView
  //
  //  Created by Matt Gemmell on 28/07/2010.
  //  Copyright 2010 Instinctive Code.
  //
  //        License and code at http://github.com/mattgemmell/MGSplitViewController/
  #import <TiBase.h>
  
  ifdef USE_TI_UIIPADSPLITWINDOW
  
  #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;
  
  
  @interface MGSplitCornersView : UIView {
          float cornerRadius;
          MGSplitViewController *splitViewController;
          MGCornersPosition cornersPosition;
          UIColor *cornerBackgroundColor;
  }
  
  @property (nonatomic, assign) float cornerRadius;
  @property (nonatomic, assign) MGSplitViewController *splitViewController; // weak ref.
  @property (nonatomic, assign) MGCornersPosition cornersPosition; // don't change this manually; let the splitViewController manage it.
  @property (nonatomic, retain) UIColor *cornerBackgroundColor;
  
  @end
  
  endif


(C) Æliens 04/09/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.