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:
// fader
pFader->setStyleSheet (
"QSlider { background-image: url(:/png/fader/res/faderbackground.png);"
" width: 45px; }"
"QSlider { border-image: url(:/png/fader/res/faderbackground.png) 4px 4px 0px 0px;"
" border-top: 4px transparent;"
" border-bottom: 4px transparent;"
" border-left: 0px transparent;"
" border-right: 0px transparent;"
" width: 39px; }"
"QSlider::groove { image: url(); }"
"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();
}
void Update()
double Update()
{
// add time difference
const int CurTime = PreciseTime.elapsed();
@ -625,6 +625,8 @@ public:
// store old time value
TimeLastBlock = CurTime;
return dCurAddVal;
}
// return the standard deviation, for that we need to calculate