In progress...

This commit is contained in:
Kolan Sh 2018-01-22 18:40:59 +03:00
parent 8aeadccda2
commit 5c556195e3
1 changed files with 17 additions and 7 deletions

View File

@ -10,32 +10,42 @@ namespace CairoChart {
protected Point active_cursor = Point(); // { get; protected set; default = Point128 (); } protected Point active_cursor = Point(); // { get; protected set; default = Point128 (); }
protected bool is_cursor_active = false; // { get; protected set; default = false; } protected bool is_cursor_active = false; // { get; protected set; default = false; }
/**
* ``Cursors`` lines orientation.
*/
protected enum Orientation { protected enum Orientation {
VERTICAL = 0, /**
* Vertical cursors.
*/
VERTICAL,
/**
* Horizontal cursors.
*/
HORIZONTAL HORIZONTAL
} }
/** /**
* * ``Cursors`` style.
*/ */
protected struct Style { public struct Style {
/** /**
* * ``Cursors`` lines orientation.
*/ */
public Orientation orientation; public Orientation orientation;
/** /**
* * Maximum distance between mouse and cursor to remove it.
*/ */
public double select_distance; public double select_distance;
/** /**
* * ``Cursors`` line style.
*/ */
public LineStyle line_style; public LineStyle line_style;
/** /**
* * Constructs a new ``Style``.
*/ */
public Style () { public Style () {
orientation = Orientation.VERTICAL; orientation = Orientation.VERTICAL;