Improved member variable naming as suggested by Stippi.

This commit is contained in:
Axel Dörfler 2012-08-27 19:40:57 +02:00
parent 7a74a5df45
commit 242e01d245
2 changed files with 5 additions and 5 deletions

View File

@ -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;
}

View File

@ -70,7 +70,7 @@ private:
bool fIsPlaying;
bool fIsFullscreen;
bool fFullscreenControlsVisible;
bool fFirstAfterFullscreen;
bool fFirstPulseAfterFullscreen;
uint8 fSendHideCounter;
bigtime_t fLastMouseMove;