Commit Graph

105 Commits

Author SHA1 Message Date
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
Frank Richter fcb8a2f859 Compare result of RegQueryValueExW() with ERROR_SUCCESS. 2005-08-15 10:23:48 +00:00
Frank Richter 6451a1495a Whatever TrueSizeStretchMark is for - it's not what Wine uxtheme used
it for. Native uxtheme always stretches "truesize" parts when the
destination is smaller than the part image size, but
TrueSizeStretchMark doesn't seem to have an influence.
2005-08-15 10:21:40 +00:00
Frank Richter 8ff3c7e623 Better computations to have uniformly sized parts scaled in both
directions.
2005-08-15 09:34:21 +00:00
Frank Richter 0f94e03b40 Enhance uxtheme to store the themed system metrics in the registry and
also backup the old metrics. That way, themed system colors are set
even uxtheme was not loaded and initialized yet, and when a theme is
deactivated, the colors prior to the activation are restored as well.
Also, not having to set the system colors in uxtheme startup works
around weird problems where SetSystemColors() ended up being called
from inside window creation and this seemingly led to some creation
message being sent twice.
2005-08-12 15:51:13 +00:00
Frank Richter 70442d5eb0 Implement DrawThemeEdge(). 2005-08-03 21:16:45 +00:00
Frank Richter aab700d16e Set some default values for truesize sizing that seem closer to
Windows.
2005-08-03 19:47:51 +00:00
Frank Richter 30fffdaef0 The default image layout is HORIZONTAL, not VERTICAL. 2005-08-03 19:13:01 +00:00
Frank Richter 635135ba3d Another fix to use magenta as the default transparent color. 2005-08-03 15:42:43 +00:00
Frank Richter 46c31adab2 Add support for horizontal & vertical alignment when doing truesize
sizing.
2005-08-03 14:54:28 +00:00
Frank Richter 1979ab3c2b Add support for the BT_NONE background type. 2005-08-03 12:32:59 +00:00
Frank Richter 50cd0e0232 Implement GetThemeBackgroundExtent(). 2005-08-03 11:45:02 +00:00
Frank Richter 59e5ce9d87 Implement support for the ST_TILE background stretching mode. 2005-08-03 10:55:40 +00:00
Frank Richter 3701cb2fa0 Implementation for GetThemePartSize() (not entirely equivalent to
native uxtheme, but sensibly useable).
2005-07-27 15:33:31 +00:00