summaryrefslogtreecommitdiffstats
path: root/BiomeVisualiser/Pixmap.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-07-06 21:43:13 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-07-06 21:43:13 +0200
commit209ad8702634e72d8cb528d3df181e2300a31115 (patch)
treedd80891eda325a8f21ff9e751d333699e9a9c779 /BiomeVisualiser/Pixmap.h
parentAdded missing "Colors", Documented the code + Cleanup. (diff)
downloadcuberite-209ad8702634e72d8cb528d3df181e2300a31115.tar
cuberite-209ad8702634e72d8cb528d3df181e2300a31115.tar.gz
cuberite-209ad8702634e72d8cb528d3df181e2300a31115.tar.bz2
cuberite-209ad8702634e72d8cb528d3df181e2300a31115.tar.lz
cuberite-209ad8702634e72d8cb528d3df181e2300a31115.tar.xz
cuberite-209ad8702634e72d8cb528d3df181e2300a31115.tar.zst
cuberite-209ad8702634e72d8cb528d3df181e2300a31115.zip
Diffstat (limited to 'BiomeVisualiser/Pixmap.h')
-rw-r--r--BiomeVisualiser/Pixmap.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/BiomeVisualiser/Pixmap.h b/BiomeVisualiser/Pixmap.h
deleted file mode 100644
index d0159a886..000000000
--- a/BiomeVisualiser/Pixmap.h
+++ /dev/null
@@ -1,39 +0,0 @@
-
-// Pixmap.h
-
-// Declares a cPixmap class that represents a RGB pixmap and allows simple operations on it
-
-#pragma once
-
-
-
-
-
-class cPixmap
-{
-public:
- cPixmap(void);
- cPixmap(int a_Width, int a_Height);
- ~cPixmap();
-
- void SetSize(int a_Width, int a_Height);
-
- int GetWidth (void) const { return m_Width; }
- int GetHeight(void) const { return m_Height; }
-
- void SetPixel(int a_X, int a_Y, int a_Color);
- int GetPixel(int a_X, int a_Y) const;
- void Fill(int a_Color);
-
- void DrawToDC(HDC a_DC, int a_OriginX, int a_OriginY);
-
-protected:
- int m_Width;
- int m_Height;
- int m_Stride;
- int * m_Pixels;
-} ;
-
-
-
-