📄 mainfont.h
字号:
//---------------------------------------------------------------------------
#ifndef MainFontH
#define MainFontH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <Dialogs.hpp>
//---------------------------------------------------------------------------
class TMainForm : public TForm
{
__published: // IDE-managed Components
TPanel *Panel1;
TButton *NextButton;
TEdit *Edit1;
TButton *ForwardButton;
TPaintBox *PaintBox1;
TPaintBox *PaintBox2;
TButton *OKButton;
TLabel *Label1;
void __fastcall FormCreate(TObject *Sender);
void __fastcall FormDestroy(TObject *Sender);
void __fastcall NextButtonClick(TObject *Sender);
void __fastcall PaintBox1Paint(TObject *Sender);
void __fastcall ForwardButtonClick(TObject *Sender);
void __fastcall OKButtonClick(TObject *Sender);
private: // User declarations
int iFileHandle;
int iFileLength;
int iBytesRead;
char *pszBuffer; //
long int dptr;
// int file_size;
void __fastcall DrawRect();
void __fastcall PaintFont();
int __fastcall GetWordPtr(int x1,int x2);
public: // User declarations
__fastcall TMainForm(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TMainForm *MainForm;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -