[Monodevelop-patches-list] r602 - trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Tue Jan 20 18:08:44 EST 2004
Author: benm
Date: 2004-01-20 18:08:44 -0500 (Tue, 20 Jan 2004)
New Revision: 602
Modified:
trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/IconBarMargin.cs
Log:
fix this up
Modified: trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/IconBarMargin.cs
===================================================================
--- trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/IconBarMargin.cs 2004-01-20 22:44:26 UTC (rev 601)
+++ trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/IconBarMargin.cs 2004-01-20 23:08:44 UTC (rev 602)
@@ -68,12 +68,15 @@
#region Drawing functions
void DrawBookmark(Gdk.GC gc, Gdk.Drawable wnd, int y)
{
- gc.RgbFgColor = new Gdk.Color (Color.Green);
- int delta = textArea.TextView.FontHeight / 8;
- Rectangle rect = new Rectangle( 1, y + delta, base.drawingPosition.Width - 4, textArea.TextView.FontHeight - delta * 2);
- wnd.DrawArc (gc, true, rect.X, rect.Y, rect.Width, rect.Height, 0, 23040);
+ gc.RgbFgColor = new Gdk.Color (Color.DarkBlue);
+ int delta = textArea.TextView.FontHeight / 6;
+ Rectangle rect = new Rectangle( 2, y + delta, base.drawingPosition.Width - 6, textArea.TextView.FontHeight - 2 * delta);
+
+ wnd.DrawRectangle (gc, true, rect);
+
gc.RgbFgColor = new Gdk.Color (Color.Black);
- wnd.DrawArc (gc, false, rect.X, rect.Y, rect.Width, rect.Height, 0, 23040);
+
+ wnd.DrawRectangle (gc, false, rect);
//FillRoundRect(g, Brushes.Cyan, rect);
//DrawRoundRect(g, Pens.Black, rect);
}
More information about the Monodevelop-patches-list
mailing list