Fade overlay in and out
diff --git a/vncviewer/DesktopWindow.h b/vncviewer/DesktopWindow.h
index 1390e4f..3dfaaea 100644
--- a/vncviewer/DesktopWindow.h
+++ b/vncviewer/DesktopWindow.h
@@ -76,7 +76,7 @@
static void menuOverlay(void *data);
void setOverlay(const char *text, ...) __printf_attr(2, 3);
- static void clearOverlay(void *data);
+ static void updateOverlay(void *data);
static int fltkHandle(int event, Fl_Window *win);
@@ -109,6 +109,8 @@
Viewport *viewport;
Surface *offscreen;
Surface *overlay;
+ unsigned char overlayAlpha;
+ struct timeval overlayStart;
bool firstUpdate;
bool delayedFullscreen;