summaryrefslogtreecommitdiffstats
path: root/gui/pages.hpp
diff options
context:
space:
mode:
authorthat <github@that.at>2015-03-04 22:39:34 +0100
committerEthan Yonker <dees_troy@teamw.in>2015-03-11 13:21:37 +0100
commit74ac6060ccb68e6ae80dbcb44d11f07a17e26034 (patch)
tree292c86e0888392da8f4a73d97f750e0d732a4dc2 /gui/pages.hpp
parentgui: make scroll bars smaller and transparent (diff)
downloadandroid_bootable_recovery-74ac6060ccb68e6ae80dbcb44d11f07a17e26034.tar
android_bootable_recovery-74ac6060ccb68e6ae80dbcb44d11f07a17e26034.tar.gz
android_bootable_recovery-74ac6060ccb68e6ae80dbcb44d11f07a17e26034.tar.bz2
android_bootable_recovery-74ac6060ccb68e6ae80dbcb44d11f07a17e26034.tar.lz
android_bootable_recovery-74ac6060ccb68e6ae80dbcb44d11f07a17e26034.tar.xz
android_bootable_recovery-74ac6060ccb68e6ae80dbcb44d11f07a17e26034.tar.zst
android_bootable_recovery-74ac6060ccb68e6ae80dbcb44d11f07a17e26034.zip
Diffstat (limited to '')
-rw-r--r--gui/pages.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/gui/pages.hpp b/gui/pages.hpp
index 8eec9a951..50155d0e9 100644
--- a/gui/pages.hpp
+++ b/gui/pages.hpp
@@ -88,7 +88,7 @@ public:
Page* FindPage(std::string name);
int SetPage(std::string page);
int SetOverlay(Page* page);
- Resource* FindResource(std::string name);
+ const ResourceManager* GetResources();
// Helper routine for identifing if we're the current page
int IsCurrentPage(Page* page);
@@ -131,8 +131,7 @@ public:
// Used for actions and pages
static int ChangePage(std::string name);
static int ChangeOverlay(std::string name);
- static Resource* FindResource(std::string name);
- static Resource* FindResource(std::string package, std::string name);
+ static const ResourceManager* GetResources();
// Used for console-only mode
static int SwitchToConsole(void);