Application.Screen.cs 745 B

1234567891011121314151617181920212223
  1. namespace Terminal.Gui.App;
  2. public static partial class Application // Screen related stuff; intended to hide Driver details
  3. {
  4. /// <inheritdoc cref="IApplication.Screen"/>
  5. [Obsolete ("The legacy static Application object is going away.")]
  6. public static Rectangle Screen
  7. {
  8. get => ApplicationImpl.Instance.Screen;
  9. set => ApplicationImpl.Instance.Screen = value;
  10. }
  11. /// <inheritdoc cref="IApplication.ClearScreenNextIteration"/>
  12. [Obsolete ("The legacy static Application object is going away.")]
  13. internal static bool ClearScreenNextIteration
  14. {
  15. get => ApplicationImpl.Instance.ClearScreenNextIteration;
  16. set => ApplicationImpl.Instance.ClearScreenNextIteration = value;
  17. }
  18. }