Skip to main content

Arlecchino.Modals.Setting

Classes

TypeSummary
ColorModalA color picked on three sliders: hue, saturation and lightness, converted to Rgb on the way out. Both directions round to whole units, so feeding a color back in can shift it by one.
DateModalA calendar date, edited as year, month and day, and kept inside both the bounds and the calendar at every step. A day the new month does not have is pulled back to its last.
SegmentedModalA value edited as a row of fixed-width number segments, the way dates and times are. Digits are collected per segment and only applied once the segment fills up, so a half-typed segment never produces a nonsensical intermediate value.
SliderModalA value inside a range, adjusted by arrows or by dragging the track. There is nothing to type, so the value is always valid, and the dialog never reports an error.
TimeModalA time of day, edited as hours and minutes on a 24-hour clock. Everything wraps: stepping past midnight comes back around instead of stopping.
ToggleModalA yes-or-no answer, flipped with the arrows or picked by clicking one of the two chips.

Interfaces

TypeSummary
IBoundedModalA value that moves in steps between two ends. Shared by the number field and the slider, so the stepping keys work the same in both.

Enums

TypeSummary
ColorChannelOne of the three sliders in the color dialog.