Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/img/extern/IMG_Pixmap.h')
-rw-r--r--intern/img/extern/IMG_Pixmap.h27
1 files changed, 14 insertions, 13 deletions
diff --git a/intern/img/extern/IMG_Pixmap.h b/intern/img/extern/IMG_Pixmap.h
index 9d9f247e3b4..86f5d0e0c0f 100644
--- a/intern/img/extern/IMG_Pixmap.h
+++ b/intern/img/extern/IMG_Pixmap.h
@@ -49,15 +49,15 @@ class IMG_Pixmap
{
public:
/** The type of pixels that are stored in this pixmap. */
- typedef enum {
- kPixelTypeUnknown = 0, /**< R:8, G:8, B:8, Ignore:8 */
-// kPixelTypeRGB32 = 1, /**< R:8, G:8, B:8, Ignore:8 */
- kPixelTypeRGBA32 = 2, /**< R:8, G:8, B:8, Alpha:8 */
-// kPixelTypeRGB16 = 3, /**< Ignore:1, R:5, G:5, B:5 */
-// kPixelTypeRGBA16 = 4, /**< Alpha:1, R:5, G:5, B:5 */
-// kPixelTypeRGB16_565 = 5, /**< R:5, G:6, B:5 */
-// kPixelTypeRGB24 = 6 /**< R:8, G:8, B:8 */
- } TPixelType;
+ typedef enum {
+ kPixelTypeUnknown = 0, /**< R:8, G:8, B:8, Ignore:8 */
+/* kPixelTypeRGB32 = 1, */ /*< R:8, G:8, B:8, Ignore:8 */
+ kPixelTypeRGBA32 = 2, /**< R:8, G:8, B:8, Alpha:8 */
+/* kPixelTypeRGB16 = 3, */ /**< Ignore:1, R:5, G:5, B:5 */
+/* kPixelTypeRGBA16 = 4, */ /**< Alpha:1, R:5, G:5, B:5 */
+/* kPixelTypeRGB16_565 = 5, */ /**< R:5, G:6, B:5 */
+/* kPixelTypeRGB24 = 6 */ /**< R:8, G:8, B:8 */
+ } TPixelType;
/**
* Default constructor.
@@ -136,7 +136,7 @@ public:
* @param r requested bounds rectangle in the image
* @param c color to use
*/
- //virtual void fillRect(const GEN_Rect& r, const IMG_ColorRGBA& c) = 0;
+ /*virtual void fillRect(const GEN_Rect& r, const IMG_ColorRGBA& c) = 0; */
protected:
/** Width of the image in pixels */
@@ -149,8 +149,9 @@ protected:
GEN_TUns32 m_pixelSize;
/** Type of pixels in this image. */
TPixelType m_pixelType;
-// TEndian m_bitOrder;
-// TEndian m_byteOrder;
+/* TEndian m_bitOrder;
+ TEndian m_byteOrder;
+*/
};
inline GEN_TUns32 IMG_Pixmap::getWidth() const
@@ -195,4 +196,4 @@ inline void IMG_Pixmap::getPixelAddress(float u, float v, GEN_TInt32& x, GEN_TIn
y = (GEN_TInt32)(((float)m_height) * v);
}
-#endif // _H_IMG_Pixmap \ No newline at end of file
+#endif /* _H_IMG_Pixmap */