summaryrefslogtreecommitdiff
path: root/layout.h
diff options
context:
space:
mode:
authormrwastl <mrwastl@users.sourceforge.net>2010-05-04 21:03:19 +0200
committermrwastl <mrwastl@users.sourceforge.net>2010-05-04 21:03:19 +0200
commit8a4168bd0d2e468604755398f18be1fba9046aa0 (patch)
tree56558e0517e3b63483a2813146563eaf0371c666 /layout.h
parent75ebec3efc4879fc8bee8a3ecfe71809d9fccefd (diff)
downloadvdr-plugin-graphlcd-8a4168bd0d2e468604755398f18be1fba9046aa0.tar.gz
vdr-plugin-graphlcd-8a4168bd0d2e468604755398f18be1fba9046aa0.tar.bz2
initial git upload, based on graphlcd-0.2.0-pre2
Diffstat (limited to 'layout.h')
-rw-r--r--layout.h54
1 files changed, 0 insertions, 54 deletions
diff --git a/layout.h b/layout.h
deleted file mode 100644
index 95269a8..0000000
--- a/layout.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * GraphLCD plugin for Video Disc Recorder
- *
- * layout.h - layout classes
- *
- * This file is released under the GNU General Public License. Refer
- * to the COPYING file distributed with this package.
- *
- * (c) 2005 Andreas Regel <andreas.regel AT powarman.de>
- */
-
-#include <list>
-#include <string>
-
-#include <glcdgraphics/font.h>
-
-typedef enum
-{
- ftFNT,
- ftFT2
-} eFontTypes;
-
-class cFontElement
-{
-private:
- std::string name;
- int type;
- std::string file;
- int size;
- GLCD::cFont font;
-public:
- cFontElement(const std::string & fontName);
- bool Load(const std::string & url);
-
- const std::string & Name() const { return name; }
- int Type() const { return type; }
- const std::string & File() const { return file; }
- int Size() const { return size; }
- const GLCD::cFont * Font() const { return &font; }
-};
-
-
-class cFontList
-{
-private:
- std::list <cFontElement *> fonts;
-public:
- cFontList();
- ~cFontList();
- bool Load(const std::string & fileName);
- bool Parse(const std::string & line);
-
- const GLCD::cFont * GetFont(const std::string & name) const;
-};