Sha256: 07d68bf95044f8ab747f8f0627f8eca32f325bdc15d113266257ab5eea5cf97f

Contents?: true

Size: 1.06 KB

Versions: 3

Compression:

Stored size: 1.06 KB

Contents

//
//  PaperFoldConstants.h
//  PaperFold
//
//  Created by honcheng on 25/8/12.
//  Copyright (c) 2012 honcheng@gmail.com. All rights reserved.
//

#ifndef PaperFold_PaperFoldConstants_h
#define PaperFold_PaperFoldConstants_h

#define FOLDVIEW_TAG 1000
#define kLeftViewUnfoldThreshold 0.3
#define kRightViewUnfoldThreshold 0.3
#define kTopViewUnfoldThreshold 0.3
#define kBottomViewUnfoldThreshold 0.3
#define kEdgeScrollWidth 40.0

typedef enum
{
    FoldStateClosed = 0,
    FoldStateOpened = 1,
    FoldStateTransition = 2
} FoldState;

typedef enum
{
    FoldDirectionHorizontalRightToLeft = 0,
    FoldDirectionHorizontalLeftToRight = 1,
    FoldDirectionVertical = 2,
} FoldDirection;

typedef enum
{
    PaperFoldStateDefault = 0,
    PaperFoldStateLeftUnfolded = 1,
    PaperFoldStateRightUnfolded = 2,
    PaperFoldStateTopUnfolded = 3,
    PaperFoldStateBottomUnfolded = 4,
    PaperFoldStateTransition = 5
} PaperFoldState;

typedef enum
{
    PaperFoldInitialPanDirectionHorizontal = 0,
    PaperFoldInitialPanDirectionVertical = 1,
} PaperFoldInitialPanDirection;

#endif

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
appjam-0.1.8.11 lib/appjam/generators/templates/blank/EiffelApplication/libs/components/PaperFold/PaperFoldConstants.h
appjam-0.1.8.10 lib/appjam/generators/templates/blank/EiffelApplication/libs/components/PaperFold/PaperFoldConstants.h
appjam-0.1.8.9 lib/appjam/generators/templates/blank/EiffelApplication/libs/components/PaperFold/PaperFoldConstants.h