mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 22:20:04 +00:00
Add cursor position (screen coordinates) to mouse picking
This commit is contained in:
parent
f158c4174c
commit
9ebc859756
13 changed files with 55 additions and 23 deletions
|
|
@ -25,7 +25,9 @@ public:
|
|||
|
||||
virtual bool
|
||||
RunMousePicking(const QMapLibreGL::CustomLayerRenderParameters& params,
|
||||
const glm::vec2& mousePos) override;
|
||||
const QPointF& mouseLocalPos,
|
||||
const QPointF& mouseGlobalPos,
|
||||
const glm::vec2& mouseCoords) override;
|
||||
|
||||
protected:
|
||||
void AddDrawItem(const std::shared_ptr<gl::draw::DrawItem>& drawItem);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue