1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/External/OxyPlot/OxyPlot/PlotModel/OxyMouseButton.cs Sat Jun 08 16:53:22 2013 +0000
1.3 @@ -0,0 +1,67 @@
1.4 +// --------------------------------------------------------------------------------------------------------------------
1.5 +// <copyright file="OxyMouseButton.cs" company="OxyPlot">
1.6 +// The MIT License (MIT)
1.7 +//
1.8 +// Copyright (c) 2012 Oystein Bjorke
1.9 +//
1.10 +// Permission is hereby granted, free of charge, to any person obtaining a
1.11 +// copy of this software and associated documentation files (the
1.12 +// "Software"), to deal in the Software without restriction, including
1.13 +// without limitation the rights to use, copy, modify, merge, publish,
1.14 +// distribute, sublicense, and/or sell copies of the Software, and to
1.15 +// permit persons to whom the Software is furnished to do so, subject to
1.16 +// the following conditions:
1.17 +//
1.18 +// The above copyright notice and this permission notice shall be included
1.19 +// in all copies or substantial portions of the Software.
1.20 +//
1.21 +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
1.22 +// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
1.23 +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
1.24 +// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
1.25 +// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
1.26 +// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
1.27 +// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1.28 +// </copyright>
1.29 +// <summary>
1.30 +// The mouse buttons.
1.31 +// </summary>
1.32 +// --------------------------------------------------------------------------------------------------------------------
1.33 +namespace OxyPlot
1.34 +{
1.35 + /// <summary>
1.36 + /// Specifies constants that define which mouse button was pressed.
1.37 + /// </summary>
1.38 + public enum OxyMouseButton
1.39 + {
1.40 + /// <summary>
1.41 + /// No mouse button.
1.42 + /// </summary>
1.43 + None = 0,
1.44 +
1.45 + /// <summary>
1.46 + /// The left mouse button.
1.47 + /// </summary>
1.48 + Left = 1,
1.49 +
1.50 + /// <summary>
1.51 + /// The middle mouse button.
1.52 + /// </summary>
1.53 + Middle = 2,
1.54 +
1.55 + /// <summary>
1.56 + /// The right mouse button.
1.57 + /// </summary>
1.58 + Right = 3,
1.59 +
1.60 + /// <summary>
1.61 + /// The first extended mouse button.
1.62 + /// </summary>
1.63 + XButton1 = 4,
1.64 +
1.65 + /// <summary>
1.66 + /// The second extended mouse button.
1.67 + /// </summary>
1.68 + XButton2 = 5,
1.69 + }
1.70 +}
1.71 \ No newline at end of file