diff --git a/src/sbbs3/ctrl/PropertiesDlgUnit.cpp b/src/sbbs3/ctrl/PropertiesDlgUnit.cpp new file mode 100644 index 0000000000000000000000000000000000000000..3fab04b6d0d1e5cade33c7cd21f8a73ca5f2aa3d --- /dev/null +++ b/src/sbbs3/ctrl/PropertiesDlgUnit.cpp @@ -0,0 +1,14 @@ +//--------------------------------------------------------------------- +#include <vcl.h> +#pragma hdrstop + +#include "PropertiesDlgUnit.h" +//--------------------------------------------------------------------- +#pragma resource "*.dfm" +TPropertiesDlg *PropertiesDlg; +//--------------------------------------------------------------------- +__fastcall TPropertiesDlg::TPropertiesDlg(TComponent* AOwner) + : TForm(AOwner) +{ +} +//--------------------------------------------------------------------- diff --git a/src/sbbs3/ctrl/PropertiesDlgUnit.dfm b/src/sbbs3/ctrl/PropertiesDlgUnit.dfm new file mode 100644 index 0000000000000000000000000000000000000000..66c53b3e336e34960758c9fcfcd5731fd6ffc206 --- /dev/null +++ b/src/sbbs3/ctrl/PropertiesDlgUnit.dfm @@ -0,0 +1,112 @@ +object PropertiesDlg: TPropertiesDlg + Left = 624 + Top = 451 + BorderStyle = bsDialog + Caption = 'Control Panel Properties' + ClientHeight = 198 + ClientWidth = 433 + Color = clBtnFace + ParentFont = True + OldCreateOrder = True + Position = poScreenCenter + PixelsPerInch = 120 + TextHeight = 16 + object Bevel1: TBevel + Left = 10 + Top = 10 + Width = 306 + Height = 174 + Anchors = [akLeft, akTop, akRight, akBottom] + Shape = bsFrame + end + object Label1: TLabel + Left = 24 + Top = 88 + Width = 110 + Height = 24 + AutoSize = False + Caption = 'Control Directory' + end + object Label2: TLabel + Left = 24 + Top = 56 + Width = 110 + Height = 24 + AutoSize = False + Caption = 'Config Command' + end + object Label3: TLabel + Left = 24 + Top = 24 + Width = 110 + Height = 24 + AutoSize = False + Caption = 'Login Command' + end + object Label4: TLabel + Left = 24 + Top = 120 + Width = 225 + Height = 24 + AutoSize = False + Caption = 'Node Display Interval (in seconds)' + end + object OKBtn: TButton + Left = 329 + Top = 10 + Width = 93 + Height = 31 + Anchors = [akTop, akRight] + Caption = 'OK' + Default = True + ModalResult = 1 + TabOrder = 5 + end + object CancelBtn: TButton + Left = 329 + Top = 47 + Width = 93 + Height = 31 + Anchors = [akTop, akRight] + Cancel = True + Caption = 'Cancel' + ModalResult = 2 + TabOrder = 6 + end + object CtrlDirEdit: TEdit + Left = 136 + Top = 88 + Width = 169 + Height = 24 + TabOrder = 2 + end + object ConfigCmdEdit: TEdit + Left = 136 + Top = 56 + Width = 169 + Height = 24 + TabOrder = 1 + end + object LoginCmdEdit: TEdit + Left = 136 + Top = 24 + Width = 169 + Height = 24 + TabOrder = 0 + end + object TrayIconCheckBox: TCheckBox + Left = 24 + Top = 152 + Width = 281 + Height = 24 + Caption = 'Minimize to System Tray' + TabOrder = 4 + end + object NodeIntEdit: TEdit + Left = 256 + Top = 120 + Width = 49 + Height = 24 + TabOrder = 3 + end +end diff --git a/src/sbbs3/ctrl/PropertiesDlgUnit.h b/src/sbbs3/ctrl/PropertiesDlgUnit.h new file mode 100644 index 0000000000000000000000000000000000000000..fcc73935576057fe36c2570953da9804fa9b9557 --- /dev/null +++ b/src/sbbs3/ctrl/PropertiesDlgUnit.h @@ -0,0 +1,38 @@ +//---------------------------------------------------------------------------- +#ifndef PropertiesDlgUnitH +#define PropertiesDlgUnitH +//---------------------------------------------------------------------------- +#include <vcl\ExtCtrls.hpp> +#include <vcl\Buttons.hpp> +#include <vcl\StdCtrls.hpp> +#include <vcl\Controls.hpp> +#include <vcl\Forms.hpp> +#include <vcl\Graphics.hpp> +#include <vcl\Classes.hpp> +#include <vcl\SysUtils.hpp> +#include <vcl\Windows.hpp> +#include <vcl\System.hpp> +//---------------------------------------------------------------------------- +class TPropertiesDlg : public TForm +{ +__published: + TButton *OKBtn; + TButton *CancelBtn; + TBevel *Bevel1; + TLabel *Label1; + TEdit *CtrlDirEdit; + TLabel *Label2; + TEdit *ConfigCmdEdit; + TLabel *Label3; + TEdit *LoginCmdEdit; + TCheckBox *TrayIconCheckBox; + TLabel *Label4; + TEdit *NodeIntEdit; +private: +public: + virtual __fastcall TPropertiesDlg(TComponent* AOwner); +}; +//---------------------------------------------------------------------------- +extern PACKAGE TPropertiesDlg *PropertiesDlg; +//---------------------------------------------------------------------------- +#endif