diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/system.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/system.h b/common/system.h index 4bac597eb1..c0fabec1b4 100644 --- a/common/system.h +++ b/common/system.h @@ -92,6 +92,10 @@ public: // The screen will not be updated to reflect the new bitmap virtual void copy_rect(const byte *buf, int pitch, int x, int y, int w, int h) = 0; + // Moves the screen content around by the given amount of pixels + // but only the top height pixel rows, the rest stays untouched + virtual void move_screen(int dx, int dy, int height) = 0; + // Update the dirty areas of the screen virtual void update_screen() = 0; |