summaryrefslogtreecommitdiff
path: root/tools.h
diff options
context:
space:
mode:
authorMartin Prochnow <nordlicht@martins-kabuff.de>2008-03-22 16:45:02 +0100
committerAndreas Mair <andreas@vdr-developer.org>2008-03-22 16:45:02 +0100
commit23f4f2114e7d48bb4bbe5e50aa6ddce0f1c21bd2 (patch)
tree65ec19823baa6f900495290b9d0e8497f12115ee /tools.h
parent3b617b561f901e8f7a5f8991bc1d51e1ee800142 (diff)
downloadvdr-plugin-extrecmenu-23f4f2114e7d48bb4bbe5e50aa6ddce0f1c21bd2.tar.gz
vdr-plugin-extrecmenu-23f4f2114e7d48bb4bbe5e50aa6ddce0f1c21bd2.tar.bz2
Version 1.2-test1v1.2-test1
- added italian translation; thanks to Diego - added support for GraphTFT-plugin; thanks to Jörg Wendel for the patch - added support for true type fonts and UTF-8; thanks to Andreas Mair for the true type font and the patch - removed patch font routine because it is useless now - added true type font containing the needed icons - changed i18n support to gettext
Diffstat (limited to 'tools.h')
-rw-r--r--tools.h28
1 files changed, 27 insertions, 1 deletions
diff --git a/tools.h b/tools.h
index 66167da..4e5fdeb 100644
--- a/tools.h
+++ b/tools.h
@@ -1,4 +1,4 @@
-std::string myStrReplace(std::string S,char C1,char C2);
+std::string myStrReplace(std::string S,char C1,const char* C2);
class SortListItem:public cListObject
{
@@ -112,3 +112,29 @@ class WorkerThread:public cThread
extern WorkerThread *MoveCutterThread;
+class Icons
+{
+ private:
+ static bool IsUTF8;
+ public:
+ static void InitCharSet();
+ static const char* Continue(){return IsUTF8?"\ue000":"\x80";}
+ static const char* DVD(){return IsUTF8?"\ue001":"\x81";}
+ static const char* Directory(){return IsUTF8?"\ue002":"\x82";}
+ static const char* FixedBlank(){return IsUTF8?"\ue003":"\x83";}
+ static const char* Scissor(){return IsUTF8?"\ue004":"\x84";}
+ static const char* MovingRecording(){return IsUTF8?"\ue005":"\x85";}
+ static const char* MovingDirectory(){return IsUTF8?"\ue006":"\x86";}
+ static const char* ProgressStart(){return IsUTF8?"\ue007":"\x87";}
+ static const char* ProgressFilled(){return IsUTF8?"\ue008":"\x88";}
+ static const char* ProgressEmpty(){return IsUTF8?"\ue009":"\x89";}
+ static const char* ProgressEnd(){return IsUTF8?"\ue00a":"\x8a";}
+ static const char* Recording(){return IsUTF8?"\ue00b":"\x8b";}
+ static const char* AlarmClock(){return IsUTF8?"\ue00c":"\x8c";}
+ static const char* TVScrambled(){return IsUTF8?"\ue00d":"\x8d";}
+ static const char* Radio(){return IsUTF8?"\ue00e":"\x8e";}
+ static const char* TV(){return IsUTF8?"\ue00f":"\x8f";}
+ static const char* New(){return IsUTF8?"\ue010":"\x90";}
+ static const char* Repititive_timer(){return IsUTF8?"\ue011":"\x91";}
+ static const char* Running(){return IsUTF8?"\ue012":"\x92";}
+};