#import #import #import #import #import #import #include "SkMatrix.h" #include "FlingState.h" #include "SampleApp.h" #include "SkiOSDeviceManager.h" class SkOSWindow; class SkEvent; struct FPSState; @interface SkUIView : UIView { BOOL fRedrawRequestPending; SkMatrix fMatrix; float fZoomAroundX, fZoomAroundY; bool fZoomAround; struct { EAGLContext* fContext; GLuint fRenderbuffer; GLuint fStencilbuffer; GLuint fFramebuffer; GLint fWidth; GLint fHeight; } fGL; FPSState* fFPSState; NSString* fTitle; UINavigationItem* fTitleItem; SkOSWindow* fWind; SkiOSDeviceManager* fDevManager; } @property (nonatomic, assign) SkOSWindow *fWind; @property (nonatomic, retain) UINavigationItem* fTitleItem; @property (nonatomic, copy) NSString* fTitle; - (void)setSkTitle:(const char*)title; - (void)postInvalWithRect:(const SkIRect*)rectOrNil; - (BOOL)onHandleEvent:(const SkEvent&)event; @end