Фигуры: группировка (Shift+ЛКМ, Ctrl+G), линии связи группы
This commit is contained in:
parent
a5dbf9d3a2
commit
8d3c7f7501
1 changed files with 422 additions and 112 deletions
|
|
@ -8,7 +8,6 @@
|
|||
#include <Vcl.Forms.hpp>
|
||||
#include <Vcl.ComCtrls.hpp>
|
||||
#include <Vcl.ExtCtrls.hpp>
|
||||
#include "BaseFigure.h"
|
||||
|
||||
class TfrmBounds : public TForm
|
||||
{
|
||||
|
|
@ -34,10 +33,12 @@ __published:
|
|||
void __fastcall btnOkClick(TObject *Sender);
|
||||
private:
|
||||
void Put(TEdit *e, TUpDown *ud, int v);
|
||||
int minW, maxW, minH, maxH;
|
||||
bool Valid(TEdit *e, String what, int a, int b);
|
||||
public:
|
||||
__fastcall TfrmBounds(TComponent* Owner);
|
||||
bool Edit(TFigure *f);
|
||||
bool Edit(String title, int &x, int &y, int &w, int &h,
|
||||
int wMin, int wMax, int hMin, int hMax);
|
||||
};
|
||||
|
||||
extern PACKAGE TfrmBounds *frmBounds;
|
||||
|
|
|
|||
Loading…
Reference in a new issue