Blender Git Commit Log

Git Commits -> Revision a157112

Revision a157112 by Campbell Barton (master)
August 5, 2011, 10:45 (GMT)
fix for icon scaling with the DPI setting
- icons were scaling by the sqrt(dpi)/8.48528, but infact they only need to be scaled by (dpi/72).
- UI_icon_get_width value was being used without multiplying by dpi scale.

Commit Details:

Full Hash: a157112ac5c6465fd8d9518af87ce86a5250eeba
SVN Revision: 39066
Parent Commit: ad7ea2f
Lines Changed: +13, -10

4 Modified Paths:

/source/blender/editors/include/UI_interface.h (+3, -0) (Diff)
/source/blender/editors/interface/interface_handlers.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_icons.c (+2, -1) (Diff)
/source/blender/editors/interface/interface_widgets.c (+7, -8) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021