modified PopupLayout

This commit is contained in:
2026-08-09 20:24:21 +05:00
parent 1fc9765a3d
commit 163b86d239
6 changed files with 193 additions and 69 deletions
+21
View File
@@ -0,0 +1,21 @@
namespace CursorLang.Services;
/// <summary>
/// The popup window as seen by whoever decides when it is shown.
/// </summary>
/// <remarks>
/// The window picks its place and size itself, and only three actions are needed from
/// it on the outside. The tests check the work of the popup service through the same
/// interface: there is no point bringing up a real window to check a timer.
/// </remarks>
public interface ILayoutPopupWindow
{
/// <summary>Shows the window at the place set by the settings.</summary>
void ShowPopup();
/// <summary>Takes the window off the screen without destroying it.</summary>
void Hide();
/// <summary>Closes the window for good.</summary>
void Close();
}