summaryrefslogtreecommitdiffstats
path: root/gui/resources.hpp
diff options
context:
space:
mode:
authorVojtech Bocek <vbocek@gmail.com>2014-09-07 15:01:56 +0200
committerDees Troy <dees_troy@teamw.in>2014-10-14 15:06:56 +0200
commit76ee903d84d5b477016fb6ed6bdee1a21e237903 (patch)
treeb5e773d53ce727911db18ba12d1e96b690c78c54 /gui/resources.hpp
parentFix exfat-fuse handling (diff)
downloadandroid_bootable_recovery-76ee903d84d5b477016fb6ed6bdee1a21e237903.tar
android_bootable_recovery-76ee903d84d5b477016fb6ed6bdee1a21e237903.tar.gz
android_bootable_recovery-76ee903d84d5b477016fb6ed6bdee1a21e237903.tar.bz2
android_bootable_recovery-76ee903d84d5b477016fb6ed6bdee1a21e237903.tar.lz
android_bootable_recovery-76ee903d84d5b477016fb6ed6bdee1a21e237903.tar.xz
android_bootable_recovery-76ee903d84d5b477016fb6ed6bdee1a21e237903.tar.zst
android_bootable_recovery-76ee903d84d5b477016fb6ed6bdee1a21e237903.zip
Diffstat (limited to 'gui/resources.hpp')
-rw-r--r--gui/resources.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/gui/resources.hpp b/gui/resources.hpp
index 874836e52..3cb528176 100644
--- a/gui/resources.hpp
+++ b/gui/resources.hpp
@@ -38,6 +38,14 @@ typedef enum {
class FontResource : public Resource
{
public:
+ enum Type
+ {
+ TYPE_TWRP,
+#ifndef TW_DISABLE_TTF
+ TYPE_TTF,
+#endif
+ };
+
FontResource(xml_node<>* node, ZipArchive* pZip);
virtual ~FontResource();
@@ -46,6 +54,7 @@ public:
protected:
void* mFont;
+ Type m_type;
};
class ImageResource : public Resource