From 242e01d245c9502b88d839b3cf8eefc9742aba47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 27 Aug 2012 19:40:57 +0200 Subject: [PATCH] Improved member variable naming as suggested by Stippi. --- src/apps/mediaplayer/VideoView.cpp | 8 ++++---- src/apps/mediaplayer/VideoView.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/apps/mediaplayer/VideoView.cpp b/src/apps/mediaplayer/VideoView.cpp index 7715baad4f..035bd9cea5 100644 --- a/src/apps/mediaplayer/VideoView.cpp +++ b/src/apps/mediaplayer/VideoView.cpp @@ -32,7 +32,7 @@ VideoView::VideoView(BRect frame, const char* name, uint32 resizeMask) fIsPlaying(false), fIsFullscreen(false), fFullscreenControlsVisible(false), - fFirstAfterFullscreen(false), + fFirstPulseAfterFullscreen(false), fSendHideCounter(0), fLastMouseMove(system_time()), @@ -134,7 +134,7 @@ VideoView::Pulse() if (buttons == 0) { // Hide the full screen controls (and the mouse pointer) // after a while - if (fFullscreenControlsVisible || fFirstAfterFullscreen) { + if (fFullscreenControlsVisible || fFirstPulseAfterFullscreen) { if (fSendHideCounter == 0 || fSendHideCounter == 3) { // Send after 1.5s and after 4.5s BMessage message(M_HIDE_FULL_SCREEN_CONTROLS); @@ -144,7 +144,7 @@ VideoView::Pulse() Window()->PostMessage(&message, Window()); } fSendHideCounter++; - fFirstAfterFullscreen = false; + fFirstPulseAfterFullscreen = false; } // Take care of disabling the screen saver @@ -310,7 +310,7 @@ VideoView::SetFullscreen(bool fullScreen) { fIsFullscreen = fullScreen; fSendHideCounter = 0; - fFirstAfterFullscreen = true; + fFirstPulseAfterFullscreen = true; } diff --git a/src/apps/mediaplayer/VideoView.h b/src/apps/mediaplayer/VideoView.h index ab8e84aa14..fa8f753216 100644 --- a/src/apps/mediaplayer/VideoView.h +++ b/src/apps/mediaplayer/VideoView.h @@ -70,7 +70,7 @@ private: bool fIsPlaying; bool fIsFullscreen; bool fFullscreenControlsVisible; - bool fFirstAfterFullscreen; + bool fFirstPulseAfterFullscreen; uint8 fSendHideCounter; bigtime_t fLastMouseMove;