#include <pawstexturemanager.h>
Definition at line 61 of file pawstexturemanager.h.
 
      
        
          | pawsTextureManager::pawsTextureManager  | 
          ( | 
          iObjectRegistry *  | 
          objectReg | ) | 
           | 
        
      
 
 
  
  
      
        
          | virtual pawsTextureManager::~pawsTextureManager  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
      
        
          | bool pawsTextureManager::AddImage  | 
          ( | 
          const char *  | 
          resource | ) | 
           | 
        
      
 
 
      
        
          | void pawsTextureManager::AddPawsImage  | 
          ( | 
          csRef< iPawsImage > &  | 
          element | ) | 
           | 
        
      
 
 
      
        
          | csPtr<iPawsImage> pawsTextureManager::GetOrAddPawsImage  | 
          ( | 
          const char *  | 
          name | ) | 
           | 
        
      
 
 
      
        
          | csPtr<iPawsImage> pawsTextureManager::GetPawsImage  | 
          ( | 
          const char *  | 
          name | ) | 
           | 
        
      
 
 
      
        
          | bool pawsTextureManager::LoadImageList  | 
          ( | 
          const char *  | 
          listName | ) | 
           | 
        
      
 
Loads an image list from xml. 
The format for an image is: <image file="/this/path/to/image.png" resource="commonName"> <texturerect x="0" y="0" width="32" height="32" /> <alpha level="128" /> <trans r="255" g="0" b="255" /> </image>
- Parameters
 - 
  
    | listName | The VFS path to the list file. | 
  
   
- Returns
 - true if the list was loaded properly. 
 
 
 
      
        
          | void pawsTextureManager::Remove  | 
          ( | 
          const char *  | 
          name | ) | 
           | 
        
      
 
Remove a description from the list. 
This removes an image from the list once we are totally finished with it. ie there will not be any more refs to it.
- Parameters
 - 
  
    | name | The description to remove from the list.  | 
  
   
 
 
      
        
          | csHash<csRef<iPawsImage>, csString> pawsTextureManager::elementList | 
        
      
 
 
      
        
          | iObjectRegistry* pawsTextureManager::objectReg | 
        
      
 
 
      
        
          | csRef<iVFS> pawsTextureManager::vfs | 
        
      
 
 
      
        
          | csRef<iDocumentSystem> pawsTextureManager::xml | 
        
      
 
 
The documentation for this class was generated from the following file: