Basic classes and window layout
This commit is contained in:
commit
a9c7952f5c
10 changed files with 706 additions and 0 deletions
24
line.h
Normal file
24
line.h
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
#ifndef LINE_H
|
||||
#define LINE_H
|
||||
|
||||
#include <QString>
|
||||
|
||||
class Line
|
||||
{
|
||||
public:
|
||||
Line();
|
||||
void setStartPoint(int x, int y);
|
||||
void setEndPoint(int x, int y);
|
||||
void setColor(QString color);
|
||||
int getStartX();
|
||||
int getStartY();
|
||||
int getEndX();
|
||||
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