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
33a7cbff
Commit
33a7cbff
authored
20 years ago
by
rswindell
Browse files
Options
Downloads
Patches
Plain Diff
Add support for customizing the colors and fonts in the Web Server log window.
parent
e2c62df4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/sbbs3/ctrl/PropertiesDlgUnit.cpp
+11
-2
11 additions, 2 deletions
src/sbbs3/ctrl/PropertiesDlgUnit.cpp
src/sbbs3/ctrl/PropertiesDlgUnit.dfm
+7
-6
7 additions, 6 deletions
src/sbbs3/ctrl/PropertiesDlgUnit.dfm
with
18 additions
and
8 deletions
src/sbbs3/ctrl/PropertiesDlgUnit.cpp
+
11
−
2
View file @
33a7cbff
...
...
@@ -7,6 +7,7 @@
#include
"TelnetFormUnit.h"
#include
"EventsFormUnit.h"
#include
"FtpFormUnit.h"
#include
"WebFormUnit.h"
#include
"MailFormUnit.h"
#include
"ServicesFormUnit.h"
#include
"PropertiesDlgUnit.h"
...
...
@@ -62,7 +63,11 @@ void __fastcall TPropertiesDlg::SourceComboBoxChange(TObject *Sender)
ExampleEdit
->
Font
=
MailForm
->
Log
->
Font
;
ExampleEdit
->
Color
=
MailForm
->
Log
->
Color
;
break
;
case
6
:
/* Services Log */
case
6
:
/* Web Server Log */
ExampleEdit
->
Font
=
WebForm
->
Log
->
Font
;
ExampleEdit
->
Color
=
WebForm
->
Log
->
Color
;
break
;
case
7
:
/* Services Log */
ExampleEdit
->
Font
=
ServicesForm
->
Log
->
Font
;
ExampleEdit
->
Color
=
ServicesForm
->
Log
->
Color
;
break
;
...
...
@@ -119,7 +124,11 @@ void __fastcall TPropertiesDlg::ChangeScheme(int target)
MailForm
->
Log
->
Font
=
ExampleEdit
->
Font
;
MailForm
->
Log
->
Color
=
ExampleEdit
->
Color
;
break
;
case
6
:
/* Services Log */
case
6
:
/* Web Server Log */
WebForm
->
Log
->
Font
=
ExampleEdit
->
Font
;
WebForm
->
Log
->
Color
=
ExampleEdit
->
Color
;
break
;
case
7
:
/* Services Log */
ServicesForm
->
Log
->
Font
=
ExampleEdit
->
Font
;
ServicesForm
->
Log
->
Color
=
ExampleEdit
->
Color
;
break
;
...
...
This diff is collapsed.
Click to expand it.
src/sbbs3/ctrl/PropertiesDlgUnit.dfm
+
7
−
6
View file @
33a7cbff
...
...
@@ -43,9 +43,9 @@ object PropertiesDlg: TPropertiesDlg
Top = 9
Width = 312
Height = 272
ActivePage =
Settings
TabSheet
ActivePage =
Customize
TabSheet
Anchors = [akLeft, akTop, akBottom]
TabIndex =
0
TabIndex =
1
TabOrder = 2
object SettingsTabSheet: TTabSheet
Caption = 'Settings'
...
...
@@ -132,7 +132,7 @@ object PropertiesDlg: TPropertiesDlg
Left = 265
Top = 76
Width = 19
Height =
30
Height =
24
Associate = NodeIntEdit
Min = 1
Max = 99
...
...
@@ -155,7 +155,7 @@ object PropertiesDlg: TPropertiesDlg
Left = 265
Top = 108
Width = 19
Height =
30
Height =
24
Associate = ClientIntEdit
Min = 1
Max = 99
...
...
@@ -201,7 +201,7 @@ object PropertiesDlg: TPropertiesDlg
Left = 265
Top = 138
Width = 18
Height = 2
9
Height = 2
4
Associate = SemFreqEdit
Min = 1
Max = 99
...
...
@@ -219,7 +219,6 @@ object PropertiesDlg: TPropertiesDlg
Width = 134
Height = 24
ItemHeight = 16
ItemIndex = 0
TabOrder = 0
Text = 'Node List'
OnChange = SourceComboBoxChange
...
...
@@ -230,6 +229,7 @@ object PropertiesDlg: TPropertiesDlg
'Event Log'
'FTP Server Log'
'Mail Server Log'
'Web Server Log'
'Services Log')
end
object ExampleEdit: TEdit
...
...
@@ -281,6 +281,7 @@ object PropertiesDlg: TPropertiesDlg
'Event Log'
'FTP Server Log'
'Mail Server Log'
'Web Server Log'
'Services Log'
'All Windows')
end
...
...
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