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

Added watch lock, watch stack offsets (ie: {1}, {Func^2})

This commit is contained in:
Brian Fiete 2022-05-21 11:58:01 -07:00
parent 6833c12fc8
commit 56cc35f266
10 changed files with 558 additions and 35 deletions

View file

@ -131,6 +131,14 @@ namespace Beefy.theme.dark
CloseSubMenu();
}
}
if (mMenuItem.mTooltip != null)
{
if (DarkTooltipManager.CheckMouseover(this, 20, var mousePoint))
{
DarkTooltipManager.ShowTooltip(mMenuItem.mTooltip, this, mWidth + GS!(8), GS!(-8));
}
}
}
public override void Submit()

View file

@ -564,6 +564,7 @@ namespace Beefy.widgets
{
public Menu mParent;
public String mLabel ~ delete _;
public String mTooltip ~ delete _;
public List<Menu> mItems = new List<Menu>() ~ DeleteContainerAndItems!(_);
public Event<delegate void(Menu menu)> mOnMenuItemSelected ~ _.Dispose();