1. 19 Dec, 2023 1 commit
  2. 28 Nov, 2023 1 commit
  3. 06 Nov, 2023 1 commit
  4. 31 Oct, 2023 1 commit
  5. 14 Oct, 2023 1 commit
  6. 10 Oct, 2023 1 commit
  7. 20 Jun, 2023 1 commit
  8. 29 Mar, 2023 1 commit
  9. 01 Feb, 2023 3 commits
  10. 05 Dec, 2022 2 commits
  11. 08 Nov, 2022 1 commit
  12. 02 Nov, 2022 2 commits
    • Zhiyi Zhang's avatar
      winecfg: Adjust top-level window rectangles after theme changes. · 957dfccb
      Zhiyi Zhang authored
      Manual tests show that calling EnableTheming() in uxtheme.dll doesn't update window sizes. So
      it seems more appropriate to do it in winecfg.exe.
      957dfccb
    • Zhiyi Zhang's avatar
      winecfg: Use SM_CYSIZE to set and get caption height. · 982c9974
      Zhiyi Zhang authored
      After applying a theme with CaptionBarHeight set, caption height from SPI_GETNONCLIENTMETRICS is set
      to the specified size. However in refresh_sysparams(), the caption height is refreshed and the value
      from SM_CXSIZE is used and ends up overwriting the theme specified caption height. SM_CYSIZE is the
      correct index instead of SM_CXSIZE.
      
      You may need to turn a theme off and on for the correct caption height to take effect after the fix.
      982c9974
  13. 26 Oct, 2022 1 commit
  14. 15 Jul, 2022 1 commit
  15. 28 Jun, 2022 1 commit
  16. 23 Feb, 2022 1 commit
  17. 07 Feb, 2022 1 commit
  18. 27 Jan, 2022 1 commit
  19. 25 Jan, 2022 1 commit
  20. 17 Nov, 2021 1 commit
  21. 20 Oct, 2021 1 commit
  22. 18 Oct, 2021 1 commit
  23. 20 Sep, 2021 1 commit
  24. 17 Sep, 2021 1 commit
  25. 08 Sep, 2021 1 commit
  26. 07 Sep, 2021 4 commits
  27. 01 Sep, 2021 1 commit
  28. 18 Aug, 2021 1 commit
  29. 02 Jul, 2021 1 commit
    • Zhiyi Zhang's avatar
      winecfg: Don't convert font height to points when saving system font metrics. · 5cebefc2
      Zhiyi Zhang authored
      Fix tooltip font size becomes smaller after clicking the apply button in Desktop Integration tab.
      For example, the original non-client area tooltip font lfHeight is -11. 11 pixels is 8 points in 96
      DPI. Setting font size to 8 points to SPI_SETNONCLIENTMETRICS will make SPI_GETNONCLIENTMETRICS
      report lfHeight as 8. With lfHeight being 8, CreateFontIndirectW() creates a smaller font. This
      behavior is added by 5b8fdb97. I assume the intention was to save font size in a DPI-independent way.
      However, when lfHeight is negative, lfHeight will still be scaled back to 96 DPI before saving it to
      registry and scaled to system DPI when it's read from registry. So I think converting to points is
      unnecessary.
      Signed-off-by: 's avatarZhiyi Zhang <zzhang@codeweavers.com>
      Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
      5cebefc2
  30. 22 Jun, 2021 1 commit
  31. 26 Apr, 2021 1 commit
  32. 16 Apr, 2021 1 commit
  33. 23 Mar, 2021 1 commit