mirror of
				https://github.com/AxioDL/metaforce.git
				synced 2025-10-25 22:50:24 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			429 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			429 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #pragma once
 | |
| 
 | |
| #include <string>
 | |
| #include <string_view>
 | |
| #include <unordered_map>
 | |
| #include "Runtime/GCNTypes.hpp"
 | |
| 
 | |
| namespace metaforce {
 | |
| 
 | |
| 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 metaforce
 |