Private virtual functions are now protected, so that sub-classes can call them if necessary (and they appear in the API doc :)

This commit is contained in:
Laurent Gomila 2012-04-04 22:33:53 +02:00
parent 1a8488bd7b
commit 8c776f33c1
10 changed files with 67 additions and 59 deletions

View file

@ -51,7 +51,7 @@ public :
////////////////////////////////////////////////////////////
virtual ~Drawable() {}
private :
protected :
friend class RenderTarget;

View file

@ -127,7 +127,7 @@ public :
////////////////////////////////////////////////////////////
Image capture() const;
private :
protected:
////////////////////////////////////////////////////////////
/// \brief Function called after the window has been created
@ -148,6 +148,8 @@ private :
////////////////////////////////////////////////////////////
virtual void onResize();
private :
////////////////////////////////////////////////////////////
/// \brief Activate the target for rendering
///