1 #ifndef OSMSCOUT_MAP_MAPPAINTERGDIWINDOW_H 2 #define OSMSCOUT_MAP_MAPPAINTERGDIWINDOW_H 26 #define WIN32_LEAN_AND_MEAN 82 bool CreateCanvas(
const StyleConfigRef& styleConfig, RECT position, HWND hWndParent = NULL, HINSTANCE hInstance = NULL);
95 virtual LRESULT OnWinMsg(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
102 virtual void OnTileUpdate();
111 void Set(
osmscout::Projection* pProjection, osmscout::MapParameter* pParameter, osmscout::MapData* pData);
119 void MoveWindow(RECT position,
bool bRepaint =
true);
125 void InvalidateWindow();
132 LRESULT CALLBACK WinMsgHandler(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
Definition: MapPainterGDIWindow.h:36
#define OSMSCOUT_MAP_GDI_API
Definition: MapGDIImportExport.h:43
osmscout::MapParameter * m_pParameter
Definition: MapPainterGDIWindow.h:48
HINSTANCE m_hInstance
Definition: MapPainterGDIWindow.h:42
Definition: Projection.h:43
osmscout::Projection * m_pProjection
Definition: MapPainterGDIWindow.h:47
Definition: MapPainterGDI.h:37
std::shared_ptr< StyleConfig > StyleConfigRef
Definition: StyleConfig.h:849
osmscout::MapPainterGDI * m_pPainter
Definition: MapPainterGDIWindow.h:45
HWND m_hWnd
Definition: MapPainterGDIWindow.h:43
osmscout::MapData * m_pData
Definition: MapPainterGDIWindow.h:49
HWND m_hWndParent
Definition: MapPainterGDIWindow.h:44