specify positioning item for popup menus
This commit is contained in:
parent
7842a657d0
commit
072ab0ddea
7 changed files with 20 additions and 10 deletions
|
@ -52,7 +52,8 @@ class Menu : public mate::TrackableObject<Menu>,
|
|||
void MenuWillShow(ui::SimpleMenuModel* source) override;
|
||||
|
||||
virtual void Popup(Window* window) = 0;
|
||||
virtual void PopupAt(Window* window, int x, int y) = 0;
|
||||
virtual void PopupAt(Window* window, int x, int y,
|
||||
int positioningItem = 0) = 0;
|
||||
|
||||
scoped_ptr<AtomMenuModel> model_;
|
||||
Menu* parent_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue