diff dw.h @ 2135:d9720d48d61e

Win: Code cleanup, create internal helper functions _dw_window_get_cinfo() and _dw_window_new_cinfo() to simply code dealing with ColorInfo structs. Remove the vcenter and unused user fields replacing them with style and rect. Style will cache the requested style for a window instead of the active style, which may differ based on the state of the system. So now we can just check the style to see if VCENTER is set.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Wed, 08 Jul 2020 22:24:33 +0000
parents 42f8ad7a89e8
children 709f8bfa711f
line wrap: on
line diff
--- a/dw.h	Tue Jul 07 23:14:12 2020 +0000
+++ b/dw.h	Wed Jul 08 22:24:33 2020 +0000
@@ -630,8 +630,8 @@
    int fore;
    int back;
    HWND combo, buddy;
-   int user;
-   int vcenter;
+   ULONG style;
+   RECT rect;
    HWND clickdefault;
    HBRUSH hbrush;
    HFONT hfont;