RNA: Add pixels property type

This commit is contained in:
Scott Petrovic
2013-12-13 04:39:15 +11:00
committed by Campbell Barton
parent 6c96535fd8
commit c701082a92
14 changed files with 33 additions and 22 deletions

View File

@@ -88,6 +88,7 @@ static EnumPropertyItem property_subtype_string_items[] = {
{0, NULL, 0, NULL, NULL}};
static EnumPropertyItem property_subtype_number_items[] = {
{PROP_PIXEL, "PIXEL", 0, "Pixel", ""},
{PROP_UNSIGNED, "UNSIGNED", 0, "Unsigned", ""},
{PROP_PERCENTAGE, "PERCENTAGE", 0, "Percentage", ""},
{PROP_FACTOR, "FACTOR", 0, "Factor", ""},