comparison core.js @ 484:44d20bccf36b Dev_main

More volume control styling
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Fri, 22 Jan 2016 17:03:18 +0000
parents a275f9689af6
children 423aee84fd8a
comparison
equal deleted inserted replaced
483:a275f9689af6 484:44d20bccf36b
2822 node.setAttribute('volume',interfaceContext.volume.valueDB); 2822 node.setAttribute('volume',interfaceContext.volume.valueDB);
2823 node.setAttribute('format','dBFS'); 2823 node.setAttribute('format','dBFS');
2824 storePoint.appendChild(node); 2824 storePoint.appendChild(node);
2825 } 2825 }
2826 2826
2827 var title = document.createElement('div');
2828 title.innerHTML = '<span>Master Volume Control</span>';
2829 title.style.fontSize = '0.75em';
2830 title.style.width = "100%";
2831 title.align = 'center';
2832 this.object.appendChild(title);
2833
2827 this.object.appendChild(this.slider); 2834 this.object.appendChild(this.slider);
2828 this.object.appendChild(this.valueText); 2835 this.object.appendChild(this.valueText);
2829 } 2836 }
2830 // Global Checkers 2837 // Global Checkers
2831 // These functions will help enforce the checkers 2838 // These functions will help enforce the checkers