Centralize game background drawing code.

No need to duplicate it everywhere.
This commit is contained in:
Unknown W. Brackets
2014-02-09 17:39:15 -08:00
parent 80704d013e
commit 274160bc22
10 changed files with 63 additions and 107 deletions
-2
View File
@@ -33,8 +33,6 @@
#include "UI/UIShader.h"
#include "UI/GameSettingsScreen.h"
extern void DrawBackground(float alpha);
class ControlMapper : public UI::LinearLayout {
public:
ControlMapper(int pspKey, std::string keyName, ScreenManager *scrm, UI::LinearLayoutParams *layoutParams = 0);