1#ifndef OSMSCOUT_MAP_MAPPAINTERGDIWINDOW_H
2#define OSMSCOUT_MAP_MAPPAINTERGDIWINDOW_H
93 virtual LRESULT
OnWinMsg(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
130 LRESULT CALLBACK
WinMsgHandler(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
#define OSMSCOUT_MAP_GDI_API
Definition MapGDIImportExport.h:43
Definition MapPainterGDI.h:30
osmscout::MapPainterGDI * m_pPainter
Definition MapPainterGDIWindow.h:40
virtual LRESULT OnWinMsg(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
Function for Windows message handling.
HINSTANCE m_hInstance
Definition MapPainterGDIWindow.h:37
MapPainterGDIWindow()
Default constructor.
void InvalidateWindow()
Declares the window invalid and initiates a redraw.
LRESULT CALLBACK WinMsgHandler(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
Windows message handler function.
bool CreateCanvas(const StyleConfigRef &styleConfig, RECT position, HWND hWndParent=nullptr, HINSTANCE hInstance=nullptr)
Creates the drawing window.
void MoveWindow(RECT position, bool bRepaint=true)
Move current window.
virtual void OnTileUpdate()
Function to update tile data.
HWND m_hWndParent
Definition MapPainterGDIWindow.h:39
osmscout::MapParameter * m_pParameter
Definition MapPainterGDIWindow.h:43
HWND m_hWnd
Definition MapPainterGDIWindow.h:38
osmscout::Projection * m_pProjection
Definition MapPainterGDIWindow.h:42
void Set(osmscout::Projection *pProjection, osmscout::MapParameter *pParameter, osmscout::MapData *pData)
Sets data and settings for rendering.
osmscout::MapData * m_pData
Definition MapPainterGDIWindow.h:44
~MapPainterGDIWindow()
Default destructor.
MapPainterGDIWindow(const StyleConfigRef &styleConfig, RECT position, HWND hWndParent, HINSTANCE hInstance=nullptr)
Default constructor.
Definition Projection.h:46
std::shared_ptr< StyleConfig > StyleConfigRef
Definition StyleConfig.h:859