Commit Graph

218 Commits

Author SHA1 Message Date
Alistair Leslie-Hughes 81079ef35b uxtheme: Set last error on NULL pointer. 2011-08-31 19:43:07 +02:00
Marcus Meissner 790c107045 uxtheme: Mark internal symbols with hidden visibility. 2011-05-25 11:52:01 +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
André Hentschel 0304a3e998 uxtheme: Add OpenThemeDataEx. 2011-03-30 15:05:04 +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 2df6743073 uxtheme: Use int64 in the spec file for 64-bit integers. 2010-08-31 14:23:48 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
André Hentschel e17be10d44 uxtheme: Quiet a noisy fixme. 2010-06-23 10:34:09 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Henri Verbeet d8c13bc5db uxtheme: GetObject() already returns a DIB's absolute height. 2010-03-01 14:03:34 +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
Alexandre Julliard de3e06a745 uxtheme: Fix some pointer cast warnings on 64-bit. 2009-12-09 12:04:08 +01:00
Marcus Meissner 88bd52daaf uxtheme: Handle malformed keys a bit better (Coverity). 2009-11-23 13:09:39 +01:00
Francois Gouget 55dccf2859 uxtheme: UXINI_ResetINI() is unused so remove it. 2009-02-09 13:16:10 +01:00
Ge van Geldorp b7ac6cb01d uxtheme/tests: Adjust error test for W2K8. 2009-01-26 16:07:40 +01:00
Michael Stefaniuc 7eb3abc1c1 uxtheme: Remove superfluous pointer casts. 2009-01-13 15:25:55 +01:00
Austin English 0f361b802d uxtheme: Fix a compiler warning. 2008-12-09 11:26:42 +01:00
Alexandre Julliard ff4fff56e5 uxtheme: Make some functions static. 2008-12-04 12:48:21 +01:00
Francois Gouget b3bf746ff9 Straighten out some ellipses. 2008-11-26 12:33:34 +01:00
Reece Dunn 5bc2785b72 uxtheme: Draw the correct part of the themed parent background to the DC. 2008-11-12 11:49:12 +01:00
Reece Dunn 6a78ea4d6c uxtheme: Add stubs for the double buffer drawing API in Vista. 2008-11-10 12:58:49 +01:00
Michael Stefaniuc 373f8ff103 uxtheme: Remove superflous casts. 2008-11-03 13:42:23 +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
Rob Shearman 739bdaeb86 uxtheme: SetPropW returns a BOOL not an HRESULT.
Therefore fix the code to handle SetPropW failing with this in mind.
(Found by PreFast.)
2008-09-30 10:20:10 -05: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
Andrew Talbot 471fb146a4 uxtheme: Remove unused variable. 2008-04-30 10:25:42 +02:00
James Hawkins 97e1fef09f uxtheme: Fix a test that fails in win2k3. 2008-04-24 11:51:29 +02:00
Alex Villacís Lasso 4165a1f696 uxtheme: Skip creation of temporary bitmap when painting a single tile. 2008-04-24 11:49:08 +02:00
Alex Villacís Lasso 6a42264053 uxtheme: Fix nasty regression with painting of themed progress bar. 2008-04-24 11:48:58 +02:00
Austin English 6e59cd2c34 Spelling fixes. 2008-04-22 12:20:12 +02:00
Alex Villacís Lasso 1706d0d63e uxtheme: Speed up UXTHEME_SizedBlt in the ST_TILE by building an appropriately-sized memory bitmap out of the tile instead of iterating with UXTHEME_Blt() directly. 2008-04-22 12:03:14 +02:00
Andrew Talbot 65dd1578e6 uxtheme: Assign to struct instead of using CopyMemory. 2008-03-31 12:50:33 +02:00
Andrew Talbot 7abeb20490 uxtheme: Assign to structs instead of using memcpy. 2008-03-20 14:27:34 +01:00
Rob Shearman 48000893f9 makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles.
Only specify the root to keep platform-specifics out of the individual 
DLL makefiles.
2008-03-04 20:55:01 +01:00
Reece H. Dunn d10eaa5a89 uxtheme: Fix the system tests so they pass on Vista. 2008-02-07 12:56:08 +01:00
Andrew Talbot 9e5f2148a1 uxtheme: Remove unneeded casts. 2008-01-23 11:31:42 +01:00
Francois Gouget 44b52b128c Assorted spelling fixes. 2008-01-16 12:48:29 +01:00
Alexandre Julliard ad9396302d Removed some unneeded imports. 2007-12-06 21:24:24 +01:00
Francois Gouget 2993785f3a Assorted non-ANSI function declaration fixes (missing void). 2007-08-30 11:57:18 +02:00
Andrew Talbot 7e989655fa uxtheme: Exclude unused headers. 2007-05-21 13:36:34 +02:00
Andrew Talbot 74018333d8 uxtheme: Fix conflicting declarations. 2007-04-18 13:01:05 +02:00
Marcus Meissner 3f726d3167 uxtheme: Fixed wrong index in draw.c. 2007-03-02 11:54:12 +01:00
Andrew Talbot 2bb44198b6 uxtheme: Declare some items static. 2007-02-05 12:32:42 +01:00
Francois Gouget 1ccf944900 Assorted spelling fixes. 2006-11-13 13:01:53 +01:00
Francois Gouget 7a2bd72b8a uxtheme: winerror.h must not define the E_PROP_*_UNSUPPORTED macros. 2006-11-08 12:10:47 +01:00
Francois Gouget a7f8195be9 include: The PSDK does not have the A/W variants of MAKEINTATOM() so we should not either. 2006-11-08 12:10:26 +01:00
Michael Stefaniuc f2a294f3d2 uxtheme/tests: Fix Win64 printf format warnings. 2006-10-10 16:33:12 +02:00
Michael Ploujnikov 5512168869 uxtheme: Win64 printf format warning fixes. 2006-10-10 13:36:32 +02:00
Michael Stefaniuc dc3706ae50 uxtheme: Win64 printf format warning fixes. 2006-10-09 12:55:53 +02:00
Francois Gouget 82babbee0b Add missing '\n's to Wine traces. 2006-10-05 17:46:48 +02:00
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Marcus Meissner 0c15360a3e Removes all unnecessary WINE_DEFAULT_DEBUG_CHANNEL and respective wine/debug.h includes. 2006-09-11 11:30:48 +02:00
Alexandre Julliard 5cf75e615a makefiles: Only run test and documentation targets in directories that need them. 2006-08-28 13:37:44 +02:00
Frank Richter 11211bf940 uxtheme: Set non-client metrics from theme. 2006-08-14 20:17:10 +02:00
Frank Richter 3e4bdad4a3 uxtheme: Split color handling out of MSSTYLES_ParseThemeIni into smaller helper functions. 2006-08-14 20:17:10 +02:00
Frank Richter f34412b957 uxtheme: Enable gradient captions if a theme provides colors for them. 2006-08-14 20:17:10 +02:00
Frank Richter 83974b21fa uxtheme: Don't back up colors etc. when a theme is already active. 2006-08-14 11:46:30 +02:00
Alexandre Julliard 5234c8c94b uxtheme: Make some variables static. 2006-08-02 13:33:01 +02:00
Alexandre Julliard eb8a40c368 libs: Merged libwine_unicode into libwine.
Most dlls use libwine_unicode at this point, so there's nothing to
gain by having two separate libraries.
2006-07-11 19:33:22 +02:00
Alexandre Julliard 77dc0d9be5 .gitignore: Added wildcards to ignore generated resource files. 2006-07-10 21:39:00 +02:00
Alexandre Julliard 0fa8baafcb make_dlls: Recursively ignore .ok files in all tests directories. 2006-07-10 21:26:50 +02:00
Alexandre Julliard edd100b899 make_dlls: Recursively ignore testlist.c in all tests directories. 2006-07-10 21:19:42 +02:00
Alexandre Julliard 5258e061dc make_dlls: Ignore generated import libraries from the top-level .gitignore. 2006-07-10 20:55:58 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Paul Vriens d9c5cef339 uxtheme/tests: Add tests for IsThemePartDefined. 2006-06-27 21:14:02 +02:00
Paul Vriens d599dec16c uxtheme/tests: Add tests for GetCurrentThemeName. 2006-06-27 11:13:52 +02:00
Paul Vriens 5ca8bbd20c uxtheme/tests: Added a bit more functional tests to OpenThemeData. 2006-06-27 11:13:34 +02:00
Paul Vriens 9d449ab489 uxtheme/tests: Destroy the windows after we've used them. 2006-06-23 10:45:39 +02:00
Paul Vriens 7c0aaf31ec uxtheme/tests: Add a case sensitivity test. 2006-06-23 10:45:24 +02:00
Paul Vriens 6dc86da573 uxtheme/tests: Only test the needed functions once, bail out if one is missing. 2006-06-22 12:29:03 +02:00
Paul Vriens 36a775d0c7 uxtheme/tests: Add some tests for GetWindowTheme. 2006-06-22 12:29:03 +02:00
Paul Vriens 739f4187eb uxtheme/tests: Extra testing for GetLastError. 2006-06-21 13:54:27 +02:00
Paul Vriens 14b4e85148 uxtheme/tests: Added test for IsAppThemed and grouped it with IsThemeActive. 2006-06-19 22:54:31 +02:00
Paul Vriens 682679b07c uxtheme/tests: Change S_OK to the more appropriate ERROR_SUCCESS. 2006-06-19 20:54:39 +02:00
Francois Gouget 9eb81363ad Add trailing '\n's to ok() calls.
Remove spaces before '\n'.
2006-06-16 11:32:42 +02:00
Paul Vriens 569a452d3a uxtheme: Add framework and initial tests. 2006-06-14 13:22:35 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Paul Vriens 02bf3558bd uxtheme: Fix GetThemeSysString as the error-path was always taken. 2006-04-17 11:19:18 +02:00
Mike Hearn d46e68da1e uxtheme: Fix GetThemeSysInt.
TMT_FIRSTINT and TMT_LASTINT are the same value here, so the error
path would always be taken. Fix to check only that the values are
outside the possible range.
2006-04-07 20:01:31 +02:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Francois Gouget 6d442aeb34 Assorted spelling fixes. 2005-11-23 20:14:43 +01:00
Markus Amsler 104f2e8e7b Improve c2man Documented-Total count. Changes:
- add missing returns section
2005-11-10 11:05:45 +00:00
Alexandre Julliard 7e22be4d84 We are no longer generating .dbg.c files. 2005-09-29 10:35:58 +00:00
Alexandre Julliard 4c34d9386c Specify 64-bit integers as double instead of long long in spec files
so that we get the correct number of arguments.
2005-09-09 15:05:01 +00:00
Mike McCormack d168219849 Fix gcc 4.0 warnings. 2005-09-06 10:26:13 +00:00
Gerald Pfeifer d60c5cea1c #include <stdlib.h> to get abs() prototype. 2005-09-06 09:19:27 +00:00
Frank Richter 064b54a0ad Remove shlwapi dependency. 2005-09-02 12:29:02 +00:00
Frank Richter a18042e77f More elaborate IsThemeBackgroundPartiallyTransparent() implementation;
also returns TRUE for theme parts with 32bpp images.
2005-08-30 09:58:41 +00:00
Frank Richter 28022e8022 EnumThemeColors() and EnumThemeSizes() actually do not return a single
string with the color/size name, but rather a struct containing three
strings - name, display name and tooltip.
2005-08-30 08:54:45 +00:00
Frank Richter 9a88d25ba4 Since theme images are reused now it's not really a good idea to
delete them in drawing functions.
2005-08-30 08:54:31 +00:00
Frank Richter 44b4c7459b Pass around what kind of transparency an image actually needs. Use
alpha-blending for 32bpp images.
2005-08-29 21:47:26 +00:00
Frank Richter e53a7639d7 If a MINSIZEn property is not present, fall back to actual size of nth
image to determine whether it is suitable.
2005-08-29 10:46:45 +00:00
Frank Richter 9a03000e5e Take a common computation out of two if-branches in
UXTHEME_LoadImage().
2005-08-29 10:15:59 +00:00
Frank Richter eed5b662b9 Implement "manual" image sharing(as opposed to using LoadImage() with
LR_SHARED) by keeping the loaded images in a list. This is needed for
proper alpha support later on since once-per-image preparations will
be needed then.
2005-08-29 09:30:17 +00:00
Kevin Koltzau dbfac2ee12 Fix 'cast to pointer from integer of different size' warnings in
64bit.
2005-08-22 10:18:17 +00:00