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:
parent
e508b8ded7
commit
76cb117e1f
7 changed files with 109 additions and 15 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue