mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +02:00
Merge branch 'pu/cc' into next-cc
Conflicts: acinclude.m4 data/locale/deutsch.locale data/locale/english.locale src/driver/volume.cpp src/eitd/SIlanguage.cpp src/gui/bedit/bouqueteditor_channels.cpp src/gui/bedit/bouqueteditor_chanselect.cpp src/gui/bouquetlist.cpp src/gui/channellist.cpp src/gui/eventlist.cpp src/gui/osd_setup.cpp src/gui/scan.cpp src/gui/scan.h src/gui/test_menu.cpp src/gui/timeosd.cpp src/gui/widget/progressbar.cpp src/gui/widget/progressbar.h src/neutrino.cpp src/nhttpd/yconfig.h
This commit is contained in:
@@ -42,7 +42,7 @@ CTimeOSD::CTimeOSD()
|
||||
visible=false;
|
||||
m_mode=MODE_ASC;
|
||||
GetDimensions();
|
||||
timescale = new CProgressBar(true, BARLEN, m_height -5, 40, 100, 70, true);
|
||||
timescale = new CProgressBar();
|
||||
m_time_show = 0;
|
||||
}
|
||||
|
||||
@@ -116,7 +116,10 @@ void CTimeOSD::updatePos(short runningPercent)
|
||||
if(runningPercent > 100 || runningPercent < 0)
|
||||
runningPercent = 0;
|
||||
|
||||
timescale->paintProgressBar2(m_xstart, m_y, runningPercent);
|
||||
timescale->setProgress(m_xstart, m_y, BARLEN, m_height -5, runningPercent, 100);
|
||||
timescale->setBlink();
|
||||
timescale->setRgb(0, 100, 70);
|
||||
timescale->paint();
|
||||
}
|
||||
|
||||
void CTimeOSD::update(int position, int duration)
|
||||
|
Reference in New Issue
Block a user