diff options
author | Martin Kiewitz | 2009-10-31 15:25:47 +0000 |
---|---|---|
committer | Martin Kiewitz | 2009-10-31 15:25:47 +0000 |
commit | 99cd8d5d2f489cdfe764da46903446eb2f6d5914 (patch) | |
tree | 333f6476f106a2165cb462eba413b679aa1d1a58 /engines/sci/gui32 | |
parent | 4b9066ef6911f373c53f5ca804d843e3c393da2f (diff) | |
download | scummvm-rg350-99cd8d5d2f489cdfe764da46903446eb2f6d5914.tar.gz scummvm-rg350-99cd8d5d2f489cdfe764da46903446eb2f6d5914.tar.bz2 scummvm-rg350-99cd8d5d2f489cdfe764da46903446eb2f6d5914.zip |
SCI/newgui: kGraph support for Save-UpscaledHires-Box (not sure if coordinates are really hires, it seems that they are not)
svn-id: r45564
Diffstat (limited to 'engines/sci/gui32')
-rw-r--r-- | engines/sci/gui32/gui32.cpp | 7 | ||||
-rw-r--r-- | engines/sci/gui32/gui32.h | 3 |
2 files changed, 8 insertions, 2 deletions
diff --git a/engines/sci/gui32/gui32.cpp b/engines/sci/gui32/gui32.cpp index 233df2478b..12ec90e8e8 100644 --- a/engines/sci/gui32/gui32.cpp +++ b/engines/sci/gui32/gui32.cpp @@ -1239,7 +1239,7 @@ void SciGui32::graphDrawLine(Common::Point startPoint, Common::Point endPoint, i FULL_REDRAW(); } -reg_t SciGui32::graphSaveBox(Common::Rect rect, uint16 flags) { +reg_t SciGui32::graphSaveBox(Common::Rect rect, uint16 screenMask) { rect_t area; area.x = rect.left + _s->port->zone.x + port_origin_x; area.y = rect.top + _s->port->zone.y + port_origin_y; @@ -1249,6 +1249,11 @@ reg_t SciGui32::graphSaveBox(Common::Rect rect, uint16 flags) { return graph_save_box(_s, area); } +reg_t SciGui32::graphSaveUpscaledHiresBox(Common::Rect rect) { + // STUB + return NULL_REG; +} + void SciGui32::graphRestoreBox(reg_t handle) { graph_restore_box(_s, handle); } diff --git a/engines/sci/gui32/gui32.h b/engines/sci/gui32/gui32.h index 43ce35fc29..d76fc772da 100644 --- a/engines/sci/gui32/gui32.h +++ b/engines/sci/gui32/gui32.h @@ -74,7 +74,8 @@ public: void graphFillBoxBackground(Common::Rect rect); void graphFillBox(Common::Rect rect, uint16 colorMask, int16 color, int16 priority, int16 control); void graphDrawLine(Common::Point startPoint, Common::Point endPoint, int16 color, int16 priority, int16 control); - reg_t graphSaveBox(Common::Rect rect, uint16 flags); + reg_t graphSaveBox(Common::Rect rect, uint16 screenMask); + reg_t graphSaveUpscaledHiresBox(Common::Rect rect); void graphRestoreBox(reg_t handle); void graphUpdateBox(Common::Rect); void graphRedrawBox(Common::Rect); |