Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[win32] Refactor toolbar dpi callback #1364

Merged

Commits on Jul 26, 2024

  1. [win32] Support scaling of ImageList per zoom level

    This commit adds a method to receive handles for scaled variants of an ImageList for the specified zoom. All calls to the handle of an ImageList is replaced by the added method.
    
    Contributes to eclipse-platform#62 and eclipse-platform#131.
    amartya4256 authored and akoch-yatta committed Jul 26, 2024
    Configuration menu
    Copy the full SHA
    b80b7e7 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2024

  1. [win32] Refactor toolbar refresh logic after DPI change

    This commit refactors the callback use for ToolBar and ToolItem after a DPI change in the win32 implementation. It makes use of the scalable ImageList to reuse the existing items in the toolbar and only resets the ImageList with a correctly scaled one. Due to the limitations of the win32 implementation all items must be removed and re-added via the win32-API to make shrinking of toolbars possible. Additionally, the commit removes the now unused callback in ToolItem
    
    Contributes to eclipse-platform#62 and eclipse-platform#131.
    akoch-yatta committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    ee0b8d7 View commit details
    Browse the repository at this point in the history