cushy/src/widgets
Jonathan Johnson d701e179ae
Fixing ComponentPicker<Alpha>'s loupe coloring
The previous fix was a fix in contrast_between. However, I then
convinced myself that the selected color was changing when it wasn't
purely because the alpha picker utilizes a checkeboard pattern, and I
was specifically testing grayscale values.

Aka, I was reproducing the "different grays" optical illusion using the
loupe outline color and driving myself crazy trying to figure out what
my code was doing, when in reality it wasn't doing anything.

The real fix? Don't ask for contrast between two similar colors.
OutlineColor and TextColor are both meant to be contrasting colors to
SurfaceColor, which is the background color. The loupe color really
should have switched between any surface-type color and any
foreground-type color, but it instead was asking for two different
foreground colors.
2024-01-11 07:10:45 -08:00
..
align.rs FlexibleDimension now implements Zero 2024-01-08 09:07:17 -08:00
button.rs Added animation recording + event wiring 2024-01-03 17:45:11 -08:00
canvas.rs Initial implementation of offscreen rendering 2024-01-03 11:35:43 -08:00
checkbox.rs Initial implementation of offscreen rendering 2024-01-03 11:35:43 -08:00
collapse.rs Initial implementation of offscreen rendering 2024-01-03 11:35:43 -08:00
color.rs Fixing ComponentPicker<Alpha>'s loupe coloring 2024-01-11 07:10:45 -08:00
container.rs Initial implementation of offscreen rendering 2024-01-03 11:35:43 -08:00
custom.rs Guide intro + KeyEvent 2024-01-06 14:46:48 -08:00
data.rs Removed UnwindSafe bounds 2023-12-20 11:35:19 -08:00
disclose.rs Added animation recording + event wiring 2024-01-03 17:45:11 -08:00
expand.rs Initial implementation of offscreen rendering 2024-01-03 11:35:43 -08:00
grid.rs Initial implementation of offscreen rendering 2024-01-03 11:35:43 -08:00
image.rs Initial implementation of offscreen rendering 2024-01-03 11:35:43 -08:00
input.rs Guide intro + KeyEvent 2024-01-06 14:46:48 -08:00
label.rs Initial implementation of offscreen rendering 2024-01-03 11:35:43 -08:00
layers.rs Children renamed to WidgetList 2024-01-09 13:26:14 -08:00
mode_switch.rs Initial implementation of offscreen rendering 2024-01-03 11:35:43 -08:00
progress.rs Initial implementation of offscreen rendering 2024-01-03 11:35:43 -08:00
radio.rs Initial implementation of offscreen rendering 2024-01-03 11:35:43 -08:00
resize.rs Initial implementation of offscreen rendering 2024-01-03 11:35:43 -08:00
scroll.rs Added animation recording + event wiring 2024-01-03 17:45:11 -08:00
select.rs Source<T> + Destination<T> (breaking) 2024-01-02 09:00:29 -08:00
slider.rs Guide intro + KeyEvent 2024-01-06 14:46:48 -08:00
space.rs Space fix 2024-01-06 10:25:45 -08:00
stack.rs Children renamed to WidgetList 2024-01-09 13:26:14 -08:00
style.rs Initial implementation of offscreen rendering 2024-01-03 11:35:43 -08:00
switcher.rs Initial implementation of offscreen rendering 2024-01-03 11:35:43 -08:00
themed.rs Initial implementation of offscreen rendering 2024-01-03 11:35:43 -08:00
tilemap.rs Guide intro + KeyEvent 2024-01-06 14:46:48 -08:00
validated.rs Initial implementation of offscreen rendering 2024-01-03 11:35:43 -08:00
wrap.rs Children renamed to WidgetList 2024-01-09 13:26:14 -08:00