-
Notifications
You must be signed in to change notification settings - Fork 224
/
Explorer.h
66 lines (64 loc) · 2.42 KB
/
Explorer.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
//---------------------------------------------------------------------------
#ifndef ExplorerH
#define ExplorerH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ComCtrls.hpp>
#include <ExtCtrls.hpp>
#include <Menus.hpp>
#include "TntStdCtrls.hpp"
//---------------------------------------------------------------------------
#define DEFINE_AS_CODE 1
#define DEFINE_AS_STRING 2
#define UNDEFINE 3
class TFExplorer_11011981 : public TForm
{
__published: // IDE-managed Components
TPageControl *pc1;
TTabSheet *tsCode;
TTabSheet *tsData;
TListBox *lbCode;
TListBox *lbData;
TTabSheet *tsString;
TRadioGroup *rgStringViewStyle;
TTabSheet *tsText;
TListBox *lbText;
TPopupMenu *pm1;
TMenuItem *miCopy2Clipboard;
TPanel *Panel2;
TRadioGroup *rgDataViewStyle;
TMemo *lbString;
TPanel *Panel3;
TButton *btnDefCode;
TButton *btnUndefCode;
TPanel *Panel1;
TButton *btnDefString;
TButton *btnUndefString;
void __fastcall btnDefCodeClick(TObject *Sender);
void __fastcall btnUndefCodeClick(TObject *Sender);
void __fastcall rgStringViewStyleClick(TObject *Sender);
void __fastcall miCopy2ClipboardClick(TObject *Sender);
void __fastcall FormKeyDown(TObject *Sender, WORD &Key,
TShiftState Shift);
void __fastcall FormShow(TObject *Sender);
void __fastcall rgDataViewStyleClick(TObject *Sender);
void __fastcall btnDefStringClick(TObject *Sender);
void __fastcall FormCreate(TObject *Sender);
private: // User declarations
DWORD Adr; //Àäðåñ, ñ êîòîðîãî ïîêàçûâàåòñÿ èíôîðìàöèÿ
public: // User declarations
__fastcall TFExplorer_11011981(TComponent* Owner);
void __fastcall ShowCode(DWORD fromAdr, int maxBytes);
void __fastcall ShowData(DWORD fromAdr, int maxBytes);
void __fastcall ShowString(DWORD fromAdr, int maxbytes);
void __fastcall ShowArray(DWORD fromAdr);
int DefineAs; //1- Define as Code, 2 - Undefine
int WAlign; //Alignment for WideString visualization
};
//---------------------------------------------------------------------------
extern PACKAGE TFExplorer_11011981 *FExplorer_11011981;
//---------------------------------------------------------------------------
#endif