blender/source
Bastien Montagne 3c6b5b72a4 Add a new "shortening process" for UI string drawing, which keeps both right and left parts
of the drawstr and replaces the middle by '...'

Rationnal:
It's usually easier to figure out what a troncated string means if you have both its start and end parts.

Details:
It currently affects all UI items (text fields, buttons, labels...).
Only exceptions are buttons inside menus, text fields & co being edited, and numbuttons/sliders.
Note that some static texts (like panels' titles or items in outliner) do not use usual UI items,
and just draw the whole text, using OpenGL to clip it. Will make another patch to fix this.

Reviewers: campbellbarton, brecht, carter2422, #user_interface

Reviewed by: brecht, carter2422

CC: billrey

Differential Revision: https://developer.blender.org/D114
2014-01-01 11:58:45 +01:00
..
blender Add a new "shortening process" for UI string drawing, which keeps both right and left parts 2014-01-01 11:58:45 +01:00
blenderplayer Fix bookmarks not appearing in file browser after "copy previous settings". 2013-12-20 17:57:11 +01:00
creator Threaded object update and EvaluationContext 2013-12-26 17:24:42 +06:00
gameengine Fix T37920: BGE LibLoad failed for meshes with no materials 2013-12-30 15:49:13 +11:00
icons
tests error in last commit 2013-11-28 16:14:32 +11:00
CMakeLists.txt remove WINDOWS checks in cmake, this variable isn't defined on windows and checks weren't needed. 2013-09-03 03:04:44 +00:00
SConscript