📄 main.~h
字号:
//---------------------------------------------------------------------------
#ifndef mainH
#define mainH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <Buttons.hpp>
#include <Graphics.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published: // IDE-managed Components
TGroupBox *GroupBox1;
TButton *Init;
TButton *Mode;
TCheckBox *ChkX;
TButton *Home;
TButton *Pmove;
TButton *Inp;
TButton *Continue;
TButton *Circle;
TButton *free;
TButton *Stop;
TBitBtn *BitBtn1;
TImage *Image1;
TBitBtn *BitBtn2;
TCheckBox *ChkY;
TCheckBox *ChkZ;
TCheckBox *ChkW;
TGroupBox *G;
TLabel *Label1;
TLabel *Label3;
TLabel *Label4;
TLabel *Label5;
TLabel *Label6;
TLabel *Label7;
TGroupBox *GroupBox2;
TGroupBox *GroupBox3;
TGroupBox *GroupBox4;
TGroupBox *GroupBox5;
TGroupBox *GroupBox6;
TGroupBox *GroupBox7;
TGroupBox *GroupBox8;
TLabel *logx;
TLabel *logy;
TLabel *logz;
TLabel *logw;
TLabel *actx;
TLabel *acty;
TLabel *actz;
TLabel *actw;
TLabel *spdx;
TLabel *spdy;
TLabel *spdz;
TLabel *spdw;
TCheckBox *lmtx0;
TCheckBox *lmtx1;
TCheckBox *orgx;
TCheckBox *orgy;
TCheckBox *lmty1;
TCheckBox *lmty0;
TCheckBox *lmtz0;
TCheckBox *lmtz1;
TCheckBox *orgz;
TCheckBox *orgw;
TCheckBox *lmtw0;
TCheckBox *lmtw1;
TEdit *objx;
TEdit *objy;
TEdit *objw;
TEdit *objz;
TTimer *Timer1;
TLabel *Label2;
TGroupBox *GroupBox9;
TGroupBox *GroupBox10;
TGroupBox *GroupBox11;
TGroupBox *GroupBox12;
TGroupBox *GroupBox13;
TGroupBox *GroupBox14;
void __fastcall FormCreate(TObject *Sender);
void __fastcall InitClick(TObject *Sender);
void __fastcall Timer1Timer(TObject *Sender);
void __fastcall HomeClick(TObject *Sender);
void __fastcall StopClick(TObject *Sender);
void __fastcall PmoveClick(TObject *Sender);
void __fastcall ModeClick(TObject *Sender);
void __fastcall InpClick(TObject *Sender);
void __fastcall ContinueClick(TObject *Sender);
void __fastcall CircleClick(TObject *Sender);
void __fastcall freeClick(TObject *Sender);
// void __fastcall BitBtn1Click(TObject *Sender);
void __fastcall BitBtn1MouseDown(TObject *Sender,
TMouseButton Button, TShiftState Shift, int X, int Y);
void __fastcall BitBtn1MouseUp(TObject *Sender,
TMouseButton Button, TShiftState Shift, int X, int Y);
void __fastcall BitBtn2MouseDown(TObject *Sender,
TMouseButton Button, TShiftState Shift, int X, int Y);
void __fastcall BitBtn2MouseUp(TObject *Sender,
TMouseButton Button, TShiftState Shift, int X, int Y);
// void __fastcall ActionFunction();
private: // User declarations
public: // User declarations
__fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
typedef void (*FUNCTION)();
bool ifRel=true;
int g_WorkStatus;
bool ifHand=false;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -