mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-11-04 12:40:05 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			34 lines
		
	
	
	
		
			764 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
	
		
			764 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#pragma once
 | 
						|
 | 
						|
#include <scwx/qt/types/font_types.hpp>
 | 
						|
 | 
						|
#include <vector>
 | 
						|
 | 
						|
#include <boost/gil/typedefs.hpp>
 | 
						|
 | 
						|
namespace scwx
 | 
						|
{
 | 
						|
namespace qt
 | 
						|
{
 | 
						|
namespace manager
 | 
						|
{
 | 
						|
namespace ResourceManager
 | 
						|
{
 | 
						|
 | 
						|
void Initialize();
 | 
						|
void Shutdown();
 | 
						|
 | 
						|
std::shared_ptr<boost::gil::rgba8_image_t>
 | 
						|
LoadImageResource(const std::string& urlString, double scale = 1);
 | 
						|
std::shared_ptr<boost::gil::rgba8_image_t>
 | 
						|
LoadImageResource(const std::string& urlString,
 | 
						|
                  const std::string& textureName,
 | 
						|
                  double             scale = 1);
 | 
						|
std::vector<std::shared_ptr<boost::gil::rgba8_image_t>>
 | 
						|
     LoadImageResources(const std::vector<std::string>& urlStrings);
 | 
						|
void BuildAtlas();
 | 
						|
 | 
						|
} // namespace ResourceManager
 | 
						|
} // namespace manager
 | 
						|
} // namespace qt
 | 
						|
} // namespace scwx
 |