diff --git a/data/resources/image/BitmapResources/BitmapResources-data/Icons.48x48.CurrentFrame.png b/data/resources/image/BitmapResources/BitmapResources-data/Icons.48x48.CurrentFrame.png index ab2c0923f2..db6c9772b9 100644 Binary files a/data/resources/image/BitmapResources/BitmapResources-data/Icons.48x48.CurrentFrame.png and b/data/resources/image/BitmapResources/BitmapResources-data/Icons.48x48.CurrentFrame.png differ diff --git a/src/AddIns/Debugger/Debugger.AddIn/Pads/ParallelPad/SelectedFrameBookmark.cs b/src/AddIns/Debugger/Debugger.AddIn/Pads/ParallelPad/SelectedFrameBookmark.cs new file mode 100644 index 0000000000..480b64bdce --- /dev/null +++ b/src/AddIns/Debugger/Debugger.AddIn/Pads/ParallelPad/SelectedFrameBookmark.cs @@ -0,0 +1,52 @@ +// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) +// This code is distributed under the GNU LGPL (for details please see \doc\license.txt) +using System; +using System.Windows.Media; +using ICSharpCode.Core; +using ICSharpCode.NRefactory; +using ICSharpCode.SharpDevelop; +using ICSharpCode.SharpDevelop.Bookmarks; +using ICSharpCode.SharpDevelop.Editor; + +namespace Debugger.AddIn.Pads.ParallelPad +{ + /// + /// Description of SelectedFrameBookmark. + /// + public class SelectedFrameBookmark : SDMarkerBookmark + { + public static readonly IImage SelectedFrameImage = new ResourceServiceImage("Icons.48x48.CurrentFrame"); + + public SelectedFrameBookmark(FileName fileName, Location location) : base(fileName, location) + { + this.IsVisibleInBookmarkPad = false; + } + + /// + /// + /// + public override bool CanToggle { + get { + return false; + } + } + + /// + /// + /// + public override IImage Image { + get { + return SelectedFrameImage; + } + } + + protected override ITextMarker CreateMarker(ITextMarkerService markerService) + { + IDocumentLine line = this.Document.GetLine(this.LineNumber); + ITextMarker marker = markerService.Create(line.Offset, line.Length); + marker.BackgroundColor = Color.FromRgb(162, 208, 80); + marker.ForegroundColor = Colors.White; + return marker; + } + } +} diff --git a/src/Main/StartUp/Project/Resources/BitmapResources.resources b/src/Main/StartUp/Project/Resources/BitmapResources.resources index b22cc4a10d..0a22ae9a75 100644 Binary files a/src/Main/StartUp/Project/Resources/BitmapResources.resources and b/src/Main/StartUp/Project/Resources/BitmapResources.resources differ