From 6063f7a73c4a863309a8b6a18bbbda122617162b Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Mon, 31 Mar 2014 21:18:10 +0200 Subject: [PATCH] rnd-20140331-1-src --- src/conftime.h | 2 +- src/screens.c | 9 ++++++++- src/tools.c | 2 ++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/conftime.h b/src/conftime.h index 77c730dd..727e6a54 100644 --- a/src/conftime.h +++ b/src/conftime.h @@ -1 +1 @@ -#define COMPILE_DATE_STRING "2014-03-27 15:41" +#define COMPILE_DATE_STRING "2014-03-28 23:42" diff --git a/src/screens.c b/src/screens.c index bb4e5a9e..47c66fb3 100644 --- a/src/screens.c +++ b/src/screens.c @@ -1498,7 +1498,8 @@ void DrawMainMenuExt(int fade_mask, boolean do_fading) #endif #if 1 - if (fade_mask == REDRAW_ALL) + // if (fade_mask == REDRAW_ALL) + // (always redraw current door state) { int door_state = GetDoorState(); @@ -1508,6 +1509,12 @@ void DrawMainMenuExt(int fade_mask, boolean do_fading) } #endif +#if 0 + redraw_mask |= REDRAW_ALL; + BackToFront(); + Delay(3000); +#endif + DrawMaskedBorder(REDRAW_ALL); FadeIn(fade_mask); diff --git a/src/tools.c b/src/tools.c index aa9beb17..7986e8bc 100644 --- a/src/tools.c +++ b/src/tools.c @@ -2993,6 +2993,7 @@ void AnimateEnvelopeRequest(int anim_mode, int action) redraw_mask = REDRAW_FIELD | REDRAW_FROM_BACKBUFFER; // redraw_mask |= REDRAW_ALL | REDRAW_FROM_BACKBUFFER; #else + /* CHECK AGAIN (previous code reactivated) */ redraw_mask |= REDRAW_FIELD | REDRAW_FROM_BACKBUFFER; #endif @@ -3356,6 +3357,7 @@ void ShowEnvelopeRequest(char *text, unsigned int req_state, int action) redraw_mask = REDRAW_FIELD; // redraw_mask |= REDRAW_ALL; #else + /* CHECK AGAIN (previous code reactivated) */ redraw_mask |= REDRAW_FIELD; #endif -- 2.34.1