kicad/3d-viewer/3d_cache
John Beard 124dd5e59a 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
2019-04-08 14:29:15 +01:00
..
dialogs 3D viewer: use hi-DPI settings for canvases 2019-04-08 14:29:15 +01:00
sg 3d-viewer: Clear memset warnings 2019-01-09 21:43:23 -08:00
3d_cache.cpp Replace WIN32 preprocessor symbol by the official symbol _WIN32, used almost everywhere 2018-10-20 09:22:24 +02:00
3d_cache.h Fold 3D Search Paths dialog into Configure Paths. 2018-07-17 15:11:01 +01:00
3d_cache_wrapper.cpp Better 3D filename resolution 2016-06-09 07:48:49 +02:00
3d_cache_wrapper.h Implement poor-man's RTTI for use over KiWAY. 2018-09-15 20:06:42 +01:00
3d_info.h refactoring: removed dependency of libpcbcommon on 3d-viewer. 2017-11-03 20:01:42 +01:00
3d_plugin_manager.cpp Use absolute path CMAKE_INSTALL_FULL_LIBDIR for 3d viewer PLUGINDIR 2018-12-11 14:28:01 -05:00
3d_plugin_manager.h refactoring: removed dependency of libpcbcommon on 3d-viewer. 2017-11-03 20:01:42 +01:00
CMakeLists.txt 3D_cache/cmakelists.txt: Don't clear CMAKE_CXX_FLAGS compiler flags 2016-05-02 11:45:23 +02:00