egui/crates/ecolor/src
Ivan bfed2b4195
Add `DragValue`s for RGB(A) in the color picker (#2734)
Added some DragValue widgets in the color_picker widget as input fields
for managing the RGBA values.
In case the provided values result in a not valid premultiplied alpha
RGBA color, a button will appear next to the input fields, to be used to
multiply the values with the alpha channel.


![image](https://user-images.githubusercontent.com/68190772/218438019-8b46936f-d025-4287-ac27-2b937f8f3d7c.png)

Closes <https://github.com/emilk/egui/issues/2716>.

---------

Co-authored-by: IVANMK-7 <68190772+IVANMK-7@users.noreply.github.com>
Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
Co-authored-by: Brian Janssen <tosti007@users.noreply.github.com>
2024-01-07 16:12:59 +01:00
..
cint_impl.rs Split out ecolor crate (#2399) 2022-12-06 20:42:25 +01:00
color32.rs Typos and doc improvements 2023-12-22 17:33:01 +01:00
hex_color_macro.rs Rename `from_hex_string` -> `from_hex`, and `to_hex_string` -> `to_hex` (#3777) 2024-01-07 10:08:57 +01:00
hex_color_runtime.rs Rename `from_hex_string` -> `from_hex`, and `to_hex_string` -> `to_hex` (#3777) 2024-01-07 10:08:57 +01:00
hsva.rs Add `DragValue`s for RGB(A) in the color picker (#2734) 2024-01-07 16:12:59 +01:00
hsva_gamma.rs Split out ecolor crate (#2399) 2022-12-06 20:42:25 +01:00
lib.rs Add `Color32::from_hex_string` and `Color32::to_hex_string` (#3570) 2024-01-07 08:54:10 +01:00
rgba.rs Add `#[inline]` to all color-related function 2023-10-07 18:11:16 +02:00