Sha256: 26c97eb7e91b9a9817b937f7913bfd3111cf94a4541db320e21f8e86a2027c31

Contents?: true

Size: 744 Bytes

Versions: 26

Compression:

Stored size: 744 Bytes

Contents

#import <UIKit/UIKit.h>
#import <OpenGLES/EAGL.h>
#import <OpenGLES/ES1/gl.h>
#import <OpenGLES/ES1/glext.h>
#import <Gosu/Window.hpp>

// UIViewController subclass that creates a GosuView and helps it manage rotation.

@interface GosuViewController : UIViewController
@end

// UIView subclass that contains a CAEAGLLayer.

@interface GosuView : UIView {
    
@private
    /* The pixel dimensions of the backbuffer */
    GLint backingWidth;
    GLint backingHeight;
    
    EAGLContext *context;
    
    /* OpenGL names for the renderbuffer and framebuffers used to render to this view */
    GLuint viewRenderbuffer, viewFramebuffer;
    
    NSMutableSet* currentTouches;
    Gosu::Touches* currentTouchesVector;
}

- (void)drawView;
@end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
gosu-0.7.48 GosuImpl/Graphics/GosuView.hpp
gosu-0.7.47.1 GosuImpl/Graphics/GosuView.hpp
gosu-0.7.46 GosuImpl/Graphics/GosuView.hpp
gosu-0.7.45 GosuImpl/Graphics/GosuView.hpp
gosu-0.7.44 GosuImpl/Graphics/GosuView.hpp
gosu-0.7.43 GosuImpl/Graphics/GosuView.hpp
gosu-0.7.41 GosuImpl/Graphics/GosuView.hpp
gosu-0.7.40 GosuImpl/Graphics/GosuView.hpp
gosu-0.7.39 GosuImpl/Graphics/GosuView.hpp
gosu-0.7.38 GosuImpl/Graphics/GosuView.hpp
gosu-0.7.37 GosuImpl/Graphics/GosuView.hpp
gosu-0.7.36.2 GosuImpl/Graphics/GosuView.hpp
gosu-0.7.35 GosuImpl/Graphics/GosuView.hpp
gosu-0.7.33 GosuImpl/Graphics/GosuView.hpp
gosu-0.7.32 GosuImpl/Graphics/GosuView.hpp
gosu-0.7.31 GosuImpl/Graphics/GosuView.hpp
gosu-0.7.30 GosuImpl/Graphics/GosuView.hpp
gosu-0.7.29 GosuImpl/Graphics/GosuView.hpp
gosu-0.7.28 GosuImpl/Graphics/GosuView.hpp
gosu-0.7.27.1 GosuImpl/Graphics/GosuView.hpp