syscolor and sysmetrics registry key names

Jake Hamby jhamby at anobject.com
Fri May 7 14:17:17 CDT 2004


* windows/syscolor.c, windows/sysmetrics.c

Jake Hamby <jhamby at anobject.com>

Several of the registry keys for system colors and system metrics are 
incorrect.  I've attached the relevant registry keys from my WinXP 
system (nice Visual Studio.NET looking colors from a StyleXP theme). 
The system metrics were compared against Windows using the SysMets3 
program from Petzold.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch2.diff
Type: text/x-patch
Size: 3863 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20040507/967a7bfd/patch2.bin
-------------- next part --------------
ÿþW i n d o w s   R e g i s t r y   E d i t o r   V e r s i o n   5 . 0 0 
 
 
 
 [ H K E Y _ C U R R E N T _ U S E R \ C o n t r o l   P a n e l \ C o l o r s ] 
 
 " A c t i v e B o r d e r " = " 2 1 2   2 0 8   2 0 0 " 
 
 " A c t i v e T i t l e " = " 8 2   1 5 1   2 4 9 " 
 
 " A p p W o r k S p a c e " = " 1 2 8   1 2 8   1 2 8 " 
 
 " B a c k g r o u n d " = " 8 2   1 5 0   2 4 7 " 
 
 " B u t t o n A l t e r n a t e F a c e " = " 1 8 1   1 8 1   1 8 1 " 
 
 " B u t t o n D k S h a d o w " = " 1 1 3   1 1 1   1 0 0 " 
 
 " B u t t o n F a c e " = " 2 3 5   2 3 5   2 2 8 " 
 
 " B u t t o n H i l i g h t " = " 2 5 5   2 5 5   2 5 5 " 
 
 " B u t t o n L i g h t " = " 2 3 5   2 3 5   2 3 5 " 
 
 " B u t t o n S h a d o w " = " 1 2 8   1 2 8   1 2 8 " 
 
 " B u t t o n T e x t " = " 0   0   0 " 
 
 " G r a d i e n t A c t i v e T i t l e " = " 5 3   1 1 5   2 1 4 " 
 
 " G r a d i e n t I n a c t i v e T i t l e " = " 4 4   9 6   1 7 8 " 
 
 " G r a y T e x t " = " 1 5 9   1 7 6   2 0 2 " 
 
 " H i l i g h t " = " 8 2   1 5 0   2 4 7 " 
 
 " H i l i g h t T e x t " = " 2 5 5   2 5 5   2 5 5 " 
 
 " H o t T r a c k i n g C o l o r " = " 0   0   1 2 8 " 
 
 " I n a c t i v e B o r d e r " = " 2 1 2   2 0 8   2 0 0 " 
 
 " I n a c t i v e T i t l e " = " 4 4   9 6   1 7 8 " 
 
 " I n a c t i v e T i t l e T e x t " = " 1 6 6   1 9 7   2 4 7 " 
 
 " I n f o T e x t " = " 0   0   0 " 
 
 " I n f o W i n d o w " = " 2 5 5   2 5 5   2 2 5 " 
 
 " M e n u " = " 2 5 5   2 5 5   2 5 5 " 
 
 " M e n u T e x t " = " 0   0   0 " 
 
 " S c r o l l b a r " = " 2 1 2   2 0 8   2 0 0 " 
 
 " T i t l e T e x t " = " 2 5 5   2 5 5   2 5 5 " 
 
 " W i n d o w " = " 2 5 5   2 5 5   2 5 5 " 
 
 " W i n d o w F r a m e " = " 0   0   0 " 
 
 " W i n d o w T e x t " = " 0   0   0 " 
 
 " M e n u H i l i g h t " = " 8 2   1 5 0   2 4 7 " 
 
 " M e n u B a r " = " 2 3 5   2 3 5   2 2 8 " 
 
 
 
 
-------------- next part --------------
ÿþW i n d o w s   R e g i s t r y   E d i t o r   V e r s i o n   5 . 0 0 
 
 
 
 [ H K E Y _ C U R R E N T _ U S E R \ C o n t r o l   P a n e l \ D e s k t o p \ W i n d o w M e t r i c s ] 
 
 " B o r d e r W i d t h " = " 0 " 
 
 " C a p t i o n F o n t " = h e x : f 5 , f f , f f , f f , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , b c , 0 2 , 0 0 , 0 0 , \ 
 
     0 0 , 0 0 , 0 0 , 0 1 , 0 0 , 0 0 , 0 0 , 0 0 , 5 4 , 0 0 , 6 1 , 0 0 , 6 8 , 0 0 , 6 f , 0 0 , 6 d , 0 0 , 6 1 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , \ 
 
     0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , \ 
 
     0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 
 
 " C a p t i o n H e i g h t " = " - 3 0 0 " 
 
 " C a p t i o n W i d t h " = " - 2 7 0 " 
 
 " I c o n F o n t " = h e x : f 5 , f f , f f , f f , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 9 0 , 0 1 , 0 0 , 0 0 , 0 0 , \ 
 
     0 0 , 0 0 , 0 1 , 0 0 , 0 0 , 0 0 , 0 0 , 5 4 , 0 0 , 6 1 , 0 0 , 6 8 , 0 0 , 6 f , 0 0 , 6 d , 0 0 , 6 1 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , \ 
 
     0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , \ 
 
     0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 
 
 " I c o n S p a c i n g " = " - 1 1 2 5 " 
 
 " I c o n T i t l e W r a p " = " 1 " 
 
 " I c o n V e r t i c a l s p a c i n g " = " - 1 1 2 5 " 
 
 " M e n u F o n t " = h e x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, 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , \ 
 
     0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 
 
 " S c r o l l H e i g h t " = " - 2 5 5 " 
 
 " S c r o l l W i d t h " = " - 2 5 5 " 
 
 " S h e l l   I c o n   B P P " = " 1 6 " 
 
 " S m C a p t i o n F o n t " = h e x : f 5 , f f , f f , f f , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , b c , 0 2 , 0 0 , \ 
 
     0 0 , 0 0 , 0 0 , 0 0 , 0 1 , 0 0 , 0 0 , 0 0 , 0 0 , 5 4 , 0 0 , 6 1 , 0 0 , 6 8 , 0 0 , 6 f , 0 0 , 6 d , 0 0 , 6 1 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , \ 
 
     0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , \ 
 
     0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 
 
 " S m C a p t i o n H e i g h t " = " - 2 8 5 " 
 
 " S m C a p t i o n W i d t h " = " - 2 8 5 " 
 
 " S t a t u s F o n t " = h e x : f 5 , f f , f f , f f , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 9 0 , 0 1 , 0 0 , 0 0 , \ 
 
     0 0 , 0 0 , 0 0 , 0 1 , 0 0 , 0 0 , 0 0 , 0 0 , 5 4 , 0 0 , 6 1 , 0 0 , 6 8 , 0 0 , 6 f , 0 0 , 6 d , 0 0 , 6 1 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , \ 
 
     0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , \ 
 
     0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 , 0 0 
 
 " A p p l i e d D P I " = d w o r d : 0 0 0 0 0 0 6 0 
 
 " S h e l l   I c o n   S i z e " = " 3 2 " 
 
 " M i n A n i m a t e " = " 1 " 
 
 
 
 


More information about the wine-patches mailing list