dsa-t

Results 157 comments of dsa-t

If I start `auidemo` at `wxPoint(2000, 50)`, which places it on a 250% scale (virtual) screen on Windows 11, the title bars are too thin: ![Screenshot 2024-05-26 013440](https://github.com/wxWidgets/wxWidgets/assets/37658952/d202b2b5-99a5-4cf7-b523-e7d4e7651b3e) Moving it...

> Just to be clear: your primary monitor DPI is 100%, right? Yes.

> I have a real problem with debugging this, as I don't have a multi-monitor Windows development machine any more and I can't reproduce this otherwise I've been using https://github.com/itsmikethetech/Virtual-Display-Driver...

Yes, I run OBS on the same machine; the virtual monitor is added as a normal Display Capture source; in "Fullscreen Projector (Preview)" I choose the main monitor, so I...

I don't know what would be the best API, but bitmap bundles might be tricky to handle across platforms.

Is there a chance to have an API for setting the scale before the `wxBitmapBundle` integration?

We don't use SVGs, we use a set of normal xpm images and a set of 2x xpm images. Here's how the cursors are constructed: https://gitlab.com/kicad/code/kicad/-/blob/aa1dbcba34731b904936ac7ad990b1c14ae204e9/common/gal/cursors.cpp#L494-545 Where `SetCursor` is called:...

Another wish is to have an API in wx to read MSW base cursor size (see https://stackoverflow.com/questions/63287678/extract-cursor-size-via-winapi-windows-10)

KiCad also spends 85% of time drawing bitmaps while resizing (at 250% display scale) `WX_AUI_TOOLBAR_ART` is a `wxAuiDefaultToolBarArt`. Adding `aDc.GetAsBitmap().ConvertToDIB();` to `WX_AUI_TOOLBAR_ART::DrawButton` lowers `WX_AUI_TOOLBAR_ART::DrawButton` CPU usage from 85% to 20%...

In Debug mode, `aDc.GetAsBitmap().ConvertToDIB();` causes a (recursive) assert "deleting bitmap still selected into wxMemoryDC"