/* Hyperbolic Tessellations Copyright (C) 2007 Dmitry Brant http://dmitrybrant.com This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ //--------------------------------------------------------------------------- #ifndef ToolWinH #define ToolWinH //--------------------------------------------------------------------------- #include #include #include #include #include #include #include //--------------------------------------------------------------------------- class TfrmChild; class TfrmTools : public TForm { __published: // IDE-managed Components TPageControl *PageControl1; TTabSheet *TabSheet1; TTabSheet *TabSheet2; TLabel *Label1; TLabel *Label2; TLabel *Label3; TLabel *Label8; TLabel *Label9; TLabel *Label10; TEdit *txtP; TUpDown *udP; TEdit *txtQ; TUpDown *udQ; TEdit *txtMaxIso; TUpDown *udIso; TComboBox *comboDriver; TCheckBox *chkAntiAlias; TEdit *txtLineThickness; TUpDown *udLineThick; TComboBox *cbTruncation; TRadioGroup *rgModel; TGroupBox *GroupBox1; TShape *shpPrimal; TLabel *Label4; TShape *shpDual; TLabel *Label5; TShape *shpBack; TLabel *Label6; TShape *shpBoundary; TLabel *Label7; TShape *shpSnub; TLabel *Label11; TCheckBox *chkEnablePrimal; TCheckBox *chkEnableDual; TCheckBox *chkEnableSnub; TCheckBox *chkEnableBoundary; TRadioGroup *rgQuality; TColorDialog *ColorDialog1; TLabel *Label12; TEdit *txtWythoff0; TEdit *txtWythoff1; TEdit *txtWythoff2; TRadioGroup *rgSnubParity; TCheckBox *chkLabelVerts; TCheckBox *chkRandomJitter; TCheckBox *chkAlternateDraw; TCheckBox *chkLabelSegments; TCheckBox *chkDrawGrid; TCheckBox *chkDrawSchwarzPolygon; TButton *cmdResetOrientation; TButton *cmdMakeSnubUniform; TCheckBox *chkFadeOutColors; TCheckBox *chkDrawExperimental; TCheckBox *chkTriangle1; TCheckBox *chkTriangle2; void __fastcall txtPChange(TObject *Sender); void __fastcall txtQChange(TObject *Sender); void __fastcall txtMaxIsoChange(TObject *Sender); void __fastcall simpleChange(TObject *Sender); void __fastcall shpMouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y); void __fastcall txtLineThicknessChange(TObject *Sender); void __fastcall cmdResetOrientationClick(TObject *Sender); void __fastcall cmdMakeSnubUniformClick(TObject *Sender); private: // User declarations TfrmChild* myForm; public: // User declarations void AssignChild(TfrmChild* frm); void SetChild(TfrmChild* frm); void RemoveChild(TfrmChild* frm); __fastcall TfrmTools(TComponent* Owner); }; //--------------------------------------------------------------------------- extern PACKAGE TfrmTools *frmTools; //--------------------------------------------------------------------------- #endif