All pastes #538867 Raw Edit

Stuff

public text v1 · immutable
·published 2007-06-05 04:01 UTC
rendered paste body
void
Storyboard::ClockTimeChanged ()
{
	for (GList *l = child_timelines; l; l = l->next) {

	  	char *targetProperty = storyboard_child_get_target_property (this, ((Timeline*)l->data));
		if (!targetProperty)
			continue;

		char *targetName = storyboard_child_get_target_name (this, ((Timeline*)l->data));
		if (!targetName)
			continue;

#if notyet
		DependencyObject *o = name_scope.LookupObject (targetName);
		if (!o)
			continue;

		DependencyProperty *prop = o->FindProperty (targetProperty);
		if (!prop)
			continue;

		o->SetValue (prop, child_timeline.GetCurrentValue ());
#endif
	}
}