mirror of https://github.com/axmolengine/axmol.git
closed #3804: Change Image private function and variable to protected, for the subclasses can use them.
This commit is contained in:
parent
bfa7d3e38c
commit
db0fe60974
|
@ -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&);
|
||||||
|
|
Loading…
Reference in New Issue