Sha256: 26ee593af5cfca2c3052ac294db25fae33f481c3f411a9e46ac68afaed464f93

Contents?: true

Size: 852 Bytes

Versions: 8

Compression:

Stored size: 852 Bytes

Contents

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

// 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;
}

- (const Gosu::Touches&)currentTouches;

- (void)drawView;

// This method is necessary because if pressing a LOT of touches, some
// of them may end up not being sent to touchesEnded(), which is confusing
// to application programmers.
- (void)removeDeadTouches;

@end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
gosu-0.7.22 GosuImpl/Graphics/GosuView.hpp
gosu-0.7.21 GosuImpl/Graphics/GosuView.hpp
gosu-0.7.20 GosuImpl/Graphics/GosuView.hpp
gosu-0.7.19 GosuImpl/Graphics/GosuView.hpp
gosu-0.7.18 GosuImpl/Graphics/GosuView.hpp
gosu-0.7.17 GosuImpl/Graphics/GosuView.hpp
gosu-0.7.16 GosuImpl/Graphics/GosuView.hpp
gosu-0.7.15 GosuImpl/Graphics/GosuView.hpp