mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 22:20:04 +00:00
Mouse picking boilerplate
This commit is contained in:
parent
c7487281ad
commit
38b56be7c4
10 changed files with 115 additions and 17 deletions
|
|
@ -18,9 +18,13 @@ public:
|
|||
explicit DrawLayer(const std::shared_ptr<MapContext>& context);
|
||||
virtual ~DrawLayer();
|
||||
|
||||
virtual void Initialize();
|
||||
virtual void Render(const QMapLibreGL::CustomLayerRenderParameters&);
|
||||
virtual void Deinitialize();
|
||||
virtual void Initialize() override;
|
||||
virtual void
|
||||
Render(const QMapLibreGL::CustomLayerRenderParameters&) override;
|
||||
virtual void Deinitialize() override;
|
||||
|
||||
virtual bool RunMousePicking(
|
||||
const QMapLibreGL::CustomLayerRenderParameters& params) override;
|
||||
|
||||
protected:
|
||||
void AddDrawItem(const std::shared_ptr<gl::draw::DrawItem>& drawItem);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue