mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
fix Compatibility button
This commit is contained in:
parent
74f83131cc
commit
b119d3fd9d
@ -21,13 +21,17 @@ void __fastcall TConfigForm::DisplayBtnClick(TObject *Sender)
|
||||
CompatibilityPnl->Visible = false;
|
||||
}
|
||||
|
||||
void __fastcall TConfigForm::AdvSettingsBtnClick(TObject *Sender)
|
||||
void __fastcall TConfigForm::AdvDisplayBtnClick(TObject *Sender)
|
||||
{
|
||||
AdvDisplayPnl->Visible = true;
|
||||
DisplayPnl->Visible = false;
|
||||
CompatibilityPnl->Visible = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
void __fastcall TConfigForm::CompatibilityBtnClick(TObject *Sender)
|
||||
{
|
||||
CompatibilityPnl->Visible = true;
|
||||
AdvDisplayPnl->Visible = false;
|
||||
DisplayPnl->Visible = false;
|
||||
}
|
||||
|
||||
|
@ -2709,7 +2709,7 @@ object ConfigForm: TConfigForm
|
||||
StyleElements = [seFont, seBorder]
|
||||
OnClick = DisplayBtnClick
|
||||
end
|
||||
object AdvSettingsBtn: TSpeedButton
|
||||
object AdvDisplayBtn: TSpeedButton
|
||||
Left = 8
|
||||
Top = 55
|
||||
Width = 171
|
||||
@ -2723,7 +2723,7 @@ object ConfigForm: TConfigForm
|
||||
Font.Name = 'Segoe UI'
|
||||
Font.Style = [fsBold]
|
||||
ParentFont = False
|
||||
OnClick = AdvSettingsBtnClick
|
||||
OnClick = AdvDisplayBtnClick
|
||||
end
|
||||
object CompatibilityBtn: TSpeedButton
|
||||
Left = 8
|
||||
@ -2740,6 +2740,7 @@ object ConfigForm: TConfigForm
|
||||
Font.Style = [fsBold]
|
||||
ParentFont = False
|
||||
Visible = False
|
||||
OnClick = CompatibilityBtnClick
|
||||
end
|
||||
end
|
||||
object CompatibilityPnl: TPanel
|
||||
|
@ -18,7 +18,7 @@ __published: // Von der IDE verwaltete Komponenten
|
||||
TPanel *MenuPnl;
|
||||
TPanel *DisplayPnl;
|
||||
TSpeedButton *DisplayBtn;
|
||||
TSpeedButton *AdvSettingsBtn;
|
||||
TSpeedButton *AdvDisplayBtn;
|
||||
TSpeedButton *CompatibilityBtn;
|
||||
TPanel *AdvDisplayPnl;
|
||||
TPanel *CompatibilityPnl;
|
||||
@ -45,7 +45,8 @@ __published: // Von der IDE verwaltete Komponenten
|
||||
TLabel *BoxingLbl;
|
||||
TToggleSwitch *BoxingChk;
|
||||
void __fastcall DisplayBtnClick(TObject *Sender);
|
||||
void __fastcall AdvSettingsBtnClick(TObject *Sender);
|
||||
void __fastcall AdvDisplayBtnClick(TObject *Sender);
|
||||
void __fastcall CompatibilityBtnClick(TObject *Sender);
|
||||
private: // Benutzer-Deklarationen
|
||||
public: // Benutzer-Deklarationen
|
||||
__fastcall TConfigForm(TComponent* Owner);
|
||||
|
Loading…
x
Reference in New Issue
Block a user