[Monodevelop-patches-list] r591 - 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 00:10:03 EST 2004
Author: tberman
Date: 2004-01-20 00:10:03 -0500 (Tue, 20 Jan 2004)
New Revision: 591
Modified:
trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/IconBarMargin.cs
Log:
a) cyan is ugly
b) rectangles are worse
c) wewt
Modified: trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/IconBarMargin.cs
===================================================================
--- trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/IconBarMargin.cs 2004-01-20 04:59:35 UTC (rev 590)
+++ trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/IconBarMargin.cs 2004-01-20 05:10:03 UTC (rev 591)
@@ -68,12 +68,12 @@
#region Drawing functions
void DrawBookmark(Gdk.GC gc, Gdk.Drawable wnd, int y)
{
- gc.RgbFgColor = new Gdk.Color (Color.Cyan);
+ gc.RgbFgColor = new Gdk.Color (Color.Red);
int delta = textArea.TextView.FontHeight / 8;
Rectangle rect = new Rectangle( 1, y + delta, base.drawingPosition.Width - 4, textArea.TextView.FontHeight - delta * 2);
- wnd.DrawRectangle (gc, true, rect);
+ wnd.DrawArc (gc, true, rect.X, rect.Y, rect.Width, rect.Height, 0, 23040);
gc.RgbFgColor = new Gdk.Color (Color.Black);
- wnd.DrawRectangle (gc, false, rect);
+ wnd.DrawArc (gc, false, rect.X, rect.Y, rect.Width, rect.Height, 0, 23040);
//FillRoundRect(g, Brushes.Cyan, rect);
//DrawRoundRect(g, Pens.Black, rect);
}
More information about the Monodevelop-patches-list
mailing list