fix for icon scaling with the DPI setting
authorCampbell Barton <ideasman42@gmail.com>
Fri, 5 Aug 2011 10:45:32 +0000 (10:45 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 5 Aug 2011 10:45:32 +0000 (10:45 +0000)
commita157112ac5c6465fd8d9518af87ce86a5250eeba
treea6453aca7729621156b84d7189d97d7ae1cd6aee
parentad7ea2f89205dd67b84ec76d70352ad56004293a
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.
source/blender/editors/include/UI_interface.h
source/blender/editors/interface/interface_handlers.c
source/blender/editors/interface/interface_icons.c
source/blender/editors/interface/interface_widgets.c