summaryrefslogtreecommitdiff
path: root/kurator/src/Mouse.h
blob: 81afe2cdce09dfa2d92d405831495314540771c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#pragma once

#include <kurator/engine/Point.h>
#include <kurator/engine/Rect.h>


namespace kurator
{


class Mouse
{
public:
	Mouse();
	void update();
	engine::Point position() const;
	engine::Rect selection() const;
	bool is_dragging() const;
private:
	engine::Point start_;
};


}  // namespace kurator