MeshLib Documentation
Loading...
Searching...
No Matches
MRSelectObjectByClick.h
Go to the documentation of this file.
1#pragma once
3
4namespace MR
5{
6
7class Object;
8
11 MouseDownListener,
12 MouseUpListener,
13 MouseMoveListener
14 >,
16{
17public:
19
20 virtual bool blocking() const override { return false; };
21
22 virtual void drawDialog( float, ImGuiContext* ) override;
23private:
24 virtual bool onMouseDown_( MouseButton button, int modifiers ) override;
25 virtual bool onMouseUp_( MouseButton button, int modifiers ) override;
26 virtual bool onMouseMove_( int x, int y ) override;
27
28 void select_( bool up );
29
30 bool picked_{ false };
31 bool ctrl_{ false };
32};
33
34}
Definition MRStatePluginUpdate.h:91
Definition MRSelectObjectByClick.h:16
virtual void drawDialog(float, ImGuiContext *) override
virtual bool blocking() const override
Definition MRSelectObjectByClick.h:20
Definition MRViewerFwd.h:60
Definition MRCameraOrientationPlugin.h:8
MouseButton
Definition MRMouse.h:9