more ui api changes.

- remove functions such as operator_int(), operator_enum(), operator_string
  this mixed with keyword arguments in a way that made them hard to read.
  Instead, have operator() always return properties rather then needing an argument.

- rename prop_pointer() --> prop_object(), pointer is more a C thing.

- missed item_enumR(), rename to prop_enum()
This commit is contained in:
Campbell Barton
2009-11-23 11:43:38 +00:00
parent c6dbbde16b
commit e0fc6d0c33
36 changed files with 284 additions and 290 deletions

View File

@@ -57,7 +57,7 @@ class RENDER_PT_render(RenderButtonsPanel):
if wide_ui:
col = split.column()
col.operator_boolean("screen.render", "animation", True, text="Animation", icon='ICON_RENDER_ANIMATION')
col.operator("screen.render", text="Animation", icon='ICON_RENDER_ANIMATION').animation = True
layout.prop(rd, "display_mode", text="Display")