From 0c060267ccea726d5c2c2fd1e45d1f16965fb01e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 16 Aug 2015 23:08:55 +0000 Subject: code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@14975 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Popup/src/effects.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'plugins/Popup/src/effects.cpp') diff --git a/plugins/Popup/src/effects.cpp b/plugins/Popup/src/effects.cpp index ede4d633f1..dfc8139d08 100644 --- a/plugins/Popup/src/effects.cpp +++ b/plugins/Popup/src/effects.cpp @@ -37,17 +37,17 @@ protected: int alpha; public: - virtual void beginEffect(int w, int h, int alpha0, int alpha1, int frameCount) + virtual void beginEffect(int _w, int _h, int _alpha0, int _alpha1, int _frameCount) { - this->w = w; - this->h = h; - this->alpha0 = alpha0; - this->alpha1 = alpha1; - this->frameCount = frameCount; + w = _w; + h = _h; + alpha0 = _alpha0; + alpha1 = _alpha1; + frameCount = _frameCount; } - virtual void beginFrame(int frame) + virtual void beginFrame(int _frame) { - this->frame = frame; + frame = _frame; stage = (frame * 2 > frameCount) ? 1 : 0; if (stage == 0) alpha = alpha0 + (alpha1 - alpha0) * frame * 2 / frameCount; -- cgit v1.2.3