Commit Graph

27 Commits

Author SHA1 Message Date
dmex 15ec45a121 Update copyright year 2026-07-01 01:43:30 +10:00
dmex 9467d5f646 Improve DPI handling, icon scaling, metrics (#2894) 2026-05-02 09:13:06 +10:00
dmex a6443d07c0 Remove global PhSystemDpi, PhSmallIconSize, PhLargeIconSize
Eliminate the main-window-DPI globals that bleed across dialogs on
secondary monitors. Window-aware code now passes its own DPI:

- Delete PhSystemDpi, PhSmallIconSize, PhLargeIconSize and
  PhGuiSupportUpdateSystemMetrics; remove the mainwnd.c invocation
  on WM_DPICHANGED.
- PhGetApplicationIcon and PhGetStockApplicationIcon now require a
  WindowDpi parameter; PhGetApplicationIconEx is folded into
  PhGetApplicationIcon. PhGetStockApplicationIcon keeps the shared
  icon contract via a 4-slot DPI-keyed cache so multiple monitors
  coexist without thrash.
- All ~50 callers updated to source DPI from their owning window
  (PhGetWindowDpi for hwnd-bearing call sites; PhGetTaskbarDpi for
  the tray icon; PhGetSystemDpi for window-class registration and
  parentless task dialogs).
- PhSetApplicationWindowIcon now thin-wraps PhSetApplicationWindowIconEx
  with PhGetWindowDpi(hwnd), so the 63 legacy call sites get
  per-window-DPI icons without per-site edits.
- srvprv.c and mainwnd.c read PhProcessImageListWindowDpi instead
  of PhSystemDpi/PhSmallIconSize.X for service and process icons.
2026-04-26 22:49:05 +10:00
dmex de1f8ae674 Update SAL Annotations 2025-06-05 08:29:55 +10:00
dmex 451eb95469 Update to latest SDK, Update status messages 2024-12-13 12:27:15 +11:00
dmex 3c0a8e7fef Update exlfprp.c 2023-03-06 13:10:09 +11:00
dmex 9b0b69cc39 peview: Fix dark theme support 2023-02-27 16:57:44 +11:00
dmex 42bc8cc583 Remove unused includes 2023-01-09 16:42:50 +11:00
dmex e9b1a7865f Remove whitespaces 2022-09-13 15:24:15 +10:00
Johnny Shaw c6e44b2fea Update copyright and license (#1256) 2022-06-13 20:33:49 -06:00
dmex b67211e9c3 peview: Fix window theme, Remove legacy timers 2022-01-19 16:39:24 +11:00
dmex 38a9d60e6d peview: Add new UI, Add new customization, Update everything 2021-05-21 11:10:09 +10:00
dmex a7845e1219 peview: Add layout tab for ELF images, Add spaces for layout rows 2021-01-27 10:02:52 +11:00
dmex 788690c421 peview: Fix warnings, Add ProdID versions for Win7 2020-09-11 23:43:37 +10:00
dmex 8ee20fa5f2 peview: Enable brepro, Add POGO debug tab 2020-09-07 18:59:25 +10:00
dmex 3cbeb42126 Update exlfprp.c 2020-05-31 18:35:10 +10:00
dmex 1a16db43ce Update macro usage 2019-04-27 21:38:43 +02:00
dmex ee38f5a071 peview: Add ELF section name helper 2019-02-10 08:01:41 +01:00
dmex 014beee1fc peview: Query versioninfo asynchronously 2019-01-26 03:54:16 +01:00
dmex 2e666f36f8 peview: Add image version information for WSL binaries on Windows 10 2019-01-26 03:45:23 +01:00
dmex 00cddb6253 peview: Add ELF import/export symbol visibility 2019-01-16 17:11:17 +01:00
dmex 2f59b15161 peview: Add dynamic properties tab for ELF binaries, Add more copy menus 2019-01-15 21:35:54 +01:00
dmex 8e208a813a peview: Add file stream information, Fix listview indexes 2018-10-25 11:13:41 +11:00
dmex 9a40dfe137 peview: Add file property store and extended attribute information 2018-10-24 23:51:03 +11:00
dmex 1885cb18ad Add helper macros 2018-04-28 07:09:30 +10:00
dmex 1c14e450fc peview: Add missing ELF image unique bindings 2018-01-19 16:23:04 +11:00
dmex 41c750940a ELF image support for WSL process modules (#220) 2018-01-07 03:14:16 +11:00