#ifndef __LAYERVIEW_H__ #define __LAYERVIEW_H__ #import #import #import #import #import #import #include "game/ht.h" #import "game/iphone/wiview.h" #include "game/iphone/layerdib.h" #include @interface LayerView : WiView { CGContextRef bmCtx_; wi::LayerDib *pbm_; CGAffineTransform tm_; bool initialized_; CGRect *arcInvalid_; int crcInvalid_; } - (id)initWithFrame:(CGRect)rect; - (void)dealloc; - (void)frameStart; - (void)frameComplete:(int)cfrmm maps:(wi::UpdateMap **)apupd rects:(wi::Rect *)arc scrolled:(bool)fScrolled; - (wi::DibBitmap *)createFrontDibWithOrientation:(int)nDegreeOrientation width:(int)cx height:(int)cy; - (void)setPalette:(wi::Palette *)ppal; - (void)setFormMgrs:(wi::FormMgr *)pfrmmSimUI input:(wi::FormMgr *)pfrmmInput; - (void)resetScrollOffset; @end #endif // __LAYERVIEW_H__