mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 16:59:35 +01:00
* initial commit * All tests pass * Updated readme * Revert "All tests pass" This reverts commit94ac462350. * Revert "initial commit" This reverts commit36d92cc4e5. * Moved Terminal.Gui files around * Nuked .Graphs namespace * Nuked .Graphs namespace * Nuked .Trees namespace * Nuked .Configuration namespace * Nuked .Configuration namespace * All tests pass * tweaked tests * removed unneeded usings * re-enabled scrollview tests * move scrollview test to ScrollViewTests * Moved view navigation related tests to separate cs file * Moved view scrollbarview related tests ScrollBarTestse * Refactored View tests into smaller files * Refactored driver tests * Fixed a ton of BUGBUGs
This commit is contained in:
30
Terminal.Gui/Input/MouseFlagsChangedEventArgs.cs
Normal file
30
Terminal.Gui/Input/MouseFlagsChangedEventArgs.cs
Normal file
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
|
||||
namespace Terminal.Gui {
|
||||
/// <summary>
|
||||
/// Args for events that describe a change in <see cref="MouseFlags"/>
|
||||
/// </summary>
|
||||
public class MouseFlagsChangedEventArgs : EventArgs {
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new instance of the <see cref="MouseFlagsChangedEventArgs"/> class.
|
||||
/// </summary>
|
||||
/// <param name="oldValue"></param>
|
||||
/// <param name="newValue"></param>
|
||||
public MouseFlagsChangedEventArgs (MouseFlags oldValue, MouseFlags newValue)
|
||||
{
|
||||
OldValue = oldValue;
|
||||
NewValue = newValue;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The old value before event
|
||||
/// </summary>
|
||||
public MouseFlags OldValue { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The new value
|
||||
/// </summary>
|
||||
public MouseFlags NewValue { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user