diff options
author | Johannes Schickel | 2012-02-23 03:13:09 +0100 |
---|---|---|
committer | Johannes Schickel | 2012-02-23 03:18:00 +0100 |
commit | 5ae958bcf3a1dc4d7be093eac99eb0d5145c8c7e (patch) | |
tree | c2d7a24d5837b666bfdb8f7dda155f77377334a6 /backends/platform/iphone/iphone_video.h | |
parent | e00fc73eb891b7f460e2377fed7f12224a9103cf (diff) | |
download | scummvm-rg350-5ae958bcf3a1dc4d7be093eac99eb0d5145c8c7e.tar.gz scummvm-rg350-5ae958bcf3a1dc4d7be093eac99eb0d5145c8c7e.tar.bz2 scummvm-rg350-5ae958bcf3a1dc4d7be093eac99eb0d5145c8c7e.zip |
IPHONE: Let iPhoneView and OSystem_IPHONE share the same VideoContext.
This allows for better sharing between the current video state in the view and
the OSystem implementation.
This also gets rid of most C interface functions for calling ObjC code.
Diffstat (limited to 'backends/platform/iphone/iphone_video.h')
-rw-r--r-- | backends/platform/iphone/iphone_video.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/backends/platform/iphone/iphone_video.h b/backends/platform/iphone/iphone_video.h index 2677267171..1d9d7e7d35 100644 --- a/backends/platform/iphone/iphone_video.h +++ b/backends/platform/iphone/iphone_video.h @@ -35,6 +35,8 @@ #include "iphone_common.h" @interface iPhoneView : UIView { + VideoContext _videoContext; + NSMutableArray *_events; SoftKeyboard *_keyboardView; @@ -56,6 +58,8 @@ - (id)initWithFrame:(struct CGRect)frame; +- (VideoContext *)getVideoContext; + - (void)drawRect:(CGRect)frame; - (void)initSurface; @@ -81,4 +85,6 @@ @end +extern iPhoneView *g_iPhoneViewInstance; + #endif |