closed #3804: Change Image private function and variable to protected, for the subclasses can use them.

This commit is contained in:
boyu0 2014-03-25 11:13:44 +08:00
parent bfa7d3e38c
commit db0fe60974
1 changed files with 2 additions and 2 deletions

View File

@ -155,7 +155,7 @@ protected:
bool saveImageToPNG(const std::string& filePath, bool isToRGB = true); bool saveImageToPNG(const std::string& filePath, bool isToRGB = true);
bool saveImageToJPG(const std::string& filePath); bool saveImageToJPG(const std::string& filePath);
private: protected:
/** /**
@brief Determine how many mipmaps can we have. @brief Determine how many mipmaps can we have.
Its same as define but it respects namespaces Its same as define but it respects namespaces
@ -175,7 +175,7 @@ private:
std::string _filePath; std::string _filePath;
private: protected:
// noncopyable // noncopyable
Image(const Image& rImg); Image(const Image& rImg);
Image & operator=(const Image&); Image & operator=(const Image&);