1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-07-04 15:26:00 +02:00

Minor IDE modifications

This commit is contained in:
Brian Fiete 2019-09-29 07:44:23 -07:00
parent f8d4d0ded0
commit 908dbe1a6e
8 changed files with 97 additions and 31 deletions

View file

@ -248,6 +248,11 @@ namespace Beefy.widgets
SetFocus();
}
public virtual void WindowCreated()
{
}
public virtual void PopupWindow(WidgetWindow parentWindow, float offsetX = 0, float offsetY = 0)
{
if (mClosed)
@ -295,6 +300,7 @@ namespace Beefy.widgets
widgetWindow.mOnWindowCloseQuery.Add(windowCloseHandler);
widgetWindow.mOnWindowKeyDown.Add(new => WindowKeyDown);
WindowCreated();
}
public virtual bool HandleTab(int dir)