STextureTypes.hpp   StelTextureTypes.hpp 
skipping to change at line 20 skipping to change at line 20
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, U SA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, U SA.
*/ */
#ifndef _STEXTURETYPES_HPP_ #ifndef _STELTEXTURETYPES_HPP_
#define _STEXTURETYPES_HPP_ #define _STELTEXTURETYPES_HPP_
#include <boost/shared_ptr.hpp> #include <boost/shared_ptr.hpp>
class STexture; //! @file StelTextureTypes.hpp
//! Define the StelTextureSP type.
//! In stellarium we now use shared pointer to simplify memory managment class StelTexture;
typedef boost::shared_ptr<STexture> STextureSP;
namespace STextureTypes //! @typedef StelTextureSP
//! Use shared pointer to simplify memory managment
typedef boost::shared_ptr<StelTexture> StelTextureSP;
namespace StelTextureTypes
{ {
//! Supported dynamic range modes //! Supported dynamic range modes
enum DynamicRangeMode enum DynamicRangeMode
{ {
Linear, Linear,
MinmaxUser, MinmaxUser,
MinmaxQuantile, MinmaxQuantile,
MinmaxGreylevel, MinmaxGreylevel,
MinmaxGreylevelAuto MinmaxGreylevelAuto
}; };
} }
#endif // _STEXTURETYPES_HPP_ #endif // _STELTEXTURETYPES_HPP_
 End of changes. 5 change blocks. 
6 lines changed or deleted 10 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/