summaryrefslogtreecommitdiff
path: root/fontmanager.h
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2021-03-03 12:55:25 +0100
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2021-03-10 17:17:47 +0100
commitb386b8cab6beb65bfc8e5999273516762d0ee301 (patch)
tree23b1913c2029814e0a21e10c00b3890f866499c6 /fontmanager.h
parent03337e57fdd83344d9b24ffcad394e76d5f92007 (diff)
downloadskin-nopacity-b386b8cab6beb65bfc8e5999273516762d0ee301.tar.gz
skin-nopacity-b386b8cab6beb65bfc8e5999273516762d0ee301.tar.bz2
Simplify cFontManager
Almost everything is done in the constructor and destructor of cFontManager. So we can delete most of the funktions in this class. This allows a new instance of fontmanager to be created after configuration changes.
Diffstat (limited to 'fontmanager.h')
-rw-r--r--fontmanager.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/fontmanager.h b/fontmanager.h
index 7d3ef51..b285bcd 100644
--- a/fontmanager.h
+++ b/fontmanager.h
@@ -5,24 +5,10 @@
class cFontManager {
private:
- void SetFontsMenu(void);
- void DeleteFontsMenu(void);
- void SetFontsChannel(void);
- void DeleteFontsChannel(void);
- void SetFontsReplay(void);
- void DeleteFontsReplay(void);
- void SetFontsMessage(void);
- void DeleteFontsMessage(void);
- void SetFontsTrack(void);
- void DeleteFontsTrack(void);
- void SetFontsVolume(void);
- void DeleteFontsVolume(void);
+ cFont *CreateFont(int size);
public:
cFontManager();
~cFontManager();
- cFont *CreateFont(int size);
- void SetFonts(void);
- void DeleteFonts(void);
//Fonts DisplayMenu
cFont *menuHeader;
cFont *menuDate;