diff options
author | Mattes D <github@xoft.cz> | 2014-09-14 01:32:00 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-09-14 01:33:05 +0200 |
commit | e3a2dc5a1391d8aaaa3fdb83e946838540a07e75 (patch) | |
tree | 1a665fcc4ae0ea097ba476f70dddb5ef03539a28 /Tools/BiomeVisualiser/Pixmap.h | |
parent | OSSupport: Fixed UNICODE Windows builds. (diff) | |
download | cuberite-e3a2dc5a1391d8aaaa3fdb83e946838540a07e75.tar cuberite-e3a2dc5a1391d8aaaa3fdb83e946838540a07e75.tar.gz cuberite-e3a2dc5a1391d8aaaa3fdb83e946838540a07e75.tar.bz2 cuberite-e3a2dc5a1391d8aaaa3fdb83e946838540a07e75.tar.lz cuberite-e3a2dc5a1391d8aaaa3fdb83e946838540a07e75.tar.xz cuberite-e3a2dc5a1391d8aaaa3fdb83e946838540a07e75.tar.zst cuberite-e3a2dc5a1391d8aaaa3fdb83e946838540a07e75.zip |
Diffstat (limited to '')
-rw-r--r-- | Tools/BiomeVisualiser/Pixmap.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/Tools/BiomeVisualiser/Pixmap.h b/Tools/BiomeVisualiser/Pixmap.h deleted file mode 100644 index e50f6e946..000000000 --- a/Tools/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; -} ; - - - - |