unix2dos, time variance update returns value now

This commit is contained in:
Volker Fischer 2009-09-19 15:11:16 +00:00
parent 1474ca5ced
commit abb6051d00
4 changed files with 530 additions and 524 deletions

View file

@ -103,8 +103,12 @@ void CChannelFader::SetGUIDesign ( const EGUIDesign eNewDesign )
case GD_ORIGINAL: case GD_ORIGINAL:
// fader // fader
pFader->setStyleSheet ( pFader->setStyleSheet (
"QSlider { background-image: url(:/png/fader/res/faderbackground.png);" "QSlider { border-image: url(:/png/fader/res/faderbackground.png) 4px 4px 0px 0px;"
" width: 45px; }" " border-top: 4px transparent;"
" border-bottom: 4px transparent;"
" border-left: 0px transparent;"
" border-right: 0px transparent;"
" width: 39px; }"
"QSlider::groove { image: url(); }" "QSlider::groove { image: url(); }"
"QSlider::handle { image: url(:/png/fader/res/faderhandle.png); }" ); "QSlider::handle { image: url(:/png/fader/res/faderhandle.png); }" );

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View file

@ -598,7 +598,7 @@ public:
RespTimeMoAvBuf.Reset(); RespTimeMoAvBuf.Reset();
} }
void Update() double Update()
{ {
// add time difference // add time difference
const int CurTime = PreciseTime.elapsed(); const int CurTime = PreciseTime.elapsed();
@ -625,6 +625,8 @@ public:
// store old time value // store old time value
TimeLastBlock = CurTime; TimeLastBlock = CurTime;
return dCurAddVal;
} }
// return the standard deviation, for that we need to calculate // return the standard deviation, for that we need to calculate