Blender Git Loki

Git Commits -> Revision 9aa6698

Revision 9aa6698 by Ton Roosendaal (master)
December 19, 2012, 15:44 (GMT)
UI DPI scaling:

Recoded the (2.65.1 version) region scale, which happened on loading files with
different saved size windows. Also scaling window itself was affected.

Old method: scaled region widths based on area/editor scaling factors.
That was leading to too small or too large button regions easily.

New method: region width/height now are in DPI control. Much nicer!
- On changing dpi, buttons remain visually same widths.
- On changing window sizes, the button views and zooms stick to exactly same.

Caveat: people who were using Blender with 'extreme' dpi setting, might find
the layouts slightly differ. Not sure if this is worth version patching...

Todo: overlapping regions that overlap together draw badly. Fix underway.

Commit Details:

Full Hash: 9aa6698bd055450b358b191e8ef0bbb823af53e4
SVN Revision: 53184
Parent Commit: cc23d4c
Lines Changed: +15, -30

3 Modified Paths:

/source/blender/editors/screen/area.c (+7, -5) (Diff)
/source/blender/editors/screen/screen_edit.c (+1, -24) (Diff)
/source/blender/editors/screen/screen_ops.c (+7, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021