~ubuntu-branches/ubuntu/maverick/vdr-plugin-skinenigmang/maverick

« back to all changes in this revision

Viewing changes to config.h

  • Committer: Bazaar Package Importer
  • Author(s): Tobias Grimm
  • Date: 2009-05-03 22:37:14 UTC
  • mfrom: (3.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20090503223714-hzn95frtagzb0f50
Tags: 0.1.0-1
* New upstream release
* Updated debian/copyright
* Build-depend on libmagick++-dev instead of libmagick++9-dev (Closes: 524592)

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
#define NUM_IMAGEEXTENSIONTEXTS 0
18
18
#endif
19
19
 
20
 
#ifdef HAVE_FREETYPE
21
 
# include "font.h"
22
 
#endif
 
20
#include "font.h"
23
21
 
24
22
#include <vdr/skins.h>
25
23
#include <vdr/font.h>
31
29
#define MAXFONTSIZE 64
32
30
#endif
33
31
 
34
 
#ifdef DISABLE_ANIMATED_TEXT
35
 
# define INIT_FONTS
36
 
#else
37
 
# define INIT_FONTS EnigmaConfig.InitFonts()
38
 
#endif
 
32
#define INIT_FONTS EnigmaConfig.InitFonts()
39
33
 
40
34
struct EnigmaOsdSize
41
35
{
82
76
struct FontConfig
83
77
{
84
78
  int Id;
85
 
  char *KeyId;
86
 
  char *KeyName;
 
79
  const char *KeyId;
 
80
  const char *KeyName;
87
81
};
88
82
 
89
83
extern FontConfig allFontConfig[FONT_NUMFONTS];
93
87
private:
94
88
  char logoDir[255];
95
89
  char strImagesDir[255];
96
 
#ifdef HAVE_FREETYPE
97
 
  char strFontsDir[255];
98
 
#endif
99
90
public:
100
91
  cEnigmaConfig();
101
92
  ~cEnigmaConfig();
103
94
  char *GetLogoDir(void) { return logoDir; }
104
95
  void SetImagesDir(const char *dir);
105
96
  char *GetImagesDir(void) { return strImagesDir; }
106
 
#ifdef HAVE_FREETYPE
107
 
  void SetFontsDir(const char *dir);
108
 
  char *GetFontsDir(void) { return strFontsDir; }
109
 
#endif
110
97
  const char *GetImageExtension(void);
111
98
  const cFont *GetFont(int id);
112
 
#ifndef DISABLE_ANIMATED_TEXT
113
 
  void InitFonts(void);
114
 
  const cFont *CopyFont(eDvbFont vdrId);
115
 
#endif
116
99
  void SetFont(int id, const char *font);
117
100
  void SetFont(int id, int vdrId);
118
101
  void GetOsdSize(struct EnigmaOsdSize *size);
158
141
  int statusLineMode;
159
142
  int showWssSymbols;
160
143
  int showStatusSymbols;
 
144
  int showScrollbar;
 
145
  int showSignalInfo;
 
146
  int showCaMode;
161
147
  FontInfo allFonts[FONT_NUMFONTS];
162
148
};
163
149