Skip to main content

inset

Function inset 

Source
pub fn inset(y: i32, h: i32, row: f32, line: f32) -> (f32, f32)
Expand description

Where a button on a row’s wash stands, as a top and a height in pixels: at the height it has on the terminal’s line, in the middle of where it stood. stood grows a button to a control’s height on a taller row, which is the height of the wash behind a pointed row, so a button on one was exactly as tall as the wash. Kept at the line’s height, a button of 32 px on a wash of 39 has the wash 4 px over it and under it.