Commit Graph

59 Commits

Author SHA1 Message Date
Jesse Allen bf69af26be user: ChangeDisplaySettings virtual desktop mode handling fix. 2006-09-08 13:41:11 +02:00
Frank Richter b3399ad2e4 user: Fix SPI_SETICONTITLELOGFONT to check for LOGFONTW size. 2006-08-14 20:49:12 +02:00
Frank Richter e1e02dfcc2 user: Initialize size of nonclients struct in load_nonclient_metrics. 2006-08-14 20:49:05 +02:00
Andrew Ziem c142bd9115 user: Implement Ascii version of SPI_GETDESKWALLPAPER. 2006-07-12 19:32:06 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Mike McCormack 8398f6e9e9 user32: Fix SPI_GETLISTBOXSMOOTHSCROLLING, and implement SPI_SETLISTBOXSMOOTHSCROLLING. 2006-03-29 13:37:00 +02:00
Mike McCormack 964509df9c user32: Implement SPI_[GS]ETUIEFFECTS. 2006-03-29 13:36:48 +02:00
Mike McCormack fc9d36e4b7 user32: Implement SPI_[GS]ETTOOLTIPANIMATION and SPI_[GS]ETTOOLTIPFADE. 2006-03-29 13:36:29 +02:00
Mike McCormack 9d04454268 user32: Implement SPI_[GS]ETMENUANIMATION and SPI_[GS]ETSELECTIONFADE. 2006-03-29 13:36:18 +02:00
Mike McCormack 9786252186 user32: Implement SystemParametersInfo(SPI_[SG]ETCURSORSHADOW). 2006-03-29 13:36:07 +02:00
Mike McCormack 3244096d2e user32: Implement SystemParametersInfo(SPI_[GS]ETCOMBOBOXANIMATION). 2006-03-29 13:35:53 +02:00
Mike McCormack cd37125f7a user32: Implement SPI_[SG]ETCARETWIDTH. 2006-03-29 13:31:54 +02:00
Byeong-Sik Jeon bd82e82993 user32: Fix the default height for CJK fonts. 2006-03-04 16:12:51 +01:00
Rein Klazes d4c62162e9 user: Fix SPI_{G|S}ETFONTSMOOTHING with tests. 2006-01-27 19:19:19 +01:00
Rein Klazes de9400262e user: Avoid buffer overflow in sysparams.c.
Increase buffer size to 12 for getting and setting integer parameters
from/to the registry.
2006-01-16 20:41:57 +01:00
Rein Klazes 13b9923165 user32: Implement saving and fix reading of nonclient metrics.
With conformance tests.
2005-12-16 12:38:06 +01:00
Rein Klazes 105450db4a user: Read/save minimized metrics from/to registry. 2005-12-14 12:27:39 +01:00
Rein Klazes 6154b46bef GetSystemMetrics fixes with corresponding tests. 2005-11-22 14:56:11 +00:00
Rein Klazes 8f3b9d506b Fix SysparametersInfoA( SPI_SETICONMETRICS), the A<->W conversion was
rather broken.
Make the SPI_{G|S}ETICONMETRICS functions more consistent with those
for SPI_ICON{HORIZONTAL|VERTICAL}SPACING, SPI_{G|S}ICONTITLEWRAP and
SPI_{G|S}ICONTITLELOGFONT.
Accordingly extend the corresponding tests.
2005-11-14 15:12:14 +00:00
Rein Klazes 7e6b325929 Re-enable SPI_{GET,SET}BORDER tests and fix the bugs that caused them
to be disabled.
Add tests that show that the border value manipulated by
SPI_{GET,SET}BORDER is completely the same as with
SPI_{GET,SET}NONCLIENTMETRICS.
Fix a few signed/unsigned warnings in unrelated tests from the same
source file.
Made the tests pass on wine.
2005-11-08 19:58:37 +00:00
Rein Klazes 53b1d05164 Make SystemParametersInfoA( SPI_SETNONCLIENTMETRICS, ...) work by
adding the needed non client metrics A->W conversions.
2005-11-07 16:39:21 +00:00
Kimmo Myllyvirta 4d0f076092 If HKCU\Software\Wine does not yet exist, create it as non-volatile
key, instead of volatile.
2005-09-18 11:11:49 +00:00
Vitaly Lipatov a4590d2b23 - remove return: now break loop if can't change state during test
- add test for value returned by SwapMouseButton
- fix SwapMouseButton return value (it returns previous state)
2005-08-25 19:18:49 +00:00
Mike McCormack 79b29158e8 Fix gcc 4.0 warnings. 2005-08-22 10:19:34 +00:00
Mike McCormack eafa666bee Fix some gcc 4.0 warnings. 2005-08-22 09:26:53 +00:00
Alexandre Julliard 15ec968724 Load the USER driver on demand instead of at user32 load time.
Provide a fallback implementation for all the functions to avoid
having to check for NULL functions everywhere.
2005-07-18 15:14:56 +00:00
Alexandre Julliard 2997fc51a4 Fixed a few prototypes in the USER driver. 2005-07-18 13:20:18 +00:00
Alexandre Julliard 81008167c2 Load system metrics on demand instead of initializing everything at
user32 load time.
2005-07-18 09:20:07 +00:00
Alexandre Julliard b5cc0a79fb Added a bunch of utility functions to factor out a lot of the repeated
code in SystemParametersInfoW.
2005-07-15 16:35:27 +00:00
Frank Richter cd57c21259 Always zero destination buffer in SYSPARAMS_LoadRaw(). Remove
now-superfluous memory zeroing in some other places.
2005-07-08 11:30:50 +00:00
Frank Richter 7f40463d6a Add support for proper saving of the "FLATMENU" and "GRADIENTCAPION"
system parameters to the registry.
2005-07-07 18:24:35 +00:00
Felix Nawothnig cbe914c472 Clear buffer before querying the registry in SYSPARAMS_Load. 2005-07-06 11:11:17 +00:00
Mike McCormack c787b146e1 -Wpointer-sign fixes for gcc 4.0. 2005-07-06 10:36:28 +00:00
Frank Richter 66033f6b37 Add support for SPI_[SG]ETFLATMENU in SystemParametersInfo (although
without saving of the setting).
2005-07-05 10:55:44 +00:00
Alexandre Julliard a2b2456b99 Revert SPI_SETMOUSEBUTTONSWAP changes. 2005-06-30 18:14:14 +00:00
Mike McCormack 5c1ffddb88 Fix declarations, remove unused code. 2005-06-22 18:05:02 +00:00
Rein Klazes 9048257dd9 In reg_get_logfont:
- handle the case that the registry value is a LOGFONT16;
- if the lfHeight field is positive, it represents the font's point
  size and must be converted to logical units.
2005-06-21 20:02:54 +00:00
Vitaly Lipatov 0624e17e7e Fix returned value for SPI_SETMOUSEBUTTONSWAP. 2005-06-20 15:36:17 +00:00
Alexandre Julliard d4156b5657 Use a better location than HKCU\Wine for saving the temporary
parameters.
2005-06-14 17:26:52 +00:00
Alexandre Julliard 2e4bca9db5 Added magic comments to all Wine-specific registry accesses to make
them easier to grep.
2005-06-13 18:56:00 +00:00
Huw Davies fe42f46c8a Read the entire logfont from the registry if it exists. 2005-06-08 18:34:20 +00:00
Alexandre Julliard 0260e2b543 Moved functions from windows/user.c to more appropriate places, and
get rid of that file.
2005-05-25 18:42:37 +00:00
Rein Klazes 67747801cd Use the screen resolution to convert from twips (1440 twips is one
inch) to pixels.
2005-05-25 18:01:15 +00:00
Alexandre Julliard 0844afc310 Moved the syscolor functions to dlls/user/sysparams.c. 2005-05-25 17:56:35 +00:00
Michael Stefaniuc d5e8a65f96 Add some SystemParametersInfo SPI_* defines. 2005-05-16 08:45:15 +00:00
Alexandre Julliard b58c170c4d Make the SwapMouseButton function and the SPI_SETMOUSEBUTTONSWAP
parameter work on the same flag.
2005-03-09 11:51:31 +00:00
Alexandre Julliard 32e4ca0ec1 Set SM_DBCSENABLED according to the current locale instead of
hardcoding it to 0 (found by Mike McCormack).
2005-03-07 17:16:26 +00:00
Justin Chevrier dd99a50f37 Point KEYBOARDPREF and SCREENREADER to registry keys and values that
match native.
2005-02-22 14:54:47 +00:00
Justin Chevrier 564aceddca - Implement SPI_{GET,SET}POWEROFFACTIVE and SPI_SETLOWPOWERACTIVE.
- Corrected SPI_GETLOWPOWERACTIVE to use an index (instead of its SPI
  value) to avoid an out of bounds condition.
- Created unit tests for SPI_{GET,SET}POWEROFFACTIVE and
  SPI_{GET,SET)SETLOWPOWERACTIVE.
2005-02-21 20:40:44 +00:00
Mike McCormack 0fba748f2a Add some more SPI values. 2005-02-15 15:43:43 +00:00