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.27 GosuImpl/Graphics/GosuView.hpp
gosu-0.7.26.1 GosuImpl/Graphics/GosuView.hpp
gosu-0.7.26 GosuImpl/Graphics/GosuView.hpp
gosu-0.7.25 GosuImpl/Graphics/GosuView.hpp
gosu-0.7.24 GosuImpl/Graphics/GosuView.hpp
gosu-0.7.23 GosuImpl/Graphics/GosuView.hpp