[PATCH 2/5] uxtheme: Support parsing more clock states.

Zhiyi Zhang wine at gitlab.winehq.org
Mon Jun 20 22:10:58 CDT 2022


From: Zhiyi Zhang <zzhang at codeweavers.com>

Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
---
 dlls/uxtheme/stylemap.c | 2 ++
 include/vssym32.h       | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/dlls/uxtheme/stylemap.c b/dlls/uxtheme/stylemap.c
index 7a0a64cc470..8597be2b40e 100644
--- a/dlls/uxtheme/stylemap.c
+++ b/dlls/uxtheme/stylemap.c
@@ -431,6 +431,8 @@ static const MSSTYLES_CLASS_MAP classButton[] = {
 static const MSSTYLES_CLASS_MAP classClock[] = {
     {CLP_TIME, 0, L"TIME"},
     {CLP_TIME, CLS_NORMAL, L"NORMAL"},
+    {CLP_TIME, CLS_HOT, L"HOT"},
+    {CLP_TIME, CLS_PRESSED, L"PRESSED"},
     {0, 0, L""}
 };
 
diff --git a/include/vssym32.h b/include/vssym32.h
index 8685fb7f7f0..8bc161a213c 100644
--- a/include/vssym32.h
+++ b/include/vssym32.h
@@ -522,6 +522,8 @@ enum CLOCKPARTS {
 
 enum CLOCKSTATES {
     CLS_NORMAL = 1,
+    CLS_HOT = 2,
+    CLS_PRESSED = 3,
 };
 
 /* TRAYNOTIFY class */
-- 
GitLab


https://gitlab.winehq.org/wine/wine/-/merge_requests/287



More information about the wine-devel mailing list