Mouse detection
This commit is contained in:
parent
e24837649c
commit
bcd01a95b3
5 changed files with 163 additions and 16 deletions
6
line.h
6
line.h
|
|
@ -5,6 +5,9 @@
|
|||
|
||||
class Line
|
||||
{
|
||||
private:
|
||||
int startX, startY, endX, endY;
|
||||
QString color;
|
||||
public:
|
||||
Line();
|
||||
void setStartPoint(int x, int y);
|
||||
|
|
@ -16,9 +19,6 @@ public:
|
|||
int getEndY();
|
||||
QString getColor();
|
||||
QString toLuaTable();
|
||||
private:
|
||||
int startX, startY, endX, endY;
|
||||
QString color;
|
||||
};
|
||||
|
||||
#endif // LINE_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue