CCGLView modefy

This commit is contained in:
huangshiwu 2014-08-11 16:15:02 +08:00
parent 00165f5fa1
commit 1177b0d545
1 changed files with 3 additions and 1 deletions

View File

@ -117,11 +117,13 @@ public:
*/
virtual void setFrameSize(float width, float height);
virtual void setFrameZoomFactor(float zoomFactor) {}
virtual float getFrameZoomFactor() const { return 1.0; }
/** Get retina factor */
virtual int getRetinaFactor() const { return 1; }
virtual bool setContentScaleFactor(float scaleFactor) { return false; }
virtual float getContentScaleFactor() const { return 1.0; }
/** returns whether or not the view is in Retina Display mode */