mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +02:00
glcd, webtv/radio: epg scroll deactivated, high load
Origin commit data
------------------
Commit: a39f9e5892
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2023-08-12 (Sat, 12 Aug 2023)
Origin message was:
------------------
nglcd, webtv/radio: epg scroll deactivated, high load
This commit is contained in:
@@ -1153,6 +1153,7 @@ void cGLCD::Run(void)
|
|||||||
else
|
else
|
||||||
Epg = g_InfoViewer->get_livestreamInfo1() + " " + g_InfoViewer->get_livestreamInfo2();
|
Epg = g_InfoViewer->get_livestreamInfo1() + " " + g_InfoViewer->get_livestreamInfo2();
|
||||||
EpgWidth = font_epg.Width(Epg);
|
EpgWidth = font_epg.Width(Epg);
|
||||||
|
#if 0 // FIXME: scroll problem, high load
|
||||||
doScrollEpg = EpgWidth > bitmap->Width();
|
doScrollEpg = EpgWidth > bitmap->Width();
|
||||||
scrollEpgForward = true;
|
scrollEpgForward = true;
|
||||||
scrollEpgSkip = 0;
|
scrollEpgSkip = 0;
|
||||||
@@ -1161,6 +1162,7 @@ void cGLCD::Run(void)
|
|||||||
scrollEpgOffset = bitmap->Width()/4;
|
scrollEpgOffset = bitmap->Width()/4;
|
||||||
EpgWidth += scrollEpgOffset;
|
EpgWidth += scrollEpgOffset;
|
||||||
} else
|
} else
|
||||||
|
#endif
|
||||||
scrollEpgOffset = 0;
|
scrollEpgOffset = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user