Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2013-04-22 15:19:12 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2013-04-22 15:19:12 +0400
commit1b106439209566e3cce548237916e16b7dab1277 (patch)
treec027db685ec669be92d2b62fce2825d1f1a10695 /source/blender/makesrna/intern/rna_ui_api.c
parentc0eadedb7061ac9f69b3f8ecf5fd675d6a22221c (diff)
Footage information panel
Displays such information as current frame dimension, frame number within image sequence/movie and in case of image sequence input displays current file name of a frame. Not entirely happy with such approach, but was requested a lot by artists.
Diffstat (limited to 'source/blender/makesrna/intern/rna_ui_api.c')
-rw-r--r--source/blender/makesrna/intern/rna_ui_api.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_ui_api.c b/source/blender/makesrna/intern/rna_ui_api.c
index 9c354e7f70e..c5c8789001a 100644
--- a/source/blender/makesrna/intern/rna_ui_api.c
+++ b/source/blender/makesrna/intern/rna_ui_api.c
@@ -767,6 +767,12 @@ void RNA_api_ui_layout(StructRNA *srna)
RNA_def_property_flag(parm, PROP_REQUIRED | PROP_RNAPTR | PROP_NEVER_NULL);
RNA_def_boolean(func, "compact", 0, "", "Use more compact layout");
+ func = RNA_def_function(srna, "template_movieclip_information", "uiTemplateMovieclipInformation");
+ RNA_def_function_ui_description(func, "Item. Movie clip information data.");
+ api_ui_item_rna_common(func);
+ parm = RNA_def_pointer(func, "clip_user", "MovieClipUser", "", "");
+ RNA_def_property_flag(parm, PROP_REQUIRED | PROP_RNAPTR | PROP_NEVER_NULL);
+
func = RNA_def_function(srna, "template_list", "uiTemplateList");
RNA_def_function_ui_description(func, "Item. A list widget to display data, e.g. vertexgroups.");
RNA_def_function_flag(func, FUNC_USE_CONTEXT);