forked from AuroraMiddleware/gtk
Recorder: Show details of crossfade nodes
This commit is contained in:
parent
2d5a121c3c
commit
0d8b2535d8
@ -393,6 +393,22 @@ populate_render_node_properties (GtkListStore *store,
|
||||
}
|
||||
break;
|
||||
|
||||
case GSK_CROSS_FADE_NODE:
|
||||
{
|
||||
double progress = gsk_cross_fade_node_get_progress (node);
|
||||
const char *text;
|
||||
|
||||
text = g_strdup_printf ("%.2f", progress);
|
||||
gtk_list_store_insert_with_values (store, NULL, -1,
|
||||
0, "Progress",
|
||||
1, text,
|
||||
2, FALSE,
|
||||
3, NULL,
|
||||
-1);
|
||||
g_free (text);
|
||||
}
|
||||
break;
|
||||
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user