Mercurial > dwindows
diff template/dw.c @ 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 | 2b30ff777eee |
children | 1ec6300a627b |