kicad/3d-viewer/3d_cache/dialogs
John Beard 4a201df556 3D viewer: use hi-DPI settings for canvases
The 3D viewer also uses OpenGL, so it also needs to
adjust based on DPI scale factors.

This patch moves the 3D viewer common config code solely
within the 3D viewer, and adds handling of the DPI scale. This
also avoids duplicated logic in PCB_BASE_FRAME::CommonSettingsChanged.

For now, as EDA_3D_VIEWER is not included in the Kiway settings
dispatch, still manually invoke the settings update from
PCB_BASE_FRAME.

The PANEL_3D_PREV gets a similar function to read the config, but
it doesn't have a listener for the update, so it's set just once
at dialog init, just like the existing pan settings.

Fixes: lp:1823681
* https://bugs.launchpad.net/kicad/+bug/1823681

(cherry picked from commit 124dd5e59a)
2019-04-08 14:30:26 +01:00
..
3d_cache_dialogs.cpp Fold 3D Search Paths dialog into Configure Paths. 2018-07-17 15:11:01 +01:00
3d_cache_dialogs.h Fold 3D Search Paths dialog into Configure Paths. 2018-07-17 15:11:01 +01:00
dlg_select_3dmodel.cpp wildcard strings update 2019-01-05 20:26:45 -08:00
dlg_select_3dmodel.h Fold 3D Search Paths dialog into Configure Paths. 2018-07-17 15:11:01 +01:00
panel_prev_3d_base.cpp Fix a few wxWidgets minor asserts. Fix also a missing bitmap button initialization. 2018-08-02 13:22:11 +02:00
panel_prev_3d_base.fbp Fix a few wxWidgets minor asserts. Fix also a missing bitmap button initialization. 2018-08-02 13:22:11 +02:00
panel_prev_3d_base.h Fix a few wxWidgets minor asserts. Fix also a missing bitmap button initialization. 2018-08-02 13:22:11 +02:00
panel_prev_model.cpp 3D viewer: use hi-DPI settings for canvases 2019-04-08 14:30:26 +01:00
panel_prev_model.h 3D viewer: use hi-DPI settings for canvases 2019-04-08 14:30:26 +01:00