summaryrefslogtreecommitdiff
path: root/src/window_gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/window_gui.h')
-rw-r--r--src/window_gui.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/window_gui.h b/src/window_gui.h
index 665bcde22..c8aa57ce3 100644
--- a/src/window_gui.h
+++ b/src/window_gui.h
@@ -409,6 +409,7 @@ struct vp_d {
int32 scrollpos_y;
int32 dest_scrollpos_x;
int32 dest_scrollpos_y;
+ ViewPort vp_data; ///< Screen position and zoom of the viewport
};
assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(vp_d));