Skip to content

Commit e19aa5e

Browse files
committed
Merge pull request #1107 from fdorg/global_custom_scrollbars
Initial global custom scrollbar implementation...
2 parents 3064cb6 + 2c63b2f commit e19aa5e

File tree

16 files changed

+836
-7
lines changed

16 files changed

+836
-7
lines changed

External/Plugins/ASCompletion/CustomControls/ModelsExplorer.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
using ASCompletion.Completion;
1515
using System.Collections;
1616
using PluginCore.Helpers;
17+
using PluginCore.Controls;
1718

1819
namespace ASCompletion
1920
{
@@ -123,6 +124,7 @@ public ModelsExplorer()
123124
refreshButton.Image = PluginBase.MainForm.FindImage("24");
124125
rebuildButton.Image = PluginBase.MainForm.FindImage("153");
125126
toolStrip.ImageScalingSize = ScaleHelper.Scale(new Size(16, 16));
127+
ScrollBarEx.Attach(outlineTreeView);
126128
}
127129

128130
private void outlineContextMenuStrip_Opening(object sender, CancelEventArgs e)

External/Plugins/BookmarkPanel/PluginUI.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ public PluginUI(PluginMain pluginMain)
4545
this.InitializeLayout();
4646
this.InitializeTexts();
4747
this.UpdateSettings();
48+
ScrollBarEx.Attach(listView);
4849
}
4950

5051
#region Windows Forms Designer Generated Code

External/Plugins/FileExplorer/PluginUI.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ public PluginUI(PluginMain pluginMain)
5555
this.InitializeContextMenu();
5656
this.InitializeLayout();
5757
this.InitializeTexts();
58+
ScrollBarEx.Attach(fileView);
5859
}
5960

6061
#region Windows Forms Designer Generated Code

External/Plugins/FlashDebugger/Controls/BreakPointUI.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ private void init()
126126
tsbImport.Image = PluginBase.MainForm.FindImage("549|8|4|4");
127127
this.tscbFilterColumns.FlatStyle = PluginBase.Settings.ComboBoxFlatStyle;
128128
this.tsActions.Renderer = new DockPanelStripRenderer(false);
129+
ScrollBarEx.Attach(dgv);
129130
}
130131

131132
void dgv_CellMouseUp(object sender, DataGridViewCellMouseEventArgs e)

External/Plugins/FlashDebugger/Controls/ImmediateUI.Designer.cs

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

External/Plugins/FlashDebugger/Controls/ImmediateUI.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
using flash.tools.debugger;
99
using flash.tools.debugger.expression;
1010
using PluginCore;
11+
using PluginCore.Controls;
1112

1213
namespace FlashDebugger.Controls
1314
{
@@ -22,6 +23,7 @@ public ImmediateUI()
2223
this.InitializeComponent();
2324
this.contextMenuStrip.Renderer = new DockPanelStripRenderer(false);
2425
this.history = new List<string>();
26+
ScrollBarEx.Attach(textBox);
2527
}
2628

2729
private void textBox_KeyDown(object sender, KeyEventArgs e)

External/Plugins/FlashDebugger/Controls/StackframeUI.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ public StackframeUI(PluginMain pluginMain, ImageList imageList)
4848
InitializeComponents(imageList);
4949
InitializeContextMenu();
5050
InitializeLocalization();
51+
ScrollBarEx.Attach(lv);
5152
}
5253

5354
private void InitializeComponents(ImageList imageList)

External/Plugins/FlashDebugger/Controls/ThreadsUI.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
using System.Windows.Forms;
33
using flash.tools.debugger;
44
using System.Collections.Generic;
5+
using PluginCore;
6+
using PluginCore.Controls;
57

68
namespace FlashDebugger
79
{
@@ -39,6 +41,7 @@ public ThreadsUI(PluginMain pluginMain, ImageList imageList)
3941
lv.KeyDown += new KeyEventHandler(lv_KeyDown);
4042
lv.SizeChanged += new EventHandler(lv_SizeChanged);
4143
this.Controls.Add(lv);
44+
ScrollBarEx.Attach(lv);
4245
}
4346

4447
void lv_SizeChanged(object sender, EventArgs e)

External/Plugins/FlashLogViewer/PluginUI.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
using PluginCore.Helpers;
99
using PluginCore.Localization;
1010
using PluginCore.Utilities;
11+
using PluginCore.Controls;
1112

1213
namespace FlashLogViewer
1314
{
@@ -48,6 +49,7 @@ public PluginUI(PluginMain pluginMain)
4849
this.InitializeGraphics();
4950
this.InitializeControls();
5051
this.UpdateMainRegexes();
52+
ScrollBarEx.Attach(logTextBox);
5153
}
5254

5355
#region Windows Forms Designer Generated Code
@@ -68,7 +70,7 @@ private void InitializeComponent()
6870
this.logComboBox = new System.Windows.Forms.ToolStripComboBoxEx();
6971
this.filterLabel = new System.Windows.Forms.ToolStripLabel();
7072
this.filterComboBox = new System.Windows.Forms.ToolStripSpringComboBox();
71-
this.logTextBox = new System.Windows.Forms.RichTextBox();
73+
this.logTextBox = new System.Windows.Forms.RichTextBoxEx();
7274
this.toolStrip.SuspendLayout();
7375
this.SuspendLayout();
7476
//

External/Plugins/LayoutManager/PluginUI.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
using PluginCore.Helpers;
99
using PluginCore.Localization;
1010
using PluginCore.Managers;
11+
using PluginCore.Controls;
1112

1213
namespace LayoutManager
1314
{
@@ -36,6 +37,7 @@ public PluginUI(PluginMain pluginMain)
3637
this.InitializeContextMenu();
3738
this.InitializeGraphics();
3839
this.InitializeTexts();
40+
ScrollBarEx.Attach(layoutsListView);
3941
}
4042

4143
#region Windows Forms Designer Generated Code

0 commit comments

Comments
 (0)