1
// IWindowingService.cs
3
// GNOME Do is the legal property of its developers. Please refer to the
4
// COPYRIGHT file distributed with this source distribution.
6
// This program is free software: you can redistribute it and/or modify it
7
// under the terms of the GNU General Public License as published by the Free
8
// Software Foundation, either version 3 of the License, or (at your option)
11
// This program is distributed in the hope that it will be useful, but WITHOUT
12
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
16
// You should have received a copy of the GNU General Public License along with
17
// this program. If not, see <http://www.gnu.org/licenses/>.
25
internal class WindowingService : IWindowingService
28
#region Windowing.Implementation
30
public void ShowMainMenu (int x, int y)
32
UI.MainMenu.Instance.PopupAtPosition (x, y);
35
public void ShowMainMenu (PositionMenu menuPositioner)
37
UI.MainMenu.Instance.PopupWithPositioner (menuPositioner);
40
public void SummonMainWindow ()
42
Do.Controller.Summon ();