blender/release/scripts
Joshua Leung 6bf9aa3f8e Fancy procedural icons for Keyframe Types
The new "default keyframe type" dropdown on the timeline header
(and also the "Keyframe Type" operator/properties in other places)
now has procedurally generated icons which reflect what that keyframe
type will look like when rendered in the Dope Sheet.

This was achieved using the ancient "VICON" (vector icon) stuff
that's lurking around in the dark parts of UI code. From memory,
the only other things that use (or used to use) this stuff included
some of the triangle icons for some dropdown buttons, or something
like that.

Notes:
* Theme colour changes are reflected immediately by these icons.
  This is possible because they are all drawn procedurally
* These icons scale with the DPI setting. I manually guessed the size of
  these icons. They can be adjusted further if needed.
* I've documented the steps for adding voodoo icons like this on the wiki
  (http://wiki.blender.org/index.php/Dev:2.7/Source/Checklists/Vector_Icon)
* It's true that the rendering of these keyframes doesn't quite fit the rest
  of the icons in the UI. However, since we're just leveraging the standard
  keyframe drawing methods (to avoid discreptancies between the two), we'll
  leave it as such for now. Maybe later we can consider blending in a bit of
  the glossy keyframe icons in the Icon Sheet?
2016-03-14 00:56:52 +13:00
..
addons@407d0ea752 File Selector, support filepath dropping 2015-11-05 01:33:50 +11:00
addons_contrib@9f29e18707 File Selector, support filepath dropping 2015-11-05 01:33:50 +11:00
freestyle Freestyle: Fix for 'Distance from Object' modifiers without a target object. 2015-10-28 23:33:25 +09:00
modules Fix typo in 'Vietnamese' language label (must have sneaked in while adding Basque one, grr). 2016-03-04 17:46:39 +01:00
presets Fix T47605: Elsyiun theme info text hard to read 2016-02-28 07:22:12 +11:00
startup Fancy procedural icons for Keyframe Types 2016-03-14 00:56:52 +13:00
templates_osl Cycles: Remove Westin closure. 2014-10-03 16:03:49 +02:00
templates_py Fix T47252: FileBrowser: buffer overflow with scripts defining too long 'filter_glob' string. 2016-01-27 18:04:50 +01:00