Move SetTimeShiftValues
This commit is contained in:
parent
afa9cb77a3
commit
15aa722410
|
@ -304,7 +304,7 @@ void cViewReplay::SetEndTime(int current, int total) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void cViewReplay::SetProgressbar(int current, int total) {
|
void cViewReplay::SetProgressbar(int current, int total) {
|
||||||
// SetTimeShiftValues(current, total);
|
SetTimeShiftValues(current, total);
|
||||||
if (veProgressbar)
|
if (veProgressbar)
|
||||||
veProgressbar->Set(current, total, timeShiftActive, timeShiftFramesTotal);
|
veProgressbar->Set(current, total, timeShiftActive, timeShiftFramesTotal);
|
||||||
Render((int)eVeDisplayReplay::progressbar);
|
Render((int)eVeDisplayReplay::progressbar);
|
||||||
|
|
|
@ -53,7 +53,6 @@ void cSDDisplayReplay::SetMode(bool Play, bool Forward, int Speed) {
|
||||||
|
|
||||||
void cSDDisplayReplay::SetProgress(int Current, int Total) {
|
void cSDDisplayReplay::SetProgress(int Current, int Total) {
|
||||||
if (ok) {
|
if (ok) {
|
||||||
view->SetTimeShiftValues(Current, Total);
|
|
||||||
view->SetProgressbar(Current, Total);
|
view->SetProgressbar(Current, Total);
|
||||||
view->SetMarks(marks, Current, Total);
|
view->SetMarks(marks, Current, Total);
|
||||||
view->SetTimeshiftTimes(Current, Total);
|
view->SetTimeshiftTimes(Current, Total);
|
||||||
|
|
Loading…
Reference in New Issue