summaryrefslogtreecommitdiff
path: root/menudetailview.c
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2021-07-09 18:55:39 +0200
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2021-07-30 13:19:15 +0200
commit39b723f04aaec82abc11eedb2f8b8fd970bc6fd7 (patch)
tree9750c5702d6e8b28e05cd4c8f95cdfbdfce2d06b /menudetailview.c
parentfdcad235c08d27bd114c660539b47f4b50ffcfc2 (diff)
downloadskin-nopacity-39b723f04aaec82abc11eedb2f8b8fd970bc6fd7.tar.gz
skin-nopacity-39b723f04aaec82abc11eedb2f8b8fd970bc6fd7.tar.bz2
Eliminate cThread in cNopacityDetailView
Diffstat (limited to 'menudetailview.c')
-rw-r--r--menudetailview.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/menudetailview.c b/menudetailview.c
index b68f8c4..907a6fe 100644
--- a/menudetailview.c
+++ b/menudetailview.c
@@ -3,7 +3,7 @@
/********************************************************************************************
* cNopacityDetailView
********************************************************************************************/
-cNopacityDetailView::cNopacityDetailView(eDetailViewType detailViewType, cOsd *osd, cPixmap *s, cPixmap *sBack) : cThread("DetailView") {
+cNopacityDetailView::cNopacityDetailView(eDetailViewType detailViewType, cOsd *osd, cPixmap *s, cPixmap *sBack) {
type = detailViewType;
this->osd = osd;
this->scrollBar = s;
@@ -36,9 +36,6 @@ cNopacityDetailView::cNopacityDetailView(eDetailViewType detailViewType, cOsd *o
}
cNopacityDetailView::~cNopacityDetailView(void) {
- Cancel(-1);
- while (Active())
- cCondWait::SleepMs(10);
if (view)
delete view;
}
@@ -121,8 +118,6 @@ void cNopacityDetailView::InitiateViewType(void) {
}
}
void cNopacityDetailView::KeyInput(bool Up, bool Page) {
- if (Running())
- return;
if (!view)
return;
if (Up && Page) {
@@ -382,7 +377,7 @@ int cNopacityDetailView::ReadSizeVdr(const char *strPath) {
return dirSize;
}
-void cNopacityDetailView::Action(void) {
+void cNopacityDetailView::Render(void) {
InitiateViewType();
if (!view)
return;