1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-14 14:24:10 +02:00

Fixes for new override system

This commit is contained in:
Brian Fiete 2020-02-21 06:18:19 -08:00
parent 5d1a9e6873
commit 7d64d6dd21
4 changed files with 4 additions and 4 deletions

View file

@ -5341,7 +5341,7 @@ namespace IDE
return DarkTheme.sDarkTheme.mSmallFont.GetWidth(mLabel) + DarkTheme.GetScaled(40);
}
public override void Activate(bool setFocus)
public override void Activate(bool setFocus = true)
{
base.Activate(setFocus);

View file

@ -40,7 +40,7 @@ namespace IDE.ui
mClassViewPanel.Resize(0, 0, width, height - GS!(34));
}
public override void PopupWindow(WidgetWindow parentWindow, float offsetX, float offsetY)
public override void PopupWindow(WidgetWindow parentWindow, float offsetX = 0, float offsetY = 0)
{
base.PopupWindow(parentWindow, offsetX, offsetY);
mClassViewPanel.[Friend]mSearchEdit.SetFocus();

View file

@ -1462,7 +1462,7 @@ namespace IDE.ui
PasteText(theString, false);
}
public override void InsertAtCursor(String theString, InsertFlags insertFlags)
public override void InsertAtCursor(String theString, InsertFlags insertFlags = .None)
{
var insertFlags;

View file

@ -4350,7 +4350,7 @@ namespace IDE.ui
Content.Data.mCurQuickFind = mQuickFind;
}
public override void FindNext(int32 dir)
public override void FindNext(int32 dir = 1)
{
var activePanel = GetActivePanel();
if (activePanel != this)