[Monodevelop-patches-list] r2262 - in trunk/MonoDevelop/Core/src/MonoDevelop.Base: . Gui/Components Gui/Components/StatusBar
John Luke <jluke@cfl.rr.com>
jluke at mono-cvs.ximian.com
Sun Feb 20 14:52:09 EST 2005
Author: jluke
Date: 2005-02-20 14:52:09 -0500 (Sun, 20 Feb 2005)
New Revision: 2262
Removed:
trunk/MonoDevelop/Core/src/MonoDevelop.Base/Gui/Components/SharpMessageBox.cs
trunk/MonoDevelop/Core/src/MonoDevelop.Base/Gui/Components/SideBar/
trunk/MonoDevelop/Core/src/MonoDevelop.Base/Gui/Components/StatusBar/AxStatusBar.cs
trunk/MonoDevelop/Core/src/MonoDevelop.Base/Gui/Components/StatusBar/AxStatusBarPanel.cs
Modified:
trunk/MonoDevelop/Core/src/MonoDevelop.Base/ChangeLog
trunk/MonoDevelop/Core/src/MonoDevelop.Base/Makefile.am
Log:
cruft removal
Modified: trunk/MonoDevelop/Core/src/MonoDevelop.Base/ChangeLog
===================================================================
--- trunk/MonoDevelop/Core/src/MonoDevelop.Base/ChangeLog 2005-02-20 19:13:09 UTC (rev 2261)
+++ trunk/MonoDevelop/Core/src/MonoDevelop.Base/ChangeLog 2005-02-20 19:52:09 UTC (rev 2262)
@@ -1,3 +1,16 @@
+2005-02-20 John Luke <john.luke at gmail.com>
+
+ * Gui/Components/SharpMessageBox.cs
+ * Gui/Components/StatusBar/AxStatusBarPanel.cs
+ * Gui/Components/StatusBar/AxStatusBar.cs
+ * Gui/Components/SideBar
+ * Gui/Components/SideBar/AxSideBar.cs
+ * Gui/Components/SideBar/AxSideTabItem.cs
+ * Gui/Components/SideBar/AxSideTab.cs
+ * Gui/Components/SideBar/SharpDevelopSideBar.cs
+ * Gui/Components/SideBar/SharpDevelopSideTabItem.cs
+ * Makefile.am: remove unused stuff from SD
+
2005-02-11 Todd Berman <tberman at off.net>
* Services/Project/ProjectService.cs:
Deleted: trunk/MonoDevelop/Core/src/MonoDevelop.Base/Gui/Components/SharpMessageBox.cs
===================================================================
--- trunk/MonoDevelop/Core/src/MonoDevelop.Base/Gui/Components/SharpMessageBox.cs 2005-02-20 19:13:09 UTC (rev 2261)
+++ trunk/MonoDevelop/Core/src/MonoDevelop.Base/Gui/Components/SharpMessageBox.cs 2005-02-20 19:52:09 UTC (rev 2262)
@@ -1,98 +0,0 @@
-// <file>
-// <copyright see="prj:///doc/copyright.txt"/>
-// <license see="prj:///doc/license.txt"/>
-// <owner name="Mike Krüger" email="mike at icsharpcode.net"/>
-// <version value="$version"/>
-// </file>
-
-using System;
-using System.Drawing;
-
-using MonoDevelop.Core.Properties;
-
-namespace MonoDevelop.Gui.Components
-{
-/* public class SharpMessageBox : Form
- {
- Button[] buttons;
- int retvalue = -1;
- string header;
- string text;
- string[] buttontexts;
-
- public SharpMessageBox(string header, string text, params string[] buttontexts)
- {
- this.header = header;
- this.text = text;
- this.buttontexts = buttontexts;
- InitializeComponents();
- }
-
- void InitializeComponents()
- {
- buttons = new Button[buttontexts.Length];
- for (int i = 0; i < buttontexts.Length; ++i) {
- buttons[i] = new Button();
- }
- Label label1 = new Label();
-
- this.SuspendLayout();
- Text = header;
- FormBorderStyle = FormBorderStyle.FixedDialog;
- MinimizeBox = false;
- MaximizeBox = false;
-
- Owner = WorkbenchSingleton.Workbench as Form;
- StartPosition = FormStartPosition.CenterParent;
-
- const int dialogWidth = 320;
- const int buttonWidth = 96;
-
- Icon = null;
- ShowInTaskbar = false;
-
- int v = (dialogWidth - buttontexts.Length * (buttonWidth + 4)) / 2;
- for (int i = 0; i < buttontexts.Length; ++i) {
- buttons[i].Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
- buttons[i].Location = new Point(v + i * (buttonWidth + 4) + dialogWidth / buttonWidth, 50);
- buttons[i].Size = new Size(buttonWidth, 24);
- buttons[i].TabIndex = i;
- buttons[i].Text = buttontexts[i];
-
- buttons[i].Click += new EventHandler(ButtonClick);
- }
- label1.Location = new Point(8, 8);
- label1.Text = text;
- label1.Size = new Size(dialogWidth - 8, 50);
-
-
- AcceptButton = buttons[buttons.Length - 1];
- CancelButton = buttons[buttons.Length - 1];
- buttons[buttons.Length - 1].Select();
-
- Controls.AddRange(buttons);
- Controls.Add(label1);
-
- this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
- this.ClientSize = new Size(dialogWidth, 80);
- this.ResumeLayout(false);
- }
-
- void ButtonClick(object sender, EventArgs e)
- {
- for (int i = 0; i < buttons.Length; ++i) {
- if (sender == buttons[i]) {
- retvalue = i;
- break;
- }
- }
- DialogResult = DialogResult.OK;
- }
-
- public int ShowMessageBox()
- {
- ShowDialog();
- return retvalue;
- }
- }*/
-}
Deleted: trunk/MonoDevelop/Core/src/MonoDevelop.Base/Gui/Components/StatusBar/AxStatusBar.cs
===================================================================
--- trunk/MonoDevelop/Core/src/MonoDevelop.Base/Gui/Components/StatusBar/AxStatusBar.cs 2005-02-20 19:13:09 UTC (rev 2261)
+++ trunk/MonoDevelop/Core/src/MonoDevelop.Base/Gui/Components/StatusBar/AxStatusBar.cs 2005-02-20 19:52:09 UTC (rev 2262)
@@ -1,29 +0,0 @@
-// <file>
-// <copyright see="prj:///doc/copyright.txt"/>
-// <license see="prj:///doc/license.txt"/>
-// <owner name="Mike Krüger" email="mike at icsharpcode.net"/>
-// <version value="$version"/>
-// </file>
-
-using System;
-using System.Collections;
-using System.Drawing;
-
-namespace MonoDevelop.Gui.Components
-{
-/* public class AxStatusBar : System.Windows.Forms.StatusBar
- {
- public AxStatusBar()
- {
- }
- protected override void OnDrawItem(StatusBarDrawItemEventArgs sbdievent)
- {
- if (sbdievent.Panel is AxStatusBarPanel) {
- ((AxStatusBarPanel)sbdievent.Panel).DrawPanel(sbdievent);
- } else {
- base.OnDrawItem(sbdievent);
- }
- }
- }*/
-
-}
Deleted: trunk/MonoDevelop/Core/src/MonoDevelop.Base/Gui/Components/StatusBar/AxStatusBarPanel.cs
===================================================================
--- trunk/MonoDevelop/Core/src/MonoDevelop.Base/Gui/Components/StatusBar/AxStatusBarPanel.cs 2005-02-20 19:13:09 UTC (rev 2261)
+++ trunk/MonoDevelop/Core/src/MonoDevelop.Base/Gui/Components/StatusBar/AxStatusBarPanel.cs 2005-02-20 19:52:09 UTC (rev 2262)
@@ -1,64 +0,0 @@
-// <file>
-// <copyright see="prj:///doc/copyright.txt"/>
-// <license see="prj:///doc/license.txt"/>
-// <owner name="Mike Krüger" email="mike at icsharpcode.net"/>
-// <version value="$version"/>
-// </file>
-
-using System;
-using System.Collections;
-using System.Drawing;
-
-namespace MonoDevelop.Gui.Components
-{
-/* public class AxStatusBarPanel : StatusBarPanel
- {
- StringFormat sFormat = new StringFormat();
-
- public AxStatusBarPanel()
- {
- Style = StatusBarPanelStyle.OwnerDraw;
- BorderStyle = StatusBarPanelBorderStyle.None;
-
- sFormat.LineAlignment = StringAlignment.Center;
- }
-
- protected virtual void DrawBorder(StatusBarDrawItemEventArgs drawEventArgs)
- {
- drawEventArgs.Graphics.DrawRectangle(SystemPens.ControlDark,
- new Rectangle(drawEventArgs.Bounds.X,
- drawEventArgs.Bounds.Y,
- drawEventArgs.Bounds.Width - 1,
- drawEventArgs.Bounds.Height - 1));
- }
-
- public virtual void DrawPanel(StatusBarDrawItemEventArgs drawEventArgs)
- {
- Graphics g = drawEventArgs.Graphics;
- switch (Alignment) {
- case HorizontalAlignment.Left:
- sFormat.Alignment = StringAlignment.Near;
- break;
- case HorizontalAlignment.Center:
- sFormat.Alignment = StringAlignment.Center;
- break;
- case HorizontalAlignment.Right:
- sFormat.Alignment = StringAlignment.Far;
- break;
- }
- g.DrawString(Text,
- drawEventArgs.Font,
- SystemBrushes.ControlText,
- drawEventArgs.Bounds,
- sFormat);
- DrawBorder(drawEventArgs);
- }
-
- protected override void Dispose(bool disposing)
- {
- if (disposing) {
- sFormat.Dispose();
- }
- }
- }*/
-}
Modified: trunk/MonoDevelop/Core/src/MonoDevelop.Base/Makefile.am
===================================================================
--- trunk/MonoDevelop/Core/src/MonoDevelop.Base/Makefile.am 2005-02-20 19:13:09 UTC (rev 2261)
+++ trunk/MonoDevelop/Core/src/MonoDevelop.Base/Makefile.am 2005-02-20 19:52:09 UTC (rev 2262)
@@ -50,19 +50,11 @@
Gui/AbstractViewContent.cs \
Gui/GuiService.cs \
Gui/Components/SdMenuSeparator.cs \
-Gui/Components/SharpMessageBox.cs \
-Gui/Components/StatusBar/AxStatusBar.cs \
Gui/Components/StatusBar/SdStatusBar.cs \
Gui/Components/StatusBar/IStatusIcon.cs \
-Gui/Components/StatusBar/AxStatusBarPanel.cs \
Gui/Components/LocalizedPropertyGrid/LocalizedPropertyDescriptor.cs \
Gui/Components/LocalizedPropertyGrid/LocalizedObject.cs \
Gui/Components/LocalizedPropertyGrid/LocalizedPropertyAttribute.cs \
-Gui/Components/SideBar/AxSideTabItem.cs \
-Gui/Components/SideBar/AxSideTab.cs \
-Gui/Components/SideBar/SharpDevelopSideTabItem.cs \
-Gui/Components/SideBar/SharpDevelopSideBar.cs \
-Gui/Components/SideBar/AxSideBar.cs \
Gui/Components/SdMenu.cs \
Gui/Components/SdMenuCheckBox.cs \
Gui/Components/SdMenuCommand.cs \
More information about the Monodevelop-patches-list
mailing list