Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
0304a3e9
Commit
0304a3e9
authored
Mar 23, 2011
by
André Hentschel
Committed by
Alexandre Julliard
Mar 30, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uxtheme: Add OpenThemeDataEx.
parent
c7642107
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
4 deletions
+20
-4
system.c
dlls/uxtheme/system.c
+14
-3
uxtheme.spec
dlls/uxtheme/uxtheme.spec
+1
-1
uxtheme.h
include/uxtheme.h
+5
-0
No files found.
dlls/uxtheme/system.c
View file @
0304a3e9
...
@@ -630,16 +630,19 @@ static LPWSTR UXTHEME_GetWindowProperty(HWND hwnd, ATOM aProp, LPWSTR pszBuffer,
...
@@ -630,16 +630,19 @@ static LPWSTR UXTHEME_GetWindowProperty(HWND hwnd, ATOM aProp, LPWSTR pszBuffer,
}
}
/***********************************************************************
/***********************************************************************
* OpenThemeData
(UXTHEME.@
)
* OpenThemeData
Ex (UXTHEME.61
)
*/
*/
HTHEME
WINAPI
OpenThemeData
(
HWND
hwnd
,
LPCWSTR
pszClassList
)
HTHEME
WINAPI
OpenThemeData
Ex
(
HWND
hwnd
,
LPCWSTR
pszClassList
,
DWORD
flags
)
{
{
WCHAR
szAppBuff
[
256
];
WCHAR
szAppBuff
[
256
];
WCHAR
szClassBuff
[
256
];
WCHAR
szClassBuff
[
256
];
LPCWSTR
pszAppName
;
LPCWSTR
pszAppName
;
LPCWSTR
pszUseClassList
;
LPCWSTR
pszUseClassList
;
HTHEME
hTheme
=
NULL
;
HTHEME
hTheme
=
NULL
;
TRACE
(
"(%p,%s)
\n
"
,
hwnd
,
debugstr_w
(
pszClassList
));
TRACE
(
"(%p,%s, %x)
\n
"
,
hwnd
,
debugstr_w
(
pszClassList
),
flags
);
if
(
flags
)
FIXME
(
"unhandled flags: %x
\n
"
,
flags
);
if
(
bThemeActive
)
if
(
bThemeActive
)
{
{
...
@@ -659,6 +662,14 @@ HTHEME WINAPI OpenThemeData(HWND hwnd, LPCWSTR pszClassList)
...
@@ -659,6 +662,14 @@ HTHEME WINAPI OpenThemeData(HWND hwnd, LPCWSTR pszClassList)
}
}
/***********************************************************************
/***********************************************************************
* OpenThemeData (UXTHEME.@)
*/
HTHEME
WINAPI
OpenThemeData
(
HWND
hwnd
,
LPCWSTR
classlist
)
{
return
OpenThemeDataEx
(
hwnd
,
classlist
,
0
);
}
/***********************************************************************
* GetWindowTheme (UXTHEME.@)
* GetWindowTheme (UXTHEME.@)
*
*
* Retrieve the last theme opened for a window.
* Retrieve the last theme opened for a window.
...
...
dlls/uxtheme/uxtheme.spec
View file @
0304a3e9
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
46 stub -noname ClassicAdjustWindowRectEx
46 stub -noname ClassicAdjustWindowRectEx
48 stub -noname GetThemeParseErrorInfo
48 stub -noname GetThemeParseErrorInfo
60 stub -noname CreateThemeDataFromObjects
60 stub -noname CreateThemeDataFromObjects
61 st
ub -noname OpenThemeDataEx
61 st
dcall OpenThemeDataEx(ptr wstr long)
62 stub -noname ServerClearStockObjects
62 stub -noname ServerClearStockObjects
63 stub -noname MarkSelection
63 stub -noname MarkSelection
...
...
include/uxtheme.h
View file @
0304a3e9
...
@@ -160,6 +160,10 @@ HTHEME WINAPI GetWindowTheme(HWND);
...
@@ -160,6 +160,10 @@ HTHEME WINAPI GetWindowTheme(HWND);
#define HTTB_SIZINGTEMPLATE 0x0100
#define HTTB_SIZINGTEMPLATE 0x0100
#define HTTB_SYSTEMSIZINGMARGINS 0x0200
#define HTTB_SYSTEMSIZINGMARGINS 0x0200
#define OTD_FORCE_RECT_SIZING 0x0001
#define OTD_NONCLIENT 0x0002
#define OTD_VALIDBITS (OTD_FORCE_RECT_SIZING | OTD_NONCLIENT)
HRESULT
WINAPI
HitTestThemeBackground
(
HTHEME
,
HDC
,
int
,
int
,
DWORD
,
const
RECT
*
,
HRESULT
WINAPI
HitTestThemeBackground
(
HTHEME
,
HDC
,
int
,
int
,
DWORD
,
const
RECT
*
,
HRGN
,
POINT
,
WORD
*
);
HRGN
,
POINT
,
WORD
*
);
BOOL
WINAPI
IsAppThemed
(
void
);
BOOL
WINAPI
IsAppThemed
(
void
);
...
@@ -168,6 +172,7 @@ BOOL WINAPI IsThemeBackgroundPartiallyTransparent(HTHEME,int,int);
...
@@ -168,6 +172,7 @@ BOOL WINAPI IsThemeBackgroundPartiallyTransparent(HTHEME,int,int);
BOOL
WINAPI
IsThemeDialogTextureEnabled
(
HWND
);
BOOL
WINAPI
IsThemeDialogTextureEnabled
(
HWND
);
BOOL
WINAPI
IsThemePartDefined
(
HTHEME
,
int
,
int
);
BOOL
WINAPI
IsThemePartDefined
(
HTHEME
,
int
,
int
);
HTHEME
WINAPI
OpenThemeData
(
HWND
,
LPCWSTR
);
HTHEME
WINAPI
OpenThemeData
(
HWND
,
LPCWSTR
);
HTHEME
WINAPI
OpenThemeDataEx
(
HWND
,
LPCWSTR
,
DWORD
);
void
WINAPI
SetThemeAppProperties
(
DWORD
);
void
WINAPI
SetThemeAppProperties
(
DWORD
);
HRESULT
WINAPI
SetWindowTheme
(
HWND
,
LPCWSTR
,
LPCWSTR
);
HRESULT
WINAPI
SetWindowTheme
(
HWND
,
LPCWSTR
,
LPCWSTR
);
...
...
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