All pastes #537993 Raw Edit

Someone

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

    const char *targetProperty = storyboard_get_target_property (this, o);
    if (!targetProperty)
      continue;
    const char *targetName = storyboard_get_target_name (this, o);
    if (!targetName)
      continue;

    DependencyObject *o = name_scope.LookupObject (targetName);
    if (!o)
      continue;
    
    PropertyValue *value = child_timeline.GetCurrentValue ();

    do_set_value (o, targetProperty, value);
  }
}