mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-26 02:14:22 +00:00
Merge 984fc9476f into d6181bde38
This commit is contained in:
commit
8a99bc1a71
7 changed files with 54 additions and 9 deletions
|
|
@ -2032,6 +2032,17 @@ static PopupMenu::Options with (PopupMenu::Options options, Member&& member, Ite
|
|||
return options;
|
||||
}
|
||||
|
||||
PopupMenu::Options PopupMenu::Options::withSelectableAreaLeftInset (int xInsetAmount) const
|
||||
{
|
||||
return with (*this, &Options::selectableAreaLeftInset, xInsetAmount);
|
||||
}
|
||||
|
||||
PopupMenu::Options PopupMenu::Options::withSelectableAreaRightInset (int xInsetAmount) const
|
||||
{
|
||||
return with (*this, &Options::selectableAreaRightInset, xInsetAmount);
|
||||
}
|
||||
|
||||
|
||||
PopupMenu::Options PopupMenu::Options::withTargetComponent (Component* comp) const
|
||||
{
|
||||
auto o = with (with (*this, &Options::targetComponent, comp), &Options::topLevelTarget, comp);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue