Commit Graph

18 Commits

Author SHA1 Message Date
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
Justin Chevrier 7c14a9d493 - SPI_GETWORKAREA: Read work area information from system metrics
initially only and not from a WINE specific registry entry.
- SPI_SETWORKAREA: Don't save work area information to registry.
2005-02-01 18:47:05 +00:00
Bernd Fuhrmann b6572eaa53 Added fixme macros in SystemParametersInfoW for several action numbers
that are yet unimplemented.
2005-01-24 12:41:39 +00:00
Justin Chevrier 3582a175c5 - Implemented SPI_SETICONMETRICS.
- Fixed SPI_GETICONTITLELOGFONT to only return values retrieved from
  win.ini on first call and return a cached version in subsequent
  calls.
- Created unit test for SPI_{GET,SET}ICONMETRICS.
2005-01-20 20:43:02 +00:00
Justin Chevrier acb223ee21 - Implemented SPI_GETMINIMIZEDMETRICS calculated from values returned
by GetSystemMetrics.
- Implemented SPI_SETMINIMIZEDMETRICS. Determined that the values set
  here are valid for the current session only and will not persist
  across reboots.
2005-01-14 16:49:12 +00:00
Justin Chevrier a33c7d89db - Revert previous change of border metric to reference the
registry. Testing on Win98/WinXP showed that regardless of the
  "BorderWidth" value CM_C{X,Y}BORDER always returns 1.
- Point SPI_SETBORDER to "BorderWidth" under "HKCU\Control
  Panel\Desktop\WindowMetrics" instead of "HKCU\Control Panel\Desktop"
  to make it match Windows.
2005-01-12 19:28:16 +00:00
Justin Chevrier 01e2bdbf16 - Obtain border size of windows from registry if available.
- Obtain icon size from registry if available.
- Create a WindowMetrics section in the default registry and populate
  it with all currently supported metrics (that are setup to read from
  the registry).
2005-01-06 19:39:52 +00:00
Justin Chevrier e603d1a0dd Converted system metrics to Unicode. 2005-01-03 16:59:41 +00:00
Mike McCormack 6533efb6a0 Dump known but unimplemented SystemParameterInfo actions. 2004-12-23 11:24:25 +00:00
Alexandre Julliard 4a9b22b2c3 Merged system metrics support into sysparams.c, and moved that file to
the dlls/user directory.
2004-12-09 13:48:56 +00:00