Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
beb30217
Commit
beb30217
authored
Nov 09, 2023
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Nov 10, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uxtheme: Remove DECLSPEC_HIDDEN usage.
parent
60ee3e2c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
52 additions
and
52 deletions
+52
-52
msstyles.h
dlls/uxtheme/msstyles.h
+32
-32
system.c
dlls/uxtheme/system.c
+1
-1
uxthemedll.h
dlls/uxtheme/uxthemedll.h
+19
-19
No files found.
dlls/uxtheme/msstyles.h
View file @
beb30217
...
...
@@ -87,37 +87,37 @@ typedef struct _THEME_FILE {
typedef
struct
_UXINI_FILE
*
PUXINI_FILE
;
HRESULT
MSSTYLES_OpenThemeFile
(
LPCWSTR
lpThemeFile
,
LPCWSTR
pszColorName
,
LPCWSTR
pszSizeName
,
PTHEME_FILE
*
tf
)
DECLSPEC_HIDDEN
;
void
MSSTYLES_CloseThemeFile
(
PTHEME_FILE
tf
)
DECLSPEC_HIDDEN
;
HRESULT
MSSTYLES_SetActiveTheme
(
PTHEME_FILE
tf
,
BOOL
setMetrics
)
DECLSPEC_HIDDEN
;
PTHEME_CLASS
MSSTYLES_OpenThemeClass
(
LPCWSTR
pszAppName
,
LPCWSTR
pszClassList
,
UINT
dpi
)
DECLSPEC_HIDDEN
;
HRESULT
MSSTYLES_CloseThemeClass
(
PTHEME_CLASS
tc
)
DECLSPEC_HIDDEN
;
BOOL
MSSTYLES_LookupProperty
(
LPCWSTR
pszPropertyName
,
int
*
dwPrimitive
,
int
*
dwId
)
DECLSPEC_HIDDEN
;
BOOL
MSSTYLES_LookupEnum
(
LPCWSTR
pszValueName
,
int
dwEnum
,
int
*
dwValue
)
DECLSPEC_HIDDEN
;
BOOL
MSSTYLES_LookupPartState
(
LPCWSTR
pszClass
,
LPCWSTR
pszPart
,
LPCWSTR
pszState
,
int
*
iPartId
,
int
*
iStateId
)
DECLSPEC_HIDDEN
;
PUXINI_FILE
MSSTYLES_GetThemeIni
(
PTHEME_FILE
tf
)
DECLSPEC_HIDDEN
;
UINT
MSSTYLES_GetThemeDPI
(
PTHEME_CLASS
tc
)
DECLSPEC_HIDDEN
;
PTHEME_PARTSTATE
MSSTYLES_FindPart
(
PTHEME_CLASS
tc
,
int
iPartId
)
DECLSPEC_HIDDEN
;
PTHEME_PARTSTATE
MSSTYLES_FindPartState
(
PTHEME_CLASS
tc
,
int
iPartId
,
int
iStateId
,
PTHEME_CLASS
*
tcNext
)
DECLSPEC_HIDDEN
;
PTHEME_PROPERTY
MSSTYLES_FindProperty
(
PTHEME_CLASS
tc
,
int
iPartId
,
int
iStateId
,
int
iPropertyPrimitive
,
int
iPropertyId
)
DECLSPEC_HIDDEN
;
PTHEME_PROPERTY
MSSTYLES_FindMetric
(
int
iPropertyPrimitive
,
int
iPropertyId
)
DECLSPEC_HIDDEN
;
HBITMAP
MSSTYLES_LoadBitmap
(
PTHEME_CLASS
tc
,
LPCWSTR
lpFilename
,
BOOL
*
hasAlpha
)
DECLSPEC_HIDDEN
;
HRESULT
MSSTYLES_GetPropertyBool
(
PTHEME_PROPERTY
tp
,
BOOL
*
pfVal
)
DECLSPEC_HIDDEN
;
HRESULT
MSSTYLES_GetPropertyColor
(
PTHEME_PROPERTY
tp
,
COLORREF
*
pColor
)
DECLSPEC_HIDDEN
;
HRESULT
MSSTYLES_GetPropertyFont
(
PTHEME_PROPERTY
tp
,
HDC
hdc
,
LOGFONTW
*
pFont
)
DECLSPEC_HIDDEN
;
HRESULT
MSSTYLES_GetPropertyInt
(
PTHEME_PROPERTY
tp
,
int
*
piVal
)
DECLSPEC_HIDDEN
;
HRESULT
MSSTYLES_GetPropertyIntList
(
PTHEME_PROPERTY
tp
,
INTLIST
*
pIntList
)
DECLSPEC_HIDDEN
;
HRESULT
MSSTYLES_GetPropertyPosition
(
PTHEME_PROPERTY
tp
,
POINT
*
pPoint
)
DECLSPEC_HIDDEN
;
HRESULT
MSSTYLES_GetPropertyString
(
PTHEME_PROPERTY
tp
,
LPWSTR
pszBuff
,
int
cchMaxBuffChars
)
DECLSPEC_HIDDEN
;
HRESULT
MSSTYLES_GetPropertyRect
(
PTHEME_PROPERTY
tp
,
RECT
*
pRect
)
DECLSPEC_HIDDEN
;
HRESULT
MSSTYLES_GetPropertyMargins
(
PTHEME_PROPERTY
tp
,
RECT
*
prc
,
MARGINS
*
pMargins
)
DECLSPEC_HIDDEN
;
PUXINI_FILE
UXINI_LoadINI
(
HMODULE
hTheme
,
LPCWSTR
lpName
)
DECLSPEC_HIDDEN
;
void
UXINI_CloseINI
(
PUXINI_FILE
uf
)
DECLSPEC_HIDDEN
;
LPCWSTR
UXINI_GetNextSection
(
PUXINI_FILE
uf
,
DWORD
*
dwLen
)
DECLSPEC_HIDDEN
;
BOOL
UXINI_FindSection
(
PUXINI_FILE
uf
,
LPCWSTR
lpName
)
DECLSPEC_HIDDEN
;
LPCWSTR
UXINI_GetNextValue
(
PUXINI_FILE
uf
,
DWORD
*
dwNameLen
,
LPCWSTR
*
lpValue
,
DWORD
*
dwValueLen
)
DECLSPEC_HIDDEN
;
BOOL
UXINI_FindValue
(
PUXINI_FILE
uf
,
LPCWSTR
lpName
,
LPCWSTR
*
lpValue
,
DWORD
*
dwValueLen
)
DECLSPEC_HIDDEN
;
HRESULT
MSSTYLES_OpenThemeFile
(
LPCWSTR
lpThemeFile
,
LPCWSTR
pszColorName
,
LPCWSTR
pszSizeName
,
PTHEME_FILE
*
tf
);
void
MSSTYLES_CloseThemeFile
(
PTHEME_FILE
tf
);
HRESULT
MSSTYLES_SetActiveTheme
(
PTHEME_FILE
tf
,
BOOL
setMetrics
);
PTHEME_CLASS
MSSTYLES_OpenThemeClass
(
LPCWSTR
pszAppName
,
LPCWSTR
pszClassList
,
UINT
dpi
);
HRESULT
MSSTYLES_CloseThemeClass
(
PTHEME_CLASS
tc
);
BOOL
MSSTYLES_LookupProperty
(
LPCWSTR
pszPropertyName
,
int
*
dwPrimitive
,
int
*
dwId
);
BOOL
MSSTYLES_LookupEnum
(
LPCWSTR
pszValueName
,
int
dwEnum
,
int
*
dwValue
);
BOOL
MSSTYLES_LookupPartState
(
LPCWSTR
pszClass
,
LPCWSTR
pszPart
,
LPCWSTR
pszState
,
int
*
iPartId
,
int
*
iStateId
);
PUXINI_FILE
MSSTYLES_GetThemeIni
(
PTHEME_FILE
tf
);
UINT
MSSTYLES_GetThemeDPI
(
PTHEME_CLASS
tc
);
PTHEME_PARTSTATE
MSSTYLES_FindPart
(
PTHEME_CLASS
tc
,
int
iPartId
);
PTHEME_PARTSTATE
MSSTYLES_FindPartState
(
PTHEME_CLASS
tc
,
int
iPartId
,
int
iStateId
,
PTHEME_CLASS
*
tcNext
);
PTHEME_PROPERTY
MSSTYLES_FindProperty
(
PTHEME_CLASS
tc
,
int
iPartId
,
int
iStateId
,
int
iPropertyPrimitive
,
int
iPropertyId
);
PTHEME_PROPERTY
MSSTYLES_FindMetric
(
int
iPropertyPrimitive
,
int
iPropertyId
);
HBITMAP
MSSTYLES_LoadBitmap
(
PTHEME_CLASS
tc
,
LPCWSTR
lpFilename
,
BOOL
*
hasAlpha
);
HRESULT
MSSTYLES_GetPropertyBool
(
PTHEME_PROPERTY
tp
,
BOOL
*
pfVal
);
HRESULT
MSSTYLES_GetPropertyColor
(
PTHEME_PROPERTY
tp
,
COLORREF
*
pColor
);
HRESULT
MSSTYLES_GetPropertyFont
(
PTHEME_PROPERTY
tp
,
HDC
hdc
,
LOGFONTW
*
pFont
);
HRESULT
MSSTYLES_GetPropertyInt
(
PTHEME_PROPERTY
tp
,
int
*
piVal
);
HRESULT
MSSTYLES_GetPropertyIntList
(
PTHEME_PROPERTY
tp
,
INTLIST
*
pIntList
);
HRESULT
MSSTYLES_GetPropertyPosition
(
PTHEME_PROPERTY
tp
,
POINT
*
pPoint
);
HRESULT
MSSTYLES_GetPropertyString
(
PTHEME_PROPERTY
tp
,
LPWSTR
pszBuff
,
int
cchMaxBuffChars
);
HRESULT
MSSTYLES_GetPropertyRect
(
PTHEME_PROPERTY
tp
,
RECT
*
pRect
);
HRESULT
MSSTYLES_GetPropertyMargins
(
PTHEME_PROPERTY
tp
,
RECT
*
prc
,
MARGINS
*
pMargins
);
PUXINI_FILE
UXINI_LoadINI
(
HMODULE
hTheme
,
LPCWSTR
lpName
);
void
UXINI_CloseINI
(
PUXINI_FILE
uf
);
LPCWSTR
UXINI_GetNextSection
(
PUXINI_FILE
uf
,
DWORD
*
dwLen
);
BOOL
UXINI_FindSection
(
PUXINI_FILE
uf
,
LPCWSTR
lpName
);
LPCWSTR
UXINI_GetNextValue
(
PUXINI_FILE
uf
,
DWORD
*
dwNameLen
,
LPCWSTR
*
lpValue
,
DWORD
*
dwValueLen
);
BOOL
UXINI_FindValue
(
PUXINI_FILE
uf
,
LPCWSTR
lpName
,
LPCWSTR
*
lpValue
,
DWORD
*
dwValueLen
);
#endif
dlls/uxtheme/system.c
View file @
beb30217
...
...
@@ -43,7 +43,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(uxtheme);
static
const
WCHAR
szThemeManager
[]
=
L"Software
\\
Microsoft
\\
Windows
\\
CurrentVersion
\\
ThemeManager"
;
DECLSPEC_HIDDEN
ATOM
atDialogThemeEnabled
;
ATOM
atDialogThemeEnabled
;
static
DWORD
dwThemeAppProperties
=
STAP_ALLOW_NONCLIENT
|
STAP_ALLOW_CONTROLS
;
static
ATOM
atWindowTheme
;
...
...
dlls/uxtheme/uxthemedll.h
View file @
beb30217
...
...
@@ -81,40 +81,40 @@ typedef struct tagTHEMENAMES
}
THEMENAMES
,
*
PTHEMENAMES
;
/* Declarations for undocumented functions for use internally */
DWORD
WINAPI
QueryThemeServices
(
void
)
DECLSPEC_HIDDEN
;
DWORD
WINAPI
QueryThemeServices
(
void
);
HRESULT
WINAPI
OpenThemeFile
(
LPCWSTR
pszThemeFileName
,
LPCWSTR
pszColorName
,
LPCWSTR
pszSizeName
,
HTHEMEFILE
*
hThemeFile
,
DWORD
unknown
)
DECLSPEC_HIDDEN
;
HRESULT
WINAPI
CloseThemeFile
(
HTHEMEFILE
hThemeFile
)
DECLSPEC_HIDDEN
;
HRESULT
WINAPI
ApplyTheme
(
HTHEMEFILE
hThemeFile
,
char
*
unknown
,
HWND
hWnd
)
DECLSPEC_HIDDEN
;
DWORD
unknown
);
HRESULT
WINAPI
CloseThemeFile
(
HTHEMEFILE
hThemeFile
);
HRESULT
WINAPI
ApplyTheme
(
HTHEMEFILE
hThemeFile
,
char
*
unknown
,
HWND
hWnd
);
HRESULT
WINAPI
GetThemeDefaults
(
LPCWSTR
pszThemeFileName
,
LPWSTR
pszColorName
,
DWORD
dwColorNameLen
,
LPWSTR
pszSizeName
,
DWORD
dwSizeNameLen
)
DECLSPEC_HIDDEN
;
DWORD
dwSizeNameLen
);
HRESULT
WINAPI
EnumThemes
(
LPCWSTR
pszThemePath
,
EnumThemeProc
callback
,
LPVOID
lpData
)
DECLSPEC_HIDDEN
;
LPVOID
lpData
);
HRESULT
WINAPI
EnumThemeColors
(
LPWSTR
pszThemeFileName
,
LPWSTR
pszSizeName
,
DWORD
dwColorNum
,
PTHEMENAMES
pszColorNames
)
DECLSPEC_HIDDEN
;
DWORD
dwColorNum
,
PTHEMENAMES
pszColorNames
);
HRESULT
WINAPI
EnumThemeSizes
(
LPWSTR
pszThemeFileName
,
LPWSTR
pszColorName
,
DWORD
dwSizeNum
,
PTHEMENAMES
pszColorNames
)
DECLSPEC_HIDDEN
;
DWORD
dwSizeNum
,
PTHEMENAMES
pszColorNames
);
HRESULT
WINAPI
ParseThemeIniFile
(
LPCWSTR
pszIniFileName
,
LPWSTR
pszUnknown
,
ParseThemeIniFileProc
callback
,
LPVOID
lpData
)
DECLSPEC_HIDDEN
;
BOOL
WINAPI
ThemeHooksInstall
(
void
)
DECLSPEC_HIDDEN
;
BOOL
WINAPI
ThemeHooksRemove
(
void
)
DECLSPEC_HIDDEN
;
ParseThemeIniFileProc
callback
,
LPVOID
lpData
);
BOOL
WINAPI
ThemeHooksInstall
(
void
);
BOOL
WINAPI
ThemeHooksRemove
(
void
);
extern
void
UXTHEME_InitSystem
(
HINSTANCE
hInst
)
DECLSPEC_HIDDEN
;
extern
HRESULT
UXTHEME_SetActiveTheme
(
PTHEME_FILE
tf
)
DECLSPEC_HIDDEN
;
extern
void
UXTHEME_UninitSystem
(
void
)
DECLSPEC_HIDDEN
;
extern
void
UXTHEME_InitSystem
(
HINSTANCE
hInst
);
extern
HRESULT
UXTHEME_SetActiveTheme
(
PTHEME_FILE
tf
);
extern
void
UXTHEME_UninitSystem
(
void
);
extern
struct
user_api_hook
user_api
DECLSPEC_HIDDEN
;
LRESULT
WINAPI
UXTHEME_DefDlgProc
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wparam
,
LPARAM
lparam
,
BOOL
unicode
)
DECLSPEC_HIDDEN
;
extern
struct
user_api_hook
user_api
;
LRESULT
WINAPI
UXTHEME_DefDlgProc
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wparam
,
LPARAM
lparam
,
BOOL
unicode
);
void
WINAPI
UXTHEME_NonClientButtonDraw
(
HWND
hwnd
,
HDC
hdc
,
enum
NONCLIENT_BUTTON_TYPE
type
,
RECT
rect
,
BOOL
down
,
BOOL
grayed
)
DECLSPEC_HIDDEN
;
RECT
rect
,
BOOL
down
,
BOOL
grayed
);
void
WINAPI
UXTHEME_ScrollBarDraw
(
HWND
hwnd
,
HDC
dc
,
INT
bar
,
enum
SCROLL_HITTEST
hit_test
,
const
struct
SCROLL_TRACKING_INFO
*
tracking_info
,
BOOL
draw_arrows
,
BOOL
draw_interior
,
RECT
*
rect
,
UINT
enable_flags
,
INT
arrowsize
,
INT
thumbpos
,
INT
thumbsize
,
BOOL
vertical
)
DECLSPEC_HIDDEN
;
INT
arrowsize
,
INT
thumbpos
,
INT
thumbsize
,
BOOL
vertical
);
LRESULT
WINAPI
UXTHEME_ScrollbarWndProc
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
,
BOOL
unicode
)
DECLSPEC_HIDDEN
;
BOOL
unicode
);
/* No alpha blending */
#define ALPHABLEND_NONE 0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment