summaryrefslogtreecommitdiff
path: root/src/Window.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-05-28 18:28:55 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-05-28 18:28:55 +0200
commit15553804d644fd66c52d270c729c5250b06ee9e4 (patch)
tree327b55e0931e3f078d304fe957c82f8ecbc7f616 /src/Window.hpp
parent7f1f14fe85f53fcf12849632d3f003f00cca7578 (diff)
Added closing animations (reverse of open)
Diffstat (limited to 'src/Window.hpp')
-rw-r--r--src/Window.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Window.hpp b/src/Window.hpp
index 238d02e0..253600b2 100644
--- a/src/Window.hpp
+++ b/src/Window.hpp
@@ -82,6 +82,8 @@ public:
CAnimatedVariable m_fAlpha;
bool m_bFadingOut = false;
bool m_bReadyToDelete = false;
+ Vector2D m_vOriginalClosedPos; // these will be used for calculations later on in
+ Vector2D m_vOriginalClosedSize; // drawing the closing animations
// For hidden windows and stuff
bool m_bHidden = false;