diff win/XBrowseForFolder.cpp @ 2625:2e804b4db81e

Win: Standardize internal function name style...
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 27 Jul 2021 23:09:52 +0000
parents 709f8bfa711f
children 0e47ca67aab0
line wrap: on
line diff
--- a/win/XBrowseForFolder.cpp	Mon Jul 26 23:39:24 2021 +0000
+++ b/win/XBrowseForFolder.cpp	Tue Jul 27 23:09:52 2021 +0000
@@ -216,11 +216,11 @@
 /* Include necessary variables and prototypes from dw.c */
 extern int _DW_DARK_MODE_SUPPORTED;
 extern int _DW_DARK_MODE_ENABLED;
-extern BOOL (WINAPI * _DW_ShouldAppsUseDarkMode)(VOID);
+extern BOOL (WINAPI * _dw_should_apps_use_dark_mode)(VOID);
 
-BOOL _DW_IsHighContrast(VOID);
-BOOL _DW_IsColorSchemeChangeMessage(LPARAM lParam);
-void _DW_RefreshTitleBarThemeColor(HWND window);
+BOOL _dw_is_high_contrast(VOID);
+BOOL _dw_is_color_scheme_change_message(LPARAM lParam);
+void _dw_refresh_titlebar_theme_color(HWND window);
 BOOL CALLBACK _dw_set_child_window_theme(HWND window, LPARAM lParam);
 }
 #endif
@@ -239,11 +239,11 @@
 #ifdef AEROGLASS
 		case WM_SETTINGCHANGE:
 		{
-			if(_DW_DARK_MODE_SUPPORTED && _DW_IsColorSchemeChangeMessage(lpData))
+			if(_DW_DARK_MODE_SUPPORTED && _dw_is_color_scheme_change_message(lpData))
 			{
-				_DW_DARK_MODE_ENABLED = _DW_ShouldAppsUseDarkMode() && !_DW_IsHighContrast();
+				_DW_DARK_MODE_ENABLED = _dw_should_apps_use_dark_mode() && !_dw_is_high_contrast();
 
-				_DW_RefreshTitleBarThemeColor(hWnd);
+				_dw_refresh_titlebar_theme_color(hWnd);
 				_dw_set_child_window_theme(hWnd, 0);
 				EnumChildWindows(hWnd, _dw_set_child_window_theme, 0);
 			}
@@ -281,7 +281,7 @@
 			{
 				_dw_set_child_window_theme(hWnd, 0);
 				EnumChildWindows(hWnd, _dw_set_child_window_theme, 0);
-				_DW_RefreshTitleBarThemeColor(hWnd);
+				_dw_refresh_titlebar_theme_color(hWnd);
 			}
 #endif
 			SizeBrowseDialog(hWnd, fp);