Zhiyi Zhang
c90edc19bb
uxtheme: Implement GetThemeTransitionDuration().
...
Fix Nokia SDK 2.0 for Java installer buttons not changing state after clicking.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-02 17:09:39 +01:00
Zhiyi Zhang
59007aaeef
uxtheme/tests: Add GetThemeTransitionDuration() tests.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-02 17:09:39 +01:00
Zhiyi Zhang
36ed40e99f
light.msstyles: Add TMT_TRANSITIONDURATIONS property.
...
Set all transition duration to 100ms for different states and 0ms for the same state.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-02 17:09:39 +01:00
Zhiyi Zhang
f86f0aec99
uxtheme/tests: Add GetThemeIntList() tests.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-02 17:09:39 +01:00
Zhiyi Zhang
27ab5f7bf4
uxtheme: Do not change system metrics in EnableTheming().
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-22 09:40:00 +02:00
Zhiyi Zhang
50005fee22
uxtheme: Disallow EnableTheming() to enable theming.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-22 09:39:56 +02:00
Zhiyi Zhang
2cfd5c0850
uxtheme/tests: Add EnableTheming() tests.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-22 09:39:48 +02:00
Francois Gouget
568143ff97
uxtheme/tests: Use the OpenThemeDataForDpi() function pointer.
...
OpenThemeDataForDpi() is not available in Windows 10 1607 and older.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-02 21:57:38 +02:00
Zhiyi Zhang
f8bc5d7627
uxtheme: Get DPI from theme class.
...
Fix Command Link glyphs not scaled according to DPI because a NULL device context handle was
passed to GetThemePartSize() and GetThemePartSize() was using a device context to get DPI.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-01 17:06:22 +02:00
Zhiyi Zhang
615a90e219
uxtheme: Implement OpenThemeDataForDpi().
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-01 17:06:22 +02:00
Zhiyi Zhang
069ed533b4
uxtheme/tests: Add GetThemePartSize() tests.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-01 17:06:22 +02:00
Zhiyi Zhang
fe257dde58
uxtheme: Send WM_THEMECHANGED instead of posting it in SetWindowTheme().
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51348
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-02 12:39:12 +02:00
Zhiyi Zhang
064dad2342
uxtheme/tests: Test that SetWindowTheme() should send WM_THEMECHANGED instead of posting it.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-02 12:39:12 +02:00
Zhiyi Zhang
3f292a0e65
uxtheme: Check window handle for SetWindowTheme().
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-21 23:13:57 +02:00
Zhiyi Zhang
16e2a9aecc
uxtheme: Check window handle for GetWindowTheme().
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-21 23:13:57 +02:00
Zhiyi Zhang
f5e56638a7
uxtheme: Set last error code for OpenThemeDataEx().
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-21 23:13:57 +02:00
Zhiyi Zhang
3e9fbda43c
uxtheme: Fall back to default class if the specified subclass is not found.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50113
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-21 23:13:57 +02:00
Zhiyi Zhang
59f3758ecb
uxtheme/tests: Test SetWindowTheme() with a non-existent subclass.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-21 23:13:57 +02:00
Michael Stefaniuc
43572cbd7d
uxtheme/tests: Use wide-char string literals.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-20 12:42:37 +02:00
Michael Stefaniuc
507bc401a4
uxtheme/tests: Use the available ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-31 09:24:54 +02:00
Nikolay Sivov
16ab42f94d
uxtheme/tests: Remove some trace messages.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-23 11:09:17 +02:00
Andrey Gusev
1a761379f8
uxtheme/tests: Fix a typo in ok() message.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-09 19:14:32 +02:00
Nikolay Sivov
2b8cf54245
uxtheme/tests: Remove some trace messages.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-26 10:59:41 +02:00
Nikolay Sivov
849c4716c1
uxtheme: Fix buffer dc origin and clipping.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-25 08:45:50 +02:00
Nikolay Sivov
5278b342fd
uxtheme/tests: A bit more tests for buffered painting API.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-09 11:33:29 +01:00
Nikolay Sivov
b557cb42eb
uxtheme: Implement GetBufferedPaintBits().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-09 11:33:28 +01:00
Nikolay Sivov
89fe0a3f26
uxtheme: Implement GetBufferedPaintTargetRect().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-09 11:33:26 +01:00
Nikolay Sivov
9f9842ba19
uxtheme: Implement GetBufferedPaintTargetDC().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-09 11:33:24 +01:00
Nikolay Sivov
fac941680e
uxtheme: Implement GetBufferedPaintDC().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-09 11:33:22 +01:00
Nikolay Sivov
35ae7c8f59
uxtheme: Partial implementation of BeginBufferedPaint().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-09 11:33:18 +01:00
Nikolay Sivov
e41747a784
uxtheme/tests: Some tests for buffered painting API.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-19 16:17:29 +01:00
Nikolay Sivov
1e54d38058
uxtheme/tests: Only link dynamically for functions that could be missing.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-27 12:41:50 +09:00
Louis Lenders
997e2046df
uxtheme: Fix CloseThemeData with invalid handle value.
...
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-15 21:30:05 +09:00
Nikolay Sivov
d861dc5e61
uxtheme: Use E_NOT_SUFFICIENT_BUFFER definition.
2014-10-08 13:13:37 +02:00
Nikolay Sivov
3ca67bc849
uxtheme/tests: No need to check last error when error code is explicitly returned.
2014-04-23 20:23:47 +02:00
Alexandre Julliard
99ef0d6ff0
makefiles: Get rid of the MAKE_TEST_RULES variable.
2014-01-02 12:13:16 +01:00
André Hentschel
f5c49aaf83
uxtheme/tests: Don't test for themed app.
2013-04-03 13:54:34 +02:00
Alistair Leslie-Hughes
81079ef35b
uxtheme: Set last error on NULL pointer.
2011-08-31 19:43:07 +02:00
André Hentschel
b0696b8b4a
uxtheme/tests: Remove unneeded comment.
2011-04-05 16:22:09 +02:00
André Hentschel
85c989be49
uxtheme/tests: Mark XP SP1 behaviour as broken.
2011-04-05 16:22:06 +02:00
André Hentschel
1f8f7cf7af
uxtheme/tests: Fix typo.
2011-03-31 12:38:04 +02:00
André Hentschel
d69c1bef4c
uxtheme/tests: Add tests for OpenThemeDataEx.
2011-03-30 15:05:40 +02:00
Alexandre Julliard
81b8ee863e
makefiles: Add a standard header for all makefiles to replace the common variable initializations.
2010-09-19 12:36:48 +02:00
Alexandre Julliard
b86d515ed6
dlls: Remove explicit imports of kernel32 and ntdll.
2010-07-21 17:38:36 +02:00
Alexandre Julliard
bef5645eb1
makefiles: Remove the no longer needed explicit separators for dependencies.
2010-03-16 13:28:19 +01:00
Alexandre Julliard
6164ce2d82
makefiles: Use the standard C_SRCS variable as the list of test files.
...
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Ge van Geldorp
b7ac6cb01d
uxtheme/tests: Adjust error test for W2K8.
2009-01-26 16:07:40 +01:00
Reece Dunn
d85c3e7c72
uxtheme: Fixed the todo blocks in the IsThemed tests when theming is inactive.
2008-10-27 13:49:01 +01:00
Paul Vriens
3f68d42128
uxtheme/tests: Use skip instead of trace.
2008-10-21 11:43:32 +02:00
Reece Dunn
0feda920ba
uxtheme/tests: Use HRESULT_FROM_WIN32 to check the error codes, not LOWORD.
2008-07-21 14:44:27 +02:00