Author: cwittich
Date: Sun May 31 02:04:07 2009
New Revision: 41209
URL:
http://svn.reactos.org/svn/reactos?rev=41209&view=rev
Log:
-support printing in console (patch by basisbit) and browser view
-change console font to Courier New
Modified:
trunk/tools/reactosdbg/RosDBG/Dockable Objects/RawTraffic.cs
trunk/tools/reactosdbg/RosDBG/Dockable Objects/ReactOSWeb.cs
trunk/tools/reactosdbg/RosDBG/Dockable Objects/SourceView.Designer.cs
trunk/tools/reactosdbg/RosDBG/Dockable Objects/SourceView.resx
trunk/tools/reactosdbg/RosDBG/Dockable Objects/ToolWindow.cs
trunk/tools/reactosdbg/RosDBG/MainWindow.Designer.cs
trunk/tools/reactosdbg/RosDBG/MainWindow.cs
trunk/tools/reactosdbg/RosDBG/Properties/AssemblyInfo.cs
Modified: trunk/tools/reactosdbg/RosDBG/Dockable Objects/RawTraffic.cs
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/reactosdbg/RosDBG/Dockable%2…
==============================================================================
--- trunk/tools/reactosdbg/RosDBG/Dockable Objects/RawTraffic.cs [iso-8859-1] (original)
+++ trunk/tools/reactosdbg/RosDBG/Dockable Objects/RawTraffic.cs [iso-8859-1] Sun May 31
02:04:07 2009
@@ -2,6 +2,7 @@
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
+using System.Drawing.Printing;
using System.Data;
using System.IO;
using System.Linq;
@@ -17,12 +18,10 @@
{
DebugConnection mConnection;
List<string> textToAdd = new List<string>();
- // public event CanCopyChangedEventHandler CanCopyChangedEvent;
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
- // ((MainWindow)this.ParentForm).CopyEvent += CopyEvent;
}
public void SetDebugConnection(DebugConnection conn)
@@ -55,12 +54,6 @@
}
Invoke(Delegate.CreateDelegate(typeof(NoParamsDelegate), this,
"UpdateText"));
}
-
- /* void CopyEvent(object sender, CopyEventArgs args)
- {
- if (args.Obj == this && RawTrafficText.SelectedText != null)
- Clipboard.SetText(RawTrafficText.SelectedText);
- } */
public RawTraffic()
{
@@ -95,8 +88,6 @@
private void RawTrafficText_MouseUp(object sender, MouseEventArgs e)
{
copyToolStripMenuItem.Enabled = (RawTrafficText.SelectionLength > 0);
- /* if (CanCopyChangedEvent != null)
- CanCopyChangedEvent(this, new
CanCopyChangedEventArgs(RawTrafficText.SelectionLength != 0)); */
}
private void copyToolStripMenuItem_Click(object sender, EventArgs e)
@@ -121,6 +112,7 @@
{
case Commands.Save:
case Commands.SaveAs:
+ case Commands.Print:
return true;
}
return false;
@@ -145,5 +137,22 @@
}
}
+ public override void Print(bool ShowDialog)
+ {
+ PrintDocument printDoc = new PrintDocument();
+ printDoc.PrintPage += new PrintPageEventHandler(printDoc_PrintPage);
+ PrintDialog pd = new PrintDialog();
+ pd.Document = printDoc;
+ if ((!ShowDialog) || (pd.ShowDialog() == DialogResult.OK))
+ {
+ printDoc.Print();
+ }
+ }
+
+ private void printDoc_PrintPage(object sender, PrintPageEventArgs e)
+ {
+ e.Graphics.DrawString(RawTrafficText.Text, RawTrafficText.Font,
Brushes.Black, 10, 25);
+ }
+
}
}
Modified: trunk/tools/reactosdbg/RosDBG/Dockable Objects/ReactOSWeb.cs
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/reactosdbg/RosDBG/Dockable%2…
==============================================================================
--- trunk/tools/reactosdbg/RosDBG/Dockable Objects/ReactOSWeb.cs [iso-8859-1] (original)
+++ trunk/tools/reactosdbg/RosDBG/Dockable Objects/ReactOSWeb.cs [iso-8859-1] Sun May 31
02:04:07 2009
@@ -99,6 +99,7 @@
return pIsCmdEnabled("copy");
case Commands.Save:
case Commands.SaveAs:
+ case Commands.Print:
return true;
}
return false;
@@ -137,5 +138,11 @@
return BrowserView.Url.GetComponents(UriComponents.Host,
UriFormat.UriEscaped).ToString() + ".html";
}
+ public override void Print(bool ShowDialog)
+ {
+ IHTMLDocument2 htmlDocument =
(mshtml.IHTMLDocument2)BrowserView.Document.DomDocument;
+ htmlDocument.execCommand("print", ShowDialog, null);
+ }
+
}
}
Modified: trunk/tools/reactosdbg/RosDBG/Dockable Objects/SourceView.Designer.cs
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/reactosdbg/RosDBG/Dockable%2…
==============================================================================
--- trunk/tools/reactosdbg/RosDBG/Dockable Objects/SourceView.Designer.cs [iso-8859-1]
(original)
+++ trunk/tools/reactosdbg/RosDBG/Dockable Objects/SourceView.Designer.cs [iso-8859-1] Sun
May 31 02:04:07 2009
@@ -100,6 +100,7 @@
// SourceCode
//
this.SourceCode.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.SourceCode.Font = new System.Drawing.Font("Courier New",
8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.SourceCode.Location = new System.Drawing.Point(0, 0);
this.SourceCode.Name = "SourceCode";
this.SourceCode.ReadOnly = true;
Modified: trunk/tools/reactosdbg/RosDBG/Dockable Objects/SourceView.resx
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/reactosdbg/RosDBG/Dockable%2…
==============================================================================
--- trunk/tools/reactosdbg/RosDBG/Dockable Objects/SourceView.resx [iso-8859-1]
(original)
+++ trunk/tools/reactosdbg/RosDBG/Dockable Objects/SourceView.resx [iso-8859-1] Sun May 31
02:04:07 2009
@@ -139,17 +139,17 @@
<data name="btnBreakpoint.Image" type="System.Drawing.Bitmap,
System.Drawing"
mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
- YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAlJJREFUOE+10l9I
- U1EcB3Bfe/NBCHrqoYcKIxCjPyxpZauocBRYoLT+kIyRlrNbTTfvttu623JztunGNjc3JrkopmCEgcYe
- ArVYuXBtWtRWjTnLzVWOVt5vdwaBZGoPHTgPP875fX6H3/kVFPyvNfp4oLjTpqr22NSQiC9sfOTzFa66
- VouK2Od10ug0KZiZCMl0Gak33i4afT02yaoQu1HOzEUp5KsjaYDLQiEbVS3EgdHBXSsiFhP5hZlqZRPo
- X0C7EvnYbbkBi04Kl1VfsSxib2tmE/RwmxXAlAGONhkYFnK2K/D1LQWzTjK4LGBQ1i5UdNySgEkYYNFe
- xjwLmjUEcjE1lMSZyCLAaZLLHCYF8vtBr+smTQjYRD2srfXIvdOiQyVE7r0GLY3nMRe9DvHpo6HfgFen
- W+O2qJB+RbGHFO445JAK+fgR1+JhzyVkIjL479bi82sSPcYaZMJNEFbxgote4LHSSnHVHkyH5JidlMIs
- 5yMbo5GaVCI9IUUqLMFMmEA6IkE8IMI5PufJHz3otmqIBSTYgOSzOqReypGZUGI2TOLjeBMSY1eRCFxE
- ZOAEqg9v9y/ZRFub7HYe+TAiRHy0Dkk26dN4I6ZfXENsuAbP7x3AQEcZc/Jg6dCSgM/XWnhFwKPyyFj/
- cQx7+UzAd4wJ9h7BU+9ejHg4UIs438Sn9pv/+o3dLWQR20Qyj3jocqbfyGX8jjLcN+2YFwuKvx/avRnE
- 2fJ1y84BKeJtaK6rbKiu2NlXsqUou23TWnBL14eqeCX2+kru1hVH+V8u/ATQB2+2DQmylgAAAABJRU5E
+ YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAlJJREFUOE+10l1I
+ k1EYB3Bvu5MIgq666KKkKMLoA5NWtooKR4EFjtYHyRi5dPZW081329vaR+5LpxubbTombpFMoxAFi10U
+ ucRy4dy0KK1kTmtzlaOV7793BoFk0y46cC4eznl+z+E5T07O/1qBxz2bb9uVXLddDbHo0sZHPl/uimvV
+ KYkDXqcK9nqSnhkh6ZYG6o23RYUuj128IsRmIum5cQqZ6ogZ0WqlkBpXLsSDgb49yyJNZvILPWVgElS/
+ gEYFMrHLehNWnQStNn1xVqTZVMsk6OGyyIEpIxwmKWgGcjbK8fUtBYtO3JcVMCrKFyo66sWgo0ZYtVcw
+ z4AWDYH0hBoK4lxkEeA0y6QOsxyZ3d3ZektF8JhEPWyGSqTfadGk5CP9XoO66ouYG78B0dnjod+AV6db
+ 5bIqkXhFMYcU7jhkkPA5+DGpRa+nAsmIFP675fj8moSnoQzJcA34pezgohe4bSqFqHQfpkMyzI5JYJFx
+ kJpQIT6mQGJUgnhYjE9hAomIGJODAlzgFDz7owdtNg2xgASrEHsuRHxEhuSoArNhEjPDNYgOXUN08DIi
+ PafAPbrTv2QT7SZpewb50M/HZECIGJP0cbga0y+vY+JpGV50HEK3uZA+fTj/4ZKAz2fIvcpjUxlk6P5J
+ PGnn0AMdJ+hg5zEMePej310AtaDgm+jMQctfv7GtjlzDNJHMIC5lEX3PxKL9jkI8MO+ar+DlfT+yNw/E
+ +aJ1WeeAFLA31ApLqrjFu7u2bVmd2rFpLVj560Ol7O3NlSWsrcuO8r9c+AmDUW+JqfqWTgAAAABJRU5E
rkJggg==
</value>
</data>
Modified: trunk/tools/reactosdbg/RosDBG/Dockable Objects/ToolWindow.cs
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/reactosdbg/RosDBG/Dockable%2…
==============================================================================
--- trunk/tools/reactosdbg/RosDBG/Dockable Objects/ToolWindow.cs [iso-8859-1] (original)
+++ trunk/tools/reactosdbg/RosDBG/Dockable Objects/ToolWindow.cs [iso-8859-1] Sun May 31
02:04:07 2009
@@ -30,6 +30,11 @@
SaveAs(FileName);
}
+ public virtual void Print(bool ShowDialog)
+ {
+ MessageBox.Show("Not implemented!");
+ }
+
public virtual string GetDocumentName()
{
return "";
Modified: trunk/tools/reactosdbg/RosDBG/MainWindow.Designer.cs
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/reactosdbg/RosDBG/MainWindow…
==============================================================================
--- trunk/tools/reactosdbg/RosDBG/MainWindow.Designer.cs [iso-8859-1] (original)
+++ trunk/tools/reactosdbg/RosDBG/MainWindow.Designer.cs [iso-8859-1] Sun May 31 02:04:07
2009
@@ -30,21 +30,21 @@
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new
System.ComponentModel.ComponentResourceManager(typeof(MainWindow));
- WeifenLuo.WinFormsUI.Docking.DockPanelSkin dockPanelSkin1 = new
WeifenLuo.WinFormsUI.Docking.DockPanelSkin();
- WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin autoHideStripSkin1 = new
WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin();
- WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient1 = new
WeifenLuo.WinFormsUI.Docking.DockPanelGradient();
- WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient1 = new
WeifenLuo.WinFormsUI.Docking.TabGradient();
- WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin dockPaneStripSkin1 = new
WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin();
- WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient dockPaneStripGradient1 =
new WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient();
- WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient2 = new
WeifenLuo.WinFormsUI.Docking.TabGradient();
- WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient2 = new
WeifenLuo.WinFormsUI.Docking.DockPanelGradient();
- WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient3 = new
WeifenLuo.WinFormsUI.Docking.TabGradient();
- WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient
dockPaneStripToolWindowGradient1 = new
WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient();
- WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient4 = new
WeifenLuo.WinFormsUI.Docking.TabGradient();
- WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient5 = new
WeifenLuo.WinFormsUI.Docking.TabGradient();
- WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient3 = new
WeifenLuo.WinFormsUI.Docking.DockPanelGradient();
- WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient6 = new
WeifenLuo.WinFormsUI.Docking.TabGradient();
- WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient7 = new
WeifenLuo.WinFormsUI.Docking.TabGradient();
+ WeifenLuo.WinFormsUI.Docking.DockPanelSkin dockPanelSkin3 = new
WeifenLuo.WinFormsUI.Docking.DockPanelSkin();
+ WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin autoHideStripSkin3 = new
WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin();
+ WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient7 = new
WeifenLuo.WinFormsUI.Docking.DockPanelGradient();
+ WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient15 = new
WeifenLuo.WinFormsUI.Docking.TabGradient();
+ WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin dockPaneStripSkin3 = new
WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin();
+ WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient dockPaneStripGradient3 =
new WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient();
+ WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient16 = new
WeifenLuo.WinFormsUI.Docking.TabGradient();
+ WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient8 = new
WeifenLuo.WinFormsUI.Docking.DockPanelGradient();
+ WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient17 = new
WeifenLuo.WinFormsUI.Docking.TabGradient();
+ WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient
dockPaneStripToolWindowGradient3 = new
WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient();
+ WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient18 = new
WeifenLuo.WinFormsUI.Docking.TabGradient();
+ WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient19 = new
WeifenLuo.WinFormsUI.Docking.TabGradient();
+ WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient9 = new
WeifenLuo.WinFormsUI.Docking.DockPanelGradient();
+ WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient20 = new
WeifenLuo.WinFormsUI.Docking.TabGradient();
+ WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient21 = new
WeifenLuo.WinFormsUI.Docking.TabGradient();
this.menuStrip = new System.Windows.Forms.MenuStrip();
this.fileMenu = new System.Windows.Forms.ToolStripMenuItem();
this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
@@ -138,14 +138,14 @@
this.openToolStripMenuItem.ImageTransparentColor =
System.Drawing.Color.Black;
this.openToolStripMenuItem.Name = "openToolStripMenuItem";
this.openToolStripMenuItem.ShortcutKeys =
((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control |
System.Windows.Forms.Keys.O)));
- this.openToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
+ this.openToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
this.openToolStripMenuItem.Text = "&Open";
this.openToolStripMenuItem.Click += new System.EventHandler(this.OpenFile);
//
// toolStripSeparator3
//
this.toolStripSeparator3.Name = "toolStripSeparator3";
- this.toolStripSeparator3.Size = new System.Drawing.Size(145, 6);
+ this.toolStripSeparator3.Size = new System.Drawing.Size(149, 6);
//
// saveToolStripMenuItem
//
@@ -153,21 +153,21 @@
this.saveToolStripMenuItem.ImageTransparentColor =
System.Drawing.Color.Black;
this.saveToolStripMenuItem.Name = "saveToolStripMenuItem";
this.saveToolStripMenuItem.ShortcutKeys =
((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control |
System.Windows.Forms.Keys.S)));
- this.saveToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
+ this.saveToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
this.saveToolStripMenuItem.Text = "&Save";
this.saveToolStripMenuItem.Click += new
System.EventHandler(this.saveToolStripMenuItem_Click);
//
// saveAsToolStripMenuItem
//
this.saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem";
- this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
+ this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
this.saveAsToolStripMenuItem.Text = "Save &as";
this.saveAsToolStripMenuItem.Click += new
System.EventHandler(this.SaveAsToolStripMenuItem_Click);
//
// toolStripSeparator4
//
this.toolStripSeparator4.Name = "toolStripSeparator4";
- this.toolStripSeparator4.Size = new System.Drawing.Size(145, 6);
+ this.toolStripSeparator4.Size = new System.Drawing.Size(149, 6);
//
// printToolStripMenuItem
//
@@ -175,25 +175,26 @@
this.printToolStripMenuItem.ImageTransparentColor =
System.Drawing.Color.Black;
this.printToolStripMenuItem.Name = "printToolStripMenuItem";
this.printToolStripMenuItem.ShortcutKeys =
((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control |
System.Windows.Forms.Keys.P)));
- this.printToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
+ this.printToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
this.printToolStripMenuItem.Text = "&Print";
+ this.printToolStripMenuItem.Click += new
System.EventHandler(this.printToolStripMenuItem_Click);
//
// printSetupToolStripMenuItem
//
this.printSetupToolStripMenuItem.Enabled = false;
this.printSetupToolStripMenuItem.Name =
"printSetupToolStripMenuItem";
- this.printSetupToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
+ this.printSetupToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
this.printSetupToolStripMenuItem.Text = "Print setup";
//
// toolStripSeparator5
//
this.toolStripSeparator5.Name = "toolStripSeparator5";
- this.toolStripSeparator5.Size = new System.Drawing.Size(145, 6);
+ this.toolStripSeparator5.Size = new System.Drawing.Size(149, 6);
//
// exitToolStripMenuItem
//
this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
- this.exitToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
+ this.exitToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
this.exitToolStripMenuItem.Text = "&Exit";
this.exitToolStripMenuItem.Click += new
System.EventHandler(this.ExitToolsStripMenuItem_Click);
//
@@ -461,6 +462,7 @@
this.printToolStripButton.Name = "printToolStripButton";
this.printToolStripButton.Size = new System.Drawing.Size(23, 22);
this.printToolStripButton.Text = "Print";
+ this.printToolStripButton.Click += new
System.EventHandler(this.printToolStripButton_Click);
//
// toolStripSeparator2
//
@@ -530,50 +532,50 @@
this.dockPanel.Location = new System.Drawing.Point(0, 49);
this.dockPanel.Name = "dockPanel";
this.dockPanel.Size = new System.Drawing.Size(784, 490);
- dockPanelGradient1.EndColor = System.Drawing.SystemColors.ControlLight;
- dockPanelGradient1.StartColor = System.Drawing.SystemColors.ControlLight;
- autoHideStripSkin1.DockStripGradient = dockPanelGradient1;
- tabGradient1.EndColor = System.Drawing.SystemColors.Control;
- tabGradient1.StartColor = System.Drawing.SystemColors.Control;
- tabGradient1.TextColor = System.Drawing.SystemColors.ControlDarkDark;
- autoHideStripSkin1.TabGradient = tabGradient1;
- dockPanelSkin1.AutoHideStripSkin = autoHideStripSkin1;
- tabGradient2.EndColor = System.Drawing.SystemColors.ControlLightLight;
- tabGradient2.StartColor = System.Drawing.SystemColors.ControlLightLight;
- tabGradient2.TextColor = System.Drawing.SystemColors.ControlText;
- dockPaneStripGradient1.ActiveTabGradient = tabGradient2;
- dockPanelGradient2.EndColor = System.Drawing.SystemColors.Control;
- dockPanelGradient2.StartColor = System.Drawing.SystemColors.Control;
- dockPaneStripGradient1.DockStripGradient = dockPanelGradient2;
- tabGradient3.EndColor = System.Drawing.SystemColors.ControlLight;
- tabGradient3.StartColor = System.Drawing.SystemColors.ControlLight;
- tabGradient3.TextColor = System.Drawing.SystemColors.ControlText;
- dockPaneStripGradient1.InactiveTabGradient = tabGradient3;
- dockPaneStripSkin1.DocumentGradient = dockPaneStripGradient1;
- tabGradient4.EndColor = System.Drawing.SystemColors.ActiveCaption;
- tabGradient4.LinearGradientMode =
System.Drawing.Drawing2D.LinearGradientMode.Vertical;
- tabGradient4.StartColor = System.Drawing.SystemColors.GradientActiveCaption;
- tabGradient4.TextColor = System.Drawing.SystemColors.ActiveCaptionText;
- dockPaneStripToolWindowGradient1.ActiveCaptionGradient = tabGradient4;
- tabGradient5.EndColor = System.Drawing.SystemColors.Control;
- tabGradient5.StartColor = System.Drawing.SystemColors.Control;
- tabGradient5.TextColor = System.Drawing.SystemColors.ControlText;
- dockPaneStripToolWindowGradient1.ActiveTabGradient = tabGradient5;
- dockPanelGradient3.EndColor = System.Drawing.SystemColors.ControlLight;
- dockPanelGradient3.StartColor = System.Drawing.SystemColors.ControlLight;
- dockPaneStripToolWindowGradient1.DockStripGradient = dockPanelGradient3;
- tabGradient6.EndColor = System.Drawing.SystemColors.GradientInactiveCaption;
- tabGradient6.LinearGradientMode =
System.Drawing.Drawing2D.LinearGradientMode.Vertical;
- tabGradient6.StartColor =
System.Drawing.SystemColors.GradientInactiveCaption;
- tabGradient6.TextColor = System.Drawing.SystemColors.ControlText;
- dockPaneStripToolWindowGradient1.InactiveCaptionGradient = tabGradient6;
- tabGradient7.EndColor = System.Drawing.Color.Transparent;
- tabGradient7.StartColor = System.Drawing.Color.Transparent;
- tabGradient7.TextColor = System.Drawing.SystemColors.ControlDarkDark;
- dockPaneStripToolWindowGradient1.InactiveTabGradient = tabGradient7;
- dockPaneStripSkin1.ToolWindowGradient = dockPaneStripToolWindowGradient1;
- dockPanelSkin1.DockPaneStripSkin = dockPaneStripSkin1;
- this.dockPanel.Skin = dockPanelSkin1;
+ dockPanelGradient7.EndColor = System.Drawing.SystemColors.ControlLight;
+ dockPanelGradient7.StartColor = System.Drawing.SystemColors.ControlLight;
+ autoHideStripSkin3.DockStripGradient = dockPanelGradient7;
+ tabGradient15.EndColor = System.Drawing.SystemColors.Control;
+ tabGradient15.StartColor = System.Drawing.SystemColors.Control;
+ tabGradient15.TextColor = System.Drawing.SystemColors.ControlDarkDark;
+ autoHideStripSkin3.TabGradient = tabGradient15;
+ dockPanelSkin3.AutoHideStripSkin = autoHideStripSkin3;
+ tabGradient16.EndColor = System.Drawing.SystemColors.ControlLightLight;
+ tabGradient16.StartColor = System.Drawing.SystemColors.ControlLightLight;
+ tabGradient16.TextColor = System.Drawing.SystemColors.ControlText;
+ dockPaneStripGradient3.ActiveTabGradient = tabGradient16;
+ dockPanelGradient8.EndColor = System.Drawing.SystemColors.Control;
+ dockPanelGradient8.StartColor = System.Drawing.SystemColors.Control;
+ dockPaneStripGradient3.DockStripGradient = dockPanelGradient8;
+ tabGradient17.EndColor = System.Drawing.SystemColors.ControlLight;
+ tabGradient17.StartColor = System.Drawing.SystemColors.ControlLight;
+ tabGradient17.TextColor = System.Drawing.SystemColors.ControlText;
+ dockPaneStripGradient3.InactiveTabGradient = tabGradient17;
+ dockPaneStripSkin3.DocumentGradient = dockPaneStripGradient3;
+ tabGradient18.EndColor = System.Drawing.SystemColors.ActiveCaption;
+ tabGradient18.LinearGradientMode =
System.Drawing.Drawing2D.LinearGradientMode.Vertical;
+ tabGradient18.StartColor =
System.Drawing.SystemColors.GradientActiveCaption;
+ tabGradient18.TextColor = System.Drawing.SystemColors.ActiveCaptionText;
+ dockPaneStripToolWindowGradient3.ActiveCaptionGradient = tabGradient18;
+ tabGradient19.EndColor = System.Drawing.SystemColors.Control;
+ tabGradient19.StartColor = System.Drawing.SystemColors.Control;
+ tabGradient19.TextColor = System.Drawing.SystemColors.ControlText;
+ dockPaneStripToolWindowGradient3.ActiveTabGradient = tabGradient19;
+ dockPanelGradient9.EndColor = System.Drawing.SystemColors.ControlLight;
+ dockPanelGradient9.StartColor = System.Drawing.SystemColors.ControlLight;
+ dockPaneStripToolWindowGradient3.DockStripGradient = dockPanelGradient9;
+ tabGradient20.EndColor =
System.Drawing.SystemColors.GradientInactiveCaption;
+ tabGradient20.LinearGradientMode =
System.Drawing.Drawing2D.LinearGradientMode.Vertical;
+ tabGradient20.StartColor =
System.Drawing.SystemColors.GradientInactiveCaption;
+ tabGradient20.TextColor = System.Drawing.SystemColors.ControlText;
+ dockPaneStripToolWindowGradient3.InactiveCaptionGradient = tabGradient20;
+ tabGradient21.EndColor = System.Drawing.Color.Transparent;
+ tabGradient21.StartColor = System.Drawing.Color.Transparent;
+ tabGradient21.TextColor = System.Drawing.SystemColors.ControlDarkDark;
+ dockPaneStripToolWindowGradient3.InactiveTabGradient = tabGradient21;
+ dockPaneStripSkin3.ToolWindowGradient = dockPaneStripToolWindowGradient3;
+ dockPanelSkin3.DockPaneStripSkin = dockPaneStripSkin3;
+ this.dockPanel.Skin = dockPanelSkin3;
this.dockPanel.TabIndex = 4;
this.dockPanel.ActiveDocumentChanged += new
System.EventHandler(this.dockPanel_ActiveDocumentChanged);
//
Modified: trunk/tools/reactosdbg/RosDBG/MainWindow.cs
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/reactosdbg/RosDBG/MainWindow…
==============================================================================
--- trunk/tools/reactosdbg/RosDBG/MainWindow.cs [iso-8859-1] (original)
+++ trunk/tools/reactosdbg/RosDBG/MainWindow.cs [iso-8859-1] Sun May 31 02:04:07 2009
@@ -374,6 +374,16 @@
}
}
+ private void printToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ ((ToolWindow)dockPanel.ActiveDocument.DockHandler.Form).Print(true);
+ }
+
+ private void printToolStripButton_Click(object sender, EventArgs e)
+ {
+ ((ToolWindow)dockPanel.ActiveDocument.DockHandler.Form).Print(false);
+ }
+
}
}
Modified: trunk/tools/reactosdbg/RosDBG/Properties/AssemblyInfo.cs
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/reactosdbg/RosDBG/Properties…
==============================================================================
--- trunk/tools/reactosdbg/RosDBG/Properties/AssemblyInfo.cs [iso-8859-1] (original)
+++ trunk/tools/reactosdbg/RosDBG/Properties/AssemblyInfo.cs [iso-8859-1] Sun May 31
02:04:07 2009
@@ -39,5 +39,5 @@
// will be increased as well. MSI installers must not be generated with the same Build
Number
// otherwise they won't upgrade the old installation!
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
+[assembly: AssemblyVersion("1.0.0.2")]
+[assembly: AssemblyFileVersion("1.0.0.2")]