From e3a2dc5a1391d8aaaa3fdb83e946838540a07e75 Mon Sep 17 00:00:00 2001 From: Mattes D Date: Sun, 14 Sep 2014 01:32:00 +0200 Subject: Added new Qt-based biome visualiser. Compile with Qt 5.1+ --- Tools/BiomeVisualiser/BiomeViewWnd.h | 69 ------------------------------------ 1 file changed, 69 deletions(-) delete mode 100644 Tools/BiomeVisualiser/BiomeViewWnd.h (limited to 'Tools/BiomeVisualiser/BiomeViewWnd.h') diff --git a/Tools/BiomeVisualiser/BiomeViewWnd.h b/Tools/BiomeVisualiser/BiomeViewWnd.h deleted file mode 100644 index 70c5e38f2..000000000 --- a/Tools/BiomeVisualiser/BiomeViewWnd.h +++ /dev/null @@ -1,69 +0,0 @@ - -// BiomeViewWnd.h - -// Declares the cBiomeViewWnd class representing the window that displays biomes - - - - - -#pragma once - -#include "WndProcThunk.h" -#include "BiomeRenderer.h" -#include "BiomeCache.h" -#include "Pixmap.h" - - - - - -// fwd: -class cBiomeGen; - - - - - -class cBiomeViewWnd -{ -public: - cBiomeViewWnd(void); - - bool Create(HWND a_ParentWnd, LPCTSTR a_Title); - -protected: - HWND m_Wnd; - CWndProcThunk m_Thunk; - - cBiomeRenderer m_Renderer; - cPixmap m_Pixmap; - - /// The generator that is to be visualised - cBiomeGen * m_BiomeGen; - - bool m_IsLButtonDown; - POINT m_MouseDown; - - - void InitBiomeView(void); - - void SetZoom(int a_NewZoom); - void Redraw(void); - - LRESULT WndProc(HWND a_Wnd, UINT a_Msg, WPARAM wParam, LPARAM lParam); - - // Message handlers: - LRESULT OnChar (WPARAM wParam, LPARAM lParam); - LRESULT OnClose (void); - LRESULT OnCommand (WPARAM wParam, LPARAM lParam); - LRESULT OnLButtonDown(WPARAM wParam, LPARAM lParam); - LRESULT OnMouseMove (WPARAM wParam, LPARAM lParam); - LRESULT OnLButtonUp (WPARAM wParam, LPARAM lParam); - LRESULT OnPaint (void); - LRESULT OnTimer (WPARAM wParam); -} ; - - - - -- cgit v1.2.3