Commit Graph

221 Commits

Author SHA1 Message Date
Michael Stefaniuc 93994dfc0b uxtheme: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-18 21:09:28 +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
Nikolay Sivov d4cc71c5db uxtheme: Use global memory allocation helpers.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-26 11:25:31 +01:00
Nikolay Sivov ce50a7ff4d uxtheme: Properly initialize text drawing options.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-14 09:05:57 +01:00
Louis Lenders 28613fcd93 uxtheme: Add stub for SetWindowThemeAttribute.
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-26 14:45:47 +01:00
Nikolay Sivov 3fd8a8f209 uxtheme: Return NULL file handle on OpenThemeFile() failure.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-13 13:02:46 +01:00
Sergio Gómez Del Real 731136d8d3 uxtheme: Add a stub for IsCompositionActive().
Signed-off-by: Sergio Gómez Del Real <sdelreal@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-18 20:26:18 +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
Akihiro Sagawa 9abd3b9622 msstyles: Avoid using isspace() for WCHARs.
Found with Coccinelle.

Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-17 16:11:22 +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 e015928a85 uxtheme: Fix buffer bitmap leak.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-24 10:01:57 +02:00
Nikolay Sivov 14d81d9eb9 uxtheme: Create compatible bitmap using target hdc.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-19 20:02:54 +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 9d4a003995 uxtheme: Implement EndBufferedPaint().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-09 11:33:20 +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
Hadrien Boizard 3155079e41 uxtheme: Use straight assignments instead of CopyRect().
Signed-off-by: Hadrien Boizard <h.boizard@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-08 19:22:50 +01:00
Nikolay Sivov 456211e307 uxtheme: Remove stub message for implemented functions.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-25 11:53:52 +02:00
Sebastian Lackner 461bfc64ba uxtheme: Return E_NOTIMPL in HRESULT stub functions.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-14 11:51:53 +09:00
Huw Davies 839995d5e9 uxtheme: Use 'ptr' instead of 'wstr' for [out] pointers.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-26 00:22:54 +09:00
Michael Stefaniuc 74a03b1adc uxtheme: Use straight assignments instead of CopyRect().
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-02 16:18:05 -05: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
Michael Stefaniuc 3c3fccacf0 uxtheme: Use wine_dbgstr_rect() to trace RECTs.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-21 18:42:21 +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 2bb581b9b7 uxtheme: Partial implementation of DrawThemeTextEx. 2015-07-02 13:43:43 +09:00
Mark Harmstone a88722ab9a uxtheme: Stub out buffered animation functions. 2015-05-12 15:31:07 +09:00
Mark Harmstone 2b36f195b6 uxtheme: Stub out GetThemeTransitionDuration. 2015-05-01 15:18:02 +09:00
Mark Harmstone f9fe32939f uxtheme: Stub out buffered painting functions. 2015-04-28 15:34:38 +09:00
Mark Harmstone 2b650fa6db uxtheme: Resize source image if destination smaller than margins. 2015-04-15 22:21:57 +09:00
Mark Harmstone 9f622f1fa6 uxtheme: Fix typo making fonts italic. 2015-04-13 15:05:53 +09:00
Mark Harmstone 7aae2d2eae uxtheme: Free properties when theme file closed. 2015-04-13 15:05:39 +09:00
Mark Harmstone a1c3b30f49 uxtheme: Fix a copy-paste error which mean that GetThemeString would always fail. 2015-04-10 15:21:44 +09:00
Mark Harmstone c6b4b4b93e uxtheme: Fix colour errors in UXTHEME_StretchBlt. 2015-04-09 14:56:34 +09:00
Mark Harmstone 1a9810b385 uxtheme: Fix off-by-one error in array size. 2015-04-06 16:04:41 +09:00
Mark Harmstone 8fa8a23684 uxtheme: Support images in GetThemeBackgroundRegion. 2015-03-17 00:20:01 +09:00
Mark Harmstone b12f73a591 uxtheme: Assume imagecount to be 1 if unspecified. 2015-03-06 20:31:57 +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
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Frédéric Delanoy 5181b1c4b8 uxtheme: Use BOOL type where appropriate. 2013-10-14 10:44:37 +02:00
Alexandre Julliard f02cdd877f Remove empty DLL_PROCESS_DETACH case statements. 2013-04-15 16:45:35 +02:00
André Hentschel f5c49aaf83 uxtheme/tests: Don't test for themed app. 2013-04-03 13:54:34 +02:00
Andrew Talbot 925a4411e8 uxtheme: Remove unused variable. 2012-11-29 00:15:56 +01:00