In progress...
This commit is contained in:
parent
8aeadccda2
commit
5c556195e3
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue