From 479d1226faaa937ef6820b14f36099ef3f575883 Mon Sep 17 00:00:00 2001 From: Jonas Kümmerlin Date: Sat, 18 Apr 2020 17:34:55 +0200 Subject: implement background color reduce flickering by keeping pixels if we know the background didn't change panel text is now gone, it would require us to redraw every transparent widget on top, which is a bad tradeoff since that panel text isn't very useful anyway. --- alf/alfpriv.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'alf/alfpriv.h') diff --git a/alf/alfpriv.h b/alf/alfpriv.h index d539baf..90a4e9f 100644 --- a/alf/alfpriv.h +++ b/alf/alfpriv.h @@ -42,3 +42,6 @@ ALF_BuildUniqueName(TCHAR *buf, const TCHAR *prefix, ULONG_PTR uniquifier); BOOL ALF_ShouldMessageBubble(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam); + +void +ALF_FillRect(HDC dc, const RECT *rc, ALFColor color); -- cgit v1.2.3