-
Notifications
You must be signed in to change notification settings - Fork 2
/
SettingsForm.h
144 lines (143 loc) · 4.76 KB
/
SettingsForm.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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
//$$---- Form HDR ----
//---------------------------------------------------------------------------
#ifndef SettingsFormH
#define SettingsFormH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "RzLabel.hpp"
#include "RzPanel.hpp"
#include <ExtCtrls.hpp>
#include <Graphics.hpp>
#include "RzTreeVw.hpp"
#include <ComCtrls.hpp>
#include "RzButton.hpp"
#include "RzRadChk.hpp"
#include "RzCmboBx.hpp"
#include <Dialogs.hpp>
//---------------------------------------------------------------------------
class TSettingsFormClass : public TForm
{
__published: // IDE-managed Components
TRzPanel *SettingsPanel;
TRzSpacer *HeaderTopSpacer;
TRzSpacer *MiddleSpacer;
TRzSpacer *HeaderBottomSpacer;
TRzSpacer *LeftSpacer;
TRzSpacer *RightSpacer;
TRzSpacer *HeaderMiddleSpacer;
TRzPanel *TopPanel;
TRzLabel *SettingsLabel;
TImage *SettingsImage;
TRzPanel *RightPanel;
TRzPanel *RightTopPanel;
TRzLabel *CaptionLabel;
TRzPanel *GeneralPanel;
TRzPanel *BottomPanel;
TRzSpacer *BottomLeftSpacer;
TRzPanel *ButtonsPanel;
TRzSpacer *RzSpacer1;
TRzButton *DefaultsButton;
TRzButton *ApplyButton;
TRzButton *OkButton;
TRzButton *CancelButton;
TRzButton *HelpButton;
TFontDialog *FontDialog;
TRzLabel *CloseLabel;
TImage *CloseImage;
TRzPanel *LeftPanel;
TRzPanel *DesignPanel;
TRzPanel *HotKeyPanel;
TRzGroupBox *RzGroupBox5;
TRzCheckBox *AltCheckBox;
TRzCheckBox *ShiftCheckBox;
TRzGroupBox *RzGroupBox6;
TRzCheckBox *ServicePanelCheckBox;
TRzCheckBox *InformationPanelCheckBox;
TRzCheckBox *FindPanelCheckBox;
TRzGroupBox *RzGroupBox2;
TRzGroupBox *RzGroupBox1;
TRzLabel *ListFontLabel;
TRzPanel *HeaderPanel;
TImage *GeneralMenuImage;
TRzLabel *GeneralLabel;
TRzSpacer *RzSpacer2;
TImage *HotKeyMenuImage;
TRzLabel *HotKeyLabel;
TRzSpacer *RzSpacer3;
TImage *DesignMenuImage;
TRzLabel *DesignLabel;
TImage *CaptionImage;
TRzPanel *ListFontPanel;
TRzLabel *ListSizeLabel;
TRzLabel *RzLabel7;
TRzPanel *ListColorPanel;
TRzLabel *RzLabel3;
TRzPanel *DefaultListFontPanel;
TRzGroupBox *RzGroupBox3;
TRzLabel *EditSizeLabel;
TRzLabel *RzLabel5;
TRzLabel *RzLabel6;
TRzGroupBox *RzGroupBox4;
TRzLabel *EditFontLabel;
TRzPanel *EditFontPanel;
TRzPanel *EditColorPanel;
TRzPanel *DefaultEditFontPanel;
TRzGroupBox *RzGroupBox7;
TRzLabel *CardSizeLabel;
TRzLabel *RzLabel11;
TRzGroupBox *RzGroupBox8;
TRzLabel *CardFontLabel;
TRzPanel *CardFontPanel;
TRzPanel *DefaultCardFontPanel;
TRzGroupBox *RzGroupBox9;
TRzCheckBox *UseAltCheckBox;
void __fastcall CloseLabelClick(TObject *Sender);
void __fastcall TopPanelMouseDown(TObject *Sender, TMouseButton Button,
TShiftState Shift, int X, int Y);
void __fastcall TopPanelMouseUp(TObject *Sender, TMouseButton Button,
TShiftState Shift, int X, int Y);
void __fastcall TopPanelMouseMove(TObject *Sender, TShiftState Shift, int X,
int Y);
void __fastcall FormShow(TObject *Sender);
void __fastcall GeneralMenuImageClick(TObject *Sender);
void __fastcall HotKeyMenuImageClick(TObject *Sender);
void __fastcall DesignMenuImageClick(TObject *Sender);
void __fastcall ListFontPanelClick(TObject *Sender);
void __fastcall ListColorPanelClick(TObject *Sender);
void __fastcall DefaultListFontPanelClick(TObject *Sender);
void __fastcall EditFontPanelClick(TObject *Sender);
void __fastcall EditColorPanelClick(TObject *Sender);
void __fastcall DefaultEditFontPanelClick(TObject *Sender);
void __fastcall CardFontPanelClick(TObject *Sender);
void __fastcall DefaultCardFontPanelClick(TObject *Sender);
void __fastcall DefaultsButtonClick(TObject *Sender);
void __fastcall HelpButtonClick(TObject *Sender);
void __fastcall OkButtonClick(TObject *Sender);
void __fastcall ApplyButtonClick(TObject *Sender);
void __fastcall LayoutCheckBoxClick(TObject *Sender);
void __fastcall GeneralMenuImageMouseEnter(TObject *Sender);
void __fastcall HotKeyMenuImageMouseEnter(TObject *Sender);
void __fastcall DesignMenuImageMouseEnter(TObject *Sender);
void __fastcall GeneralMenuImageMouseLeave(TObject *Sender);
void __fastcall CloseLabelMouseEnter(TObject *Sender);
void __fastcall FormDestroy(TObject *Sender);
private: // User declarations
TFont *PFont;
bool bottonPressed;
int prevX, prevY;
TColor List1Color, Edit1Color;
TFont *ListFont, *EditFont, *CardFont;
void ChangeGUIStyle();
void SetLinkCursor(TControl *Control);
void SetActivePanel(int PanelID);
void SaveSettings(bool Close);
public: // User declarations
__fastcall TSettingsFormClass(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TSettingsFormClass *SettingsFormClass;
//---------------------------------------------------------------------------
#endif