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

Added View Whitespace for string viewer

This commit is contained in:
Brian Fiete 2020-03-02 06:24:21 -08:00
parent e508b8ded7
commit 76cb117e1f
7 changed files with 109 additions and 15 deletions

View file

@ -462,6 +462,18 @@ namespace Beefy
BFWindow_SetNonExclusiveMouseCapture(mNativeWindow);
}
public bool HasParent(BFWindow widgetWindow)
{
var checkParent = mParent;
while (checkParent != null)
{
if (checkParent == widgetWindow)
return true;
checkParent = checkParent.mParent;
}
return false;
}
public virtual void Closed()
{
if (mHasClosed)