ResizedEventArgs.cs 827 B

1234567891011121314151617181920212223242526272829303132
  1. //
  2. // Core.cs: The core engine for gui.cs
  3. //
  4. // Authors:
  5. // Miguel de Icaza ([email protected])
  6. //
  7. // Pending:
  8. // - Check for NeedDisplay on the hierarchy and repaint
  9. // - Layout support
  10. // - "Colors" type or "Attributes" type?
  11. // - What to surface as "BackgroundCOlor" when clearing a window, an attribute or colors?
  12. //
  13. // Optimizations
  14. // - Add rendering limitation to the exposed area
  15. using System;
  16. namespace Terminal.Gui {
  17. /// <summary>
  18. /// Event arguments for the <see cref="Application.Resized"/> event.
  19. /// </summary>
  20. public class ResizedEventArgs : EventArgs {
  21. /// <summary>
  22. /// The number of rows in the resized terminal.
  23. /// </summary>
  24. public int Rows { get; set; }
  25. /// <summary>
  26. /// The number of columns in the resized terminal.
  27. /// </summary>
  28. public int Cols { get; set; }
  29. }
  30. }