示例#1
0
文件: Fader.java 项目: davew1977/xapp
 public void step(double workDone, Object... args) {
   comp.setDefaultAlpha((float) Helper.linearInterpolate(m_startAlpha, m_endAlpha, workDone));
   comp.repaint();
 }
示例#2
0
文件: Fader.java 项目: davew1977/xapp
 public void init() {
   if (m_relative) m_startAlpha = comp.getDefaultAlpha();
 }