2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 01:47:43 +00:00

More GuiSys classes and fields

This commit is contained in:
Jack Andersen
2016-03-11 12:50:15 -10:00
parent cc4b5d3f98
commit 0e637156c2
16 changed files with 441 additions and 50 deletions

View File

@@ -0,0 +1,23 @@
#ifndef __URDE_CGUIWIDGETIDDB_HPP__
#define __URDE_CGUIWIDGETIDDB_HPP__
#include <unordered_map>
#include "RetroTypes.hpp"
namespace urde
{
class CGuiWidgetIdDB
{
std::unordered_map<std::string, s16> x0_dbMap;
s16 x14_lastPoolId = 0;
public:
CGuiWidgetIdDB();
s16 FindWidgetID(const std::string& name) const;
s16 AddWidget(const std::string& name, s16 id);
s16 AddWidget(const std::string& name);
};
}
#endif // __URDE_CGUIWIDGETIDDB_HPP__