Blender Git Commit Log
Git Commits -> Revision fe3fb23
Revision fe3fb23 by Wouter (master) March 25, 2017, 10:22 (GMT) |
Automatic DPI for all platforms, per monitor DPI for Windows. For Windows 8.1 and X11 (Linux, BSD) now use the DPI specified by the operating system, which previously only worked on macOS. For Windows this is handled per monitor, for X11 this is based on Xft.dpi or xrandr --dpi. This should result in appropriate font and button sizes by default in most cases. The UI has been simplified to a single UI Scale factor relative to the automatic DPI, instead of two DPI and Virtual Pixel Size settings. There is forward and backwards compatibility for existing user preferences. Reviewed By: brecht, LazyDodo Differential Revision: https://developer.blender.org/D2539 |
Commit Details:
Full Hash: fe3fb236970ce30733381ad1ae8b89c55266c517
Parent Commit: 86730f1
Committed By: Brecht Van Lommel
Lines Changed: +267, -57
18 Modified Paths:
/intern/ghost/GHOST_C-api.h (+5, -0) (Diff)
/intern/ghost/GHOST_IWindow.h (+6, -0) (Diff)
/intern/ghost/GHOST_Types.h (+1, -0) (Diff)
/intern/ghost/intern/GHOST_C-api.cpp (+6, -0) (Diff)
/intern/ghost/intern/GHOST_SystemWin32.cpp (+78, -0) (Diff)
/intern/ghost/intern/GHOST_Window.h (+9, -0) (Diff)
/intern/ghost/intern/GHOST_WindowSDL.cpp (+16, -0) (Diff)
/intern/ghost/intern/GHOST_WindowSDL.h (+2, -0) (Diff)
/intern/ghost/intern/GHOST_WindowWin32.cpp (+18, -0) (Diff)
/intern/ghost/intern/GHOST_WindowWin32.h (+11, -0) (Diff)
/intern/ghost/intern/GHOST_WindowX11.cpp (+43, -0) (Diff)
/intern/ghost/intern/GHOST_WindowX11.h (+2, -0) (Diff)
/release/scripts/startup/bl_ui/space_userpref.py (+1, -5) (Diff)
/source/blender/blenloader/intern/versioning_defaults.c (+4, -0) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+5, -3) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+8, -28) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+52, -19) (Diff)
/source/blender/windowmanager/wm_window.h (+0, -2) (Diff)
/intern/ghost/GHOST_IWindow.h (+6, -0) (Diff)
/intern/ghost/GHOST_Types.h (+1, -0) (Diff)
/intern/ghost/intern/GHOST_C-api.cpp (+6, -0) (Diff)
/intern/ghost/intern/GHOST_SystemWin32.cpp (+78, -0) (Diff)
/intern/ghost/intern/GHOST_Window.h (+9, -0) (Diff)
/intern/ghost/intern/GHOST_WindowSDL.cpp (+16, -0) (Diff)
/intern/ghost/intern/GHOST_WindowSDL.h (+2, -0) (Diff)
/intern/ghost/intern/GHOST_WindowWin32.cpp (+18, -0) (Diff)
/intern/ghost/intern/GHOST_WindowWin32.h (+11, -0) (Diff)
/intern/ghost/intern/GHOST_WindowX11.cpp (+43, -0) (Diff)
/intern/ghost/intern/GHOST_WindowX11.h (+2, -0) (Diff)
/release/scripts/startup/bl_ui/space_userpref.py (+1, -5) (Diff)
/source/blender/blenloader/intern/versioning_defaults.c (+4, -0) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+5, -3) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+8, -28) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+52, -19) (Diff)
/source/blender/windowmanager/wm_window.h (+0, -2) (Diff)