Фигуры: группировка (Shift+ЛКМ, Ctrl+G), линии связи группы
This commit is contained in:
parent
a5dbf9d3a2
commit
8d3c7f7501
1 changed files with 422 additions and 112 deletions
|
|
@ -20,6 +20,7 @@ protected:
|
|||
int w, h; // ширина и высота
|
||||
TColor fillColor; // цвет заливки
|
||||
TColor lineColor; // цвет обводки
|
||||
int grp; // группа (0 - без группы)
|
||||
|
||||
void SetupCanvas(TCanvas *c);
|
||||
void PaintNumber(TCanvas *c);
|
||||
|
|
@ -46,6 +47,8 @@ public:
|
|||
void MoveTo(int ax, int ay);
|
||||
void SetFill(TColor c);
|
||||
void SetLine(TColor c);
|
||||
int GetGroup();
|
||||
void SetGroup(int g);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue