-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.h
74 lines (69 loc) · 2.02 KB
/
main.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#ifndef mainH
#define mainH
#include <System.Classes.hpp>
#include <System.StrUtils.hpp>
#include <System.RegularExpressions.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.Forms.hpp>
#include <Vcl.Grids.hpp>
#include <Vcl.ValEdit.hpp>
#include <Vcl.ComCtrls.hpp>
#include <Vcl.ExtCtrls.hpp>
#include <Vcl.Imaging.pngimage.hpp>
#include <Vcl.Graphics.hpp>
#include <Vcl.ImgList.hpp>
#include <Vcl.FileCtrl.hpp>
#include <Vcl.Menus.hpp>
#include <System.ImageList.hpp>
#include <Vcl.ToolWin.hpp>
#include "ROM.h"
class TfrsMain : public TForm
{
__published:
TMemo *DebugInfo;
TButton *btn_LoadROM;
TImage *img_Header;
TListView *Levels;
TButton *btn_ExportLevels;
TButton *btn_ImportLevels;
TCheckBox *chk_DebugInfo;
TImage *img_Icon;
TImageList *img_Levels;
TValueListEditor *ROMInfo;
TPopupMenu *mnu_Levels;
TMenuItem *mo_SelectAllLevels;
TMenuItem *mo_ImportLevel;
TMenuItem *mo_ExportLevel;
TButton *btn_SaveROM;
TMenuItem *mo_ClearLevel;
TButton *btn_ClearLevels;
TButton *btn_ExportEntrances;
TButton *btn_ImportEntrances;
TButton *btn_Patches;
TProgressBar *Progress;
TImageList *img_Buttons;
void __fastcall ev_LoadROM(TObject *Sender);
void __fastcall ev_ToggleDebugInfo(TObject *Sender);
void __fastcall ev_OpenAbout(TObject *Sender);
void __fastcall ev_ExportLevels(TObject *Sender);
void __fastcall ev_ImportLevels(TObject *Sender);
void __fastcall ev_SelectAllLevels(TObject *Sender);
void __fastcall ev_ImportLevel(TObject *Sender);
void __fastcall ev_ExportLevel(TObject *Sender);
void __fastcall ev_SaveROM(TObject *Sender);
void __fastcall ev_ClearLevel(TObject *Sender);
void __fastcall ev_ClearLevels(TObject *Sender);
void __fastcall ev_ExportEntrances(TObject *Sender);
void __fastcall ev_ImportEntrances(TObject *Sender);
void __fastcall ev_Patches(TObject *Sender);
private:
TStringList *FileList;
public:
__fastcall TfrsMain(TComponent* Owner);
void __fastcall LoadLevels();
UnicodeString AppPath, LastDir, FileName;
ROMFile *ROM;
};
extern PACKAGE TfrsMain *frsMain;
#endif