diff options
author | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2021-06-05 15:11:17 +0200 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2021-06-06 14:31:53 +0200 |
commit | 0ea3214d38887f6549586ade0aad2e8dd38d6f78 (patch) | |
tree | 61f4dc3570474698705425bf07306a5b7377c480 | |
parent | b6698ed70912b4b94bf4a9449e53e400037dc4cf (diff) | |
download | skin-nopacity-0ea3214d38887f6549586ade0aad2e8dd38d6f78.tar.gz skin-nopacity-0ea3214d38887f6549586ade0aad2e8dd38d6f78.tar.bz2 |
Make cNopacityView::SetFonts privat
-rw-r--r-- | detailview.c | 1 | ||||
-rw-r--r-- | detailview.h | 2 | ||||
-rw-r--r-- | menudetailview.c | 1 |
3 files changed, 2 insertions, 2 deletions
diff --git a/detailview.c b/detailview.c index b33ba02..74b8b02 100644 --- a/detailview.c +++ b/detailview.c @@ -67,6 +67,7 @@ void cNopacityView::SetGeometry(int x, int y, int width, int height, int border, if (tabbed) tabHeight = 2 * border; contentHeight = height - headerHeight - tabHeight; + SetFonts(); } void cNopacityView::SetFonts(void) { diff --git a/detailview.h b/detailview.h index e94d4b7..5a7fca2 100644 --- a/detailview.h +++ b/detailview.h @@ -56,6 +56,7 @@ protected: int eventID; std::string recFileName; bool headerDrawn; + void SetFonts(void); void DrawHeader(void); void ClearContent(void); void CreateContent(int fullHeight); @@ -80,7 +81,6 @@ public: void SetRecFileName(const char *name) { recFileName = name ? name : ""; }; virtual void LoadMedia(void) {}; void SetGeometry(int x, int y, int width, int height, int border, int headerHeight); - void SetFonts(void); void SetScrollbarPixmaps(cPixmap *s, cPixmap *sb) { pixmapScrollbar = s; pixmapScrollbarBack = sb; }; virtual bool KeyUp(void); virtual bool KeyDown(void); diff --git a/menudetailview.c b/menudetailview.c index f80f3e8..12092bb 100644 --- a/menudetailview.c +++ b/menudetailview.c @@ -379,7 +379,6 @@ void cNopacityDetailView::Action(void) { if (!view) return; view->SetGeometry(x, top, width, height, border, headerHeight); - view->SetFonts(); view->SetScrollbarPixmaps(scrollBar, scrollBarBack); view->LoadMedia(); view->Start(); |