2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-14 13:11:21 +00:00
metaforce/Runtime/GuiSys/CGuiWidgetIdDB.hpp
Lioncash 06789d1860 General: Normalize several headers' include paths
Normalizes the include paths and makes them consistent. Also adds any
missing includes relevant to the interface.
2019-09-22 20:36:33 -04:00

20 lines
378 B
C++

#pragma once
#include <unordered_map>
#include "Runtime/GCNTypes.hpp"
namespace urde {
class CGuiWidgetIdDB {
std::unordered_map<std::string, s16> x0_dbMap;
s16 x14_lastPoolId = 0;
public:
CGuiWidgetIdDB();
s16 FindWidgetID(std::string_view name) const;
s16 AddWidget(std::string_view name, s16 id);
s16 AddWidget(std::string_view name);
};
} // namespace urde