All Data Structures Files Functions Variables Enumerations Enumerator Properties Defines
/Projects/Cogito/src/Objects/SlideViewer.h
Go to the documentation of this file.
00001 //
00002 //  SlideViewer.h
00003 //  Author: Thomas Taylor
00004 //
00005 //  A viewer for Slide objects
00006 //  with navigation
00007 //
00008 //  07/03/2012: Created class
00009 //
00010 
00011 #import "cocos2d.h"
00012 #import "CommonDataTypes.h"
00013 #import "Slide.h"
00014 #import "Utils.h"
00015 
00016 @interface SlideViewer : CCSprite
00017 
00018 {
00019     CCMenuItemImage *previousButton;
00020     CCMenuItemImage *nextButton;
00021     
00022     CCMenu *navButtons;
00023     
00024     Slide* currentSlide;
00025     CCArray* slides;
00026     
00027     int slideNumber;
00028     CGPoint centrePosition;
00029     CGPoint leftPosition;
00030     CGPoint rightPosition;
00031     float slideAnimationDuration;
00032 }
00033 
00034 -(id)initWithSlides:(CCArray*)_slides;
00035 
00036 @end