Skip to content

Commit 97ff70c

Browse files
committed
Merge pull request #954 from wise0704/ScrollBarEx
Improved ScrollBarEx
2 parents 3a1fa20 + cb41827 commit 97ff70c

File tree

10 files changed

+413
-181
lines changed

10 files changed

+413
-181
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@ PluginCore/Bin
2323
/FlashDevelop/Bin/Debug/Settings/Recovery
2424
/FlashDevelop/Bin/Debug/Exceptions.log
2525
/FlashDevelop/Bin/Debug/Tools/fdbuild/fdbuild.exe
26+
FlashDevelop/Bin/Debug/Settings/Themes/CURRENT

FlashDevelop/Bin/Debug/Settings/Themes/Default.fdi

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,18 @@ VS2005AutoHideStrip.TabUnderlineColor=#ff0000
6262
# Default (Hover), Click
6363
DockPanel.ShowAutoHideContentOn=Hover
6464

65-
#ScrollBar.ForeColor=#686A68
66-
#ScrollBar.BackColor=#A8ACAA
67-
#ScrollBar.BorderColor=#A8ACAA
68-
#ScrollBar.ActiveForeColor=#485253
69-
#ScrollBar.DisabledBackColor=#333F42
70-
#ScrollBar.DisabledBorderColor=#666D73
71-
#ScrollBar.CurrentPositionColor=#804000
65+
ScrollBar.UseCustom=False
66+
#ScrollBar.ForeColor=#D0D1D7
67+
#ScrollBar.BackColor=#E8E8EC
68+
#ScrollBar.BorderColor=#E8E8EC
69+
#ScrollBar.HotForeColor=#888888
70+
#ScrollBar.ActiveForeColor=#6A6A6A
71+
#ScrollBar.ArrowColor=#868999
72+
#ScrollBar.HotArrowColor=#1C97EA
73+
#ScrollBar.ActiveArrowColor=#007ACC
74+
#ScrollBar.DisabledBackColor=#C0C0C0
75+
#ScrollBar.DisabledBorderColor=#888888
76+
#ScrollBar.CurrentPositionColor=#0000CD
7277

7378
#LinkLabel.LinkColor=#ff0000
7479
#LinkLabel.ActiveLinkColor=#00ff00

FlashDevelop/Bin/Debug/Settings/Themes/DimGray.fdi

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,18 @@ VS2005AutoHideStrip.TabUnderlineColor=#ff0000
6262
# Default (Hover), Click
6363
DockPanel.ShowAutoHideContentOn=Hover
6464

65-
#ScrollBar.ForeColor=#686A68
66-
#ScrollBar.BackColor=#A8ACAA
67-
#ScrollBar.BorderColor=#A8ACAA
68-
#ScrollBar.ActiveForeColor=#485253
69-
#ScrollBar.DisabledBackColor=#333F42
70-
#ScrollBar.DisabledBorderColor=#666D73
71-
#ScrollBar.CurrentPositionColor=#804000
65+
ScrollBar.UseCustom=False
66+
#ScrollBar.ForeColor=#D0D1D7
67+
#ScrollBar.BackColor=#E8E8EC
68+
#ScrollBar.BorderColor=#E8E8EC
69+
#ScrollBar.HotForeColor=#888888
70+
#ScrollBar.ActiveForeColor=#6A6A6A
71+
#ScrollBar.ArrowColor=#868999
72+
#ScrollBar.HotArrowColor=#1C97EA
73+
#ScrollBar.ActiveArrowColor=#007ACC
74+
#ScrollBar.DisabledBackColor=#C0C0C0
75+
#ScrollBar.DisabledBorderColor=#888888
76+
#ScrollBar.CurrentPositionColor=#0000CD
7277

7378
#LinkLabel.LinkColor=#ff0000
7479
#LinkLabel.ActiveLinkColor=#00ff00

FlashDevelop/Bin/Debug/Settings/Themes/Obsidian.fdi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,15 @@ VS2005AutoHideStrip.TabUnderlineColor=#6D767C
6262
# Default (Hover), Click
6363
DockPanel.ShowAutoHideContentOn=Hover
6464

65+
ScrollBar.UseCustom=True
6566
ScrollBar.ForeColor=#686A68
6667
ScrollBar.BackColor=#A8ACAA
6768
ScrollBar.BorderColor=#A8ACAA
69+
#ScrollBar.HotForeColor=#XXXXXX
6870
ScrollBar.ActiveForeColor=#485253
71+
#ScrollBar.ArrowColor=#XXXXXX
72+
#ScrollBar.HotArrowColor=#XXXXXX
73+
#ScrollBar.ActiveArrowColor=#XXXXXX
6974
ScrollBar.DisabledBackColor=#A8ACAA
7075
ScrollBar.DisabledBorderColor=#A8ACAA
7176
ScrollBar.CurrentPositionColor=#804000

FlashDevelop/Bin/Debug/Settings/Themes/Thyleus.fdi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,15 @@ VS2005AutoHideStrip.TabUnderlineColor=#7B7675
6262
# Default (Hover), Click
6363
DockPanel.ShowAutoHideContentOn=Hover
6464

65+
ScrollBar.UseCustom=True
6566
ScrollBar.ForeColor=#4B4645
6667
ScrollBar.BackColor=#7B7675
6768
ScrollBar.BorderColor=#7B7675
69+
#ScrollBar.HotForeColor=#XXXXXX
6870
ScrollBar.ActiveForeColor=#333333
71+
#ScrollBar.ArrowColor=#XXXXXX
72+
#ScrollBar.HotArrowColor=#XXXXXX
73+
#ScrollBar.ActiveArrowColor=#XXXXXX
6974
ScrollBar.DisabledBackColor=#7B7675
7075
ScrollBar.DisabledBorderColor=#7B7675
7176
ScrollBar.CurrentPositionColor=#F0AC62

FlashDevelop/Settings/Accessors.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
using System.Xml.Serialization;
88
using Ookii.Dialogs;
99
using PluginCore;
10+
using PluginCore.Controls;
1011
using PluginCore.Localization;
1112
using ScintillaNet.Enums;
1213

@@ -372,7 +373,7 @@ public HighlightMatchingWordsMode HighlightMatchingWordsMode
372373
[LocalizedDescription("FlashDevelop.Description.HighlightMatchingWordsDelay")]
373374
public Int32 HighlightMatchingWordsDelay
374375
{
375-
get
376+
get
376377
{
377378
// Make sure this is not an invalid value
378379
if (this.highlightMatchingWordsDelay <= 0) this.highlightMatchingWordsDelay = 1200;
@@ -445,10 +446,10 @@ public Boolean TabIndents
445446
[LocalizedDescription("FlashDevelop.Description.IndentView")]
446447
public IndentView IndentView
447448
{
448-
get
449+
get
449450
{
450451
if ((Int32)this.indentView == 0) this.indentView = IndentView.Real;
451-
return this.indentView;
452+
return this.indentView;
452453
}
453454
set
454455
{

FlashDevelop/Settings/Properties.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
using System.Windows.Forms;
1010
using PluginCore.Managers;
1111
using PluginCore;
12+
using PluginCore.Controls;
1213

1314
namespace FlashDevelop.Settings
1415
{
@@ -103,7 +104,6 @@ public partial class SettingObject : ISettings
103104
private Boolean uiWrapList = false;
104105
private Boolean uiDisableSmartMatch = false;
105106
private String uiInsertionTriggers = "";
106-
107107
}
108108

109109
}

0 commit comments

Comments
 (0)