Struct split_controller::SplitController [] [src]

pub struct SplitController {
    pub value: f64,
    pub min_value: f64,
    pub border: f64,
    pub orientation: SplitOrientation,
    // some fields omitted
}

Stores information about an UI split.

Fields

The value of split.

The minimum value of split.

The border width.

The orientation of split.

Methods

impl SplitController
[src]

Creates a new SplitController.

Gets whether the split is currently being dragged by the user.

Handles event.

Gets the current state of split.

Gets line rectangle [x, y, w, h] from rectangle [x, y, w, h] of parent panel.