mirror of
https://github.com/SourMesen/Mesen.git
synced 2025-04-02 10:52:48 -04:00
Debugger - Added missing file
This commit is contained in:
parent
a37354fbc1
commit
1591c312cc
1 changed files with 61 additions and 0 deletions
|
@ -0,0 +1,61 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Mesen.GUI.Debugger.Controls
|
||||
{
|
||||
public abstract class BaseScrollableTextboxUserControl : UserControl
|
||||
{
|
||||
protected abstract ctrlScrollableTextbox ScrollableTextbox
|
||||
{
|
||||
get;
|
||||
}
|
||||
|
||||
[DefaultValue(13F)]
|
||||
public float FontSize
|
||||
{
|
||||
get { return this.ScrollableTextbox.FontSize; }
|
||||
set { this.ScrollableTextbox.FontSize = value; }
|
||||
}
|
||||
|
||||
public void OpenSearchBox()
|
||||
{
|
||||
this.ScrollableTextbox.OpenSearchBox();
|
||||
}
|
||||
|
||||
public void FindNext()
|
||||
{
|
||||
this.ScrollableTextbox.FindNext();
|
||||
}
|
||||
|
||||
public void FindPrevious()
|
||||
{
|
||||
this.ScrollableTextbox.FindPrevious();
|
||||
}
|
||||
|
||||
public void GoToAddress()
|
||||
{
|
||||
this.ScrollableTextbox.GoToAddress();
|
||||
}
|
||||
|
||||
public int GetCurrentLine()
|
||||
{
|
||||
return this.ScrollableTextbox.CurrentLine;
|
||||
}
|
||||
|
||||
public void ScrollToTop()
|
||||
{
|
||||
this.ScrollableTextbox.ScrollToLineNumber(0);
|
||||
}
|
||||
|
||||
public string GetWordUnderLocation(Point position)
|
||||
{
|
||||
return this.ScrollableTextbox.GetWordUnderLocation(position);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue