Mercurial > hg > orthanc-stone
view Deprecated/Samples/Qt/Scene2DInteractor.h @ 1453:2a11bbf7f6b0
trying to fix ubuntu 16.04 build
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 06 Jun 2020 10:52:17 +0200 |
parents | 65e1e4b08302 |
children | 828a9b4ee1b7 |
line wrap: on
line source
#pragma once #include "../../Applications/Generic/Scene2DInteractor.h" #include "../../Framework/Scene2DViewport/IFlexiblePointerTracker.h" class BasicScene2DInteractor : public OrthancStone::Scene2DInteractor { boost::shared_ptr<OrthancStone::IFlexiblePointerTracker> currentTracker_; public: BasicScene2DInteractor(boost::shared_ptr<OrthancStone::ViewportController> viewportController) : Scene2DInteractor(viewportController) {} virtual bool OnMouseEvent(const OrthancStone::GuiAdapterMouseEvent& event, const OrthancStone::PointerEvent& pointerEvent) override; virtual bool OnKeyboardEvent(const OrthancStone::GuiAdapterKeyboardEvent& guiEvent); virtual bool OnWheelEvent(const OrthancStone::GuiAdapterWheelEvent& guiEvent); };