blob: 239a2fb10828d4045395ac5fd7b2ab1602efde2e [file] [log] [blame]
function SliderEffect(data,elem, dynamicProperties){
this.p = PropertyFactory.getProp(elem,data.v,0,0,dynamicProperties);
}
function AngleEffect(data,elem, dynamicProperties){
this.p = PropertyFactory.getProp(elem,data.v,0,0,dynamicProperties);
}
function ColorEffect(data,elem, dynamicProperties){
this.p = PropertyFactory.getProp(elem,data.v,1,1/255,dynamicProperties);
}
function PointEffect(data,elem, dynamicProperties){
this.p = PropertyFactory.getProp(elem,data.v,1,0,dynamicProperties);
}
function CheckboxEffect(data,elem, dynamicProperties){
this.p = PropertyFactory.getProp(elem,data.v,1,0,dynamicProperties);
}
function NoValueEffect(data,elem, dynamicProperties){
this.p = {};
}
function groupEffectFunction(num){
}
function GroupEffect() {
var fn = groupEffectFunction;
return fn;
}
SliderEffect.prototype.proxyFunction = function(){
if(this.p.k){
this.p.getValue();
}
return this.p.v;
}
AngleEffect.prototype.proxyFunction = SliderEffect.prototype.proxyFunction;
ColorEffect.prototype.proxyFunction = SliderEffect.prototype.proxyFunction;
PointEffect.prototype.proxyFunction = SliderEffect.prototype.proxyFunction;
CheckboxEffect.prototype.proxyFunction = SliderEffect.prototype.proxyFunction;