Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
5e527b5b
Commit
5e527b5b
authored
19 years ago
by
rswindell
Browse files
Options
Downloads
Patches
Plain Diff
Lots of updates to the "About" dialog box (new image, etc.).
parent
61c2c4e3
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/sbbs3/ctrl/AboutBoxFormUnit.cpp
+18
-12
18 additions, 12 deletions
src/sbbs3/ctrl/AboutBoxFormUnit.cpp
src/sbbs3/ctrl/AboutBoxFormUnit.dfm
+13352
-2615
13352 additions, 2615 deletions
src/sbbs3/ctrl/AboutBoxFormUnit.dfm
src/sbbs3/ctrl/AboutBoxFormUnit.h
+3
-2
3 additions, 2 deletions
src/sbbs3/ctrl/AboutBoxFormUnit.h
with
13373 additions
and
2629 deletions
src/sbbs3/ctrl/AboutBoxFormUnit.cpp
+
18
−
12
View file @
5e527b5b
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
* @format.tab-size 4 (Plain Text/Source Code File Header) *
* @format.tab-size 4 (Plain Text/Source Code File Header) *
* @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) *
* @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) *
* *
* *
* Copyright 200
4
Rob Swindell - http://www.synchro.net/copyright.html *
* Copyright 200
6
Rob Swindell - http://www.synchro.net/copyright.html *
* *
* *
* This program is free software; you can redistribute it and/or *
* This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License *
* modify it under the terms of the GNU General Public License *
...
@@ -56,7 +56,7 @@ __fastcall TAboutBoxForm::TAboutBoxForm(TComponent* Owner)
...
@@ -56,7 +56,7 @@ __fastcall TAboutBoxForm::TAboutBoxForm(TComponent* Owner)
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
void
__fastcall
TAboutBoxForm
::
FormShow
(
TObject
*
Sender
)
void
__fastcall
TAboutBoxForm
::
FormShow
(
TObject
*
Sender
)
{
{
Memo
->
Lines
->
Clear
();
Credits
->
Lines
->
Clear
();
DWORD
i
;
DWORD
i
;
unsigned
int
len
=
GetFileVersionInfoSize
(
unsigned
int
len
=
GetFileVersionInfoSize
(
...
@@ -65,7 +65,7 @@ void __fastcall TAboutBoxForm::FormShow(TObject *Sender)
...
@@ -65,7 +65,7 @@ void __fastcall TAboutBoxForm::FormShow(TObject *Sender)
);
);
BYTE
*
buf
=
(
BYTE
*
)
malloc
(
len
);
BYTE
*
buf
=
(
BYTE
*
)
malloc
(
len
);
if
(
buf
==
NULL
)
{
if
(
buf
==
NULL
)
{
Memo
->
Lines
->
Add
(
"MALLOC ERROR!"
);
Credits
->
Lines
->
Add
(
"MALLOC ERROR!"
);
return
;
return
;
}
}
GetFileVersionInfo
(
GetFileVersionInfo
(
...
@@ -104,15 +104,15 @@ void __fastcall TAboutBoxForm::FormShow(TObject *Sender)
...
@@ -104,15 +104,15 @@ void __fastcall TAboutBoxForm::FormShow(TObject *Sender)
,
__DATE__
,
__TIME__
,
compiler
,
__DATE__
,
__TIME__
,
compiler
);
);
Memo
->
Lines
->
Add
(
bbs_ver
());
Credits
->
Lines
->
Add
(
bbs_ver
());
Memo
->
Lines
->
Add
(
mail_ver
());
Credits
->
Lines
->
Add
(
mail_ver
());
Memo
->
Lines
->
Add
(
ftp_ver
());
Credits
->
Lines
->
Add
(
ftp_ver
());
Memo
->
Lines
->
Add
(
web_ver
());
Credits
->
Lines
->
Add
(
web_ver
());
Memo
->
Lines
->
Add
(
services_ver
());
Credits
->
Lines
->
Add
(
services_ver
());
Memo
->
Lines
->
Add
(
ver
);
Credits
->
Lines
->
Add
(
ver
);
Memo
->
Lines
->
Add
(
"Synchronet Local Spy ANSI Terminal Emulation"
Credits
->
Lines
->
Add
(
"Synchronet Local Spy ANSI Terminal Emulation"
+
CopyRight
);
+
CopyRight
);
Memo
->
Lines
->
Add
(
AnsiString
(
js_ver
())
Credits
->
Lines
->
Add
(
AnsiString
(
js_ver
())
+
" (c) 1998 Netscape Communications Corp."
);
+
" (c) 1998 Netscape Communications Corp."
);
}
}
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
...
@@ -124,7 +124,13 @@ void __fastcall TAboutBoxForm::WebPageLabelClick(TObject *Sender)
...
@@ -124,7 +124,13 @@ void __fastcall TAboutBoxForm::WebPageLabelClick(TObject *Sender)
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
void
__fastcall
TAboutBoxForm
::
LogoClick
(
TObject
*
Sender
)
void
__fastcall
TAboutBoxForm
::
LogoClick
(
TObject
*
Sender
)
{
{
ShellExecute
(
Handle
,
"open"
,
"http://www.synchro.net"
,
ShellExecute
(
Handle
,
"open"
,
((
TImage
*
)
Sender
)
->
Hint
.
c_str
(),
NULL
,
NULL
,
SW_SHOWDEFAULT
);
}
//---------------------------------------------------------------------------
void
__fastcall
TAboutBoxForm
::
CreditsClick
(
TObject
*
Sender
)
{
ShellExecute
(
Handle
,
"open"
,
((
TMemo
*
)
Sender
)
->
Hint
.
c_str
(),
NULL
,
NULL
,
SW_SHOWDEFAULT
);
NULL
,
NULL
,
SW_SHOWDEFAULT
);
}
}
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
src/sbbs3/ctrl/AboutBoxFormUnit.dfm
+
13352
−
2615
View file @
5e527b5b
Source diff could not be displayed: it is too large. Options to address this:
view the blob
.
This diff is collapsed.
Click to expand it.
src/sbbs3/ctrl/AboutBoxFormUnit.h
+
3
−
2
View file @
5e527b5b
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
* @format.tab-size 4 (Plain Text/Source Code File Header) *
* @format.tab-size 4 (Plain Text/Source Code File Header) *
* @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) *
* @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) *
* *
* *
* Copyright 200
0
Rob Swindell - http://www.synchro.net/copyright.html *
* Copyright 200
6
Rob Swindell - http://www.synchro.net/copyright.html *
* *
* *
* This program is free software; you can redistribute it and/or *
* This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License *
* modify it under the terms of the GNU General Public License *
...
@@ -51,12 +51,13 @@ __published: // IDE-managed Components
...
@@ -51,12 +51,13 @@ __published: // IDE-managed Components
TBevel
*
Bevel
;
TBevel
*
Bevel
;
TImage
*
Logo
;
TImage
*
Logo
;
TStaticText
*
CopyrightLabel
;
TStaticText
*
CopyrightLabel
;
TMemo
*
Memo
;
TMemo
*
Credits
;
TStaticText
*
NameLabel
;
TStaticText
*
NameLabel
;
TStaticText
*
WebSiteLabel
;
TStaticText
*
WebSiteLabel
;
void
__fastcall
FormShow
(
TObject
*
Sender
);
void
__fastcall
FormShow
(
TObject
*
Sender
);
void
__fastcall
WebPageLabelClick
(
TObject
*
Sender
);
void
__fastcall
WebPageLabelClick
(
TObject
*
Sender
);
void
__fastcall
LogoClick
(
TObject
*
Sender
);
void
__fastcall
LogoClick
(
TObject
*
Sender
);
void
__fastcall
CreditsClick
(
TObject
*
Sender
);
private:
// User declarations
private:
// User declarations
public:
// User declarations
public:
// User declarations
__fastcall
TAboutBoxForm
(
TComponent
*
Owner
);
__fastcall
TAboutBoxForm
(
TComponent
*
Owner
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment