specify positioning item for popup menus
This commit is contained in:
parent
7842a657d0
commit
072ab0ddea
7 changed files with 20 additions and 10 deletions
|
@ -20,7 +20,7 @@ void MenuViews::Popup(Window* window) {
|
|||
PopupAtPoint(window, gfx::Screen::GetNativeScreen()->GetCursorScreenPoint());
|
||||
}
|
||||
|
||||
void MenuViews::PopupAt(Window* window, int x, int y) {
|
||||
void MenuViews::PopupAt(Window* window, int x, int y, int positioningItem) {
|
||||
NativeWindow* native_window = static_cast<NativeWindow*>(window->window());
|
||||
if (!native_window)
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue