Mercurial > dwindows
annotate win/dwtest.rc @ 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 | 43c6ecfc598a |
children |
rev | line source |
---|---|
1855
72a75442c51d
Updated MinGW makefile to support picking 32-bit or 64-bit based
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
1 #include "winuser.h" |
1865
43c6ecfc598a
It seems WIN64 is defined in 32-bit mode using MinGW... so switch
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1855
diff
changeset
|
2 #ifdef DW64 |
1855
72a75442c51d
Updated MinGW makefile to support picking 32-bit or 64-bit based
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
3 1 RT_MANIFEST dwtest.exe.x64.manifest |
72a75442c51d
Updated MinGW makefile to support picking 32-bit or 64-bit based
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
4 #else |
72a75442c51d
Updated MinGW makefile to support picking 32-bit or 64-bit based
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
5 1 RT_MANIFEST dwtest.exe.x86.manifest |
72a75442c51d
Updated MinGW makefile to support picking 32-bit or 64-bit based
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
6 #endif |