Wojtek Figat
f3c957481c
Merge remote-tracking branch 'origin/master' into 1.12
...
# Conflicts:
# Source/Editor/GUI/Dialogs/ColorPickerDialog.cs
# Source/Editor/GUI/Dialogs/ColorSelector.cs
2026-03-24 23:41:58 +01:00
Saas
d163064f95
fix hv wheel selector
2026-03-05 20:33:18 +01:00
Saas
c62b3f7624
improve color picker layout and accept color behaviour
...
- Color will accept on close dialog or focus loss
- Color will cancel on ESC press
- Increased saved colors count from 8 to 10
- Moved RGB and HSV into tabbed interface
- Moved eyedropper icon
- Removed "Auto Accept Color Picker Change" option since there are no "Cancel" or "OK" button anymore
- Made sure to reset cursor type when the color picker is closed
2026-03-04 17:53:27 +01:00
Saas
66b4c64f98
polish sliders and wheel
...
- Hide mouse cursor when clicking on wheel or sliders
- Move mouse position to knob position when letting go of slider or wheel
- Show mouse again when letting go of slider or wheel (obviously)
- Provide some visual feedback when the clicks on the wheel or sliders
- Make sliders wider
- Add alpha grid background to alpha slider
2026-03-04 15:17:47 +01:00
Saas
b9b11b3c2a
loop Hue value box
2026-03-03 23:49:16 +01:00
Saas
feca1c7994
replace HW with material instead of sprite
2026-03-03 23:44:24 +01:00
Wojtek Figat
019a9f6089
Merge ScreenUtilities into Platform for simplicity and make it Editor-only
...
#2800
2026-02-11 17:59:11 +01:00
Wojtek Figat
ee22b9dc25
Merge branch 'sdl_platform' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-sdl_platform
...
# Conflicts:
# Source/Editor/GUI/Dialogs/ColorPickerDialog.cs
# Source/Editor/Modules/UIModule.cs
2026-02-11 14:08:57 +01:00
Wojtek Figat
ab806b2a9b
Add checkerboard pattern to part of the alpha slider background in color picker
2026-01-12 18:53:56 +01:00
Wojtek Figat
610ba00915
Add support for picking colors in linear color space (with toggle for special cases like UI)
2026-01-12 18:50:44 +01:00
1d8f221f1b
Merge remote-tracking branch 'origin/1.11' into sdl_platform_1.11
...
# Conflicts:
# Source/Engine/Platform/Windows/WindowsPlatform.cpp
# Source/Tools/Flax.Build/Build/ProjectTarget.cs
# Source/Tools/Flax.Build/Configuration.cs
2025-09-07 19:31:16 +03:00
Wojtek Figat
9646dd3fc2
Fix AutoFocus on ContainerControl to be false by default
2025-07-15 12:33:33 +02:00
6d337464f7
Support XDG Desktop Portal as color picker provider
...
Wayland and XWayland fallback implementation uses XDP in
order to query picked color from desktop.
2025-06-24 16:41:32 +03:00
Wojtek Figat
9c3fd052cd
Remove copyright year from source files and update to 2025
2025-04-07 19:22:21 +02:00
Wojtek Figat
45e83d6d15
Add feedback from PVS (static code analyzer)
...
https://pvs-studio.com/en/blog/posts/cpp/1153/
2024-08-15 13:01:40 +02:00
Wojtek Figat
6cdd56ad11
Merge branch 'colorPickerAlwaysChangesColor' of https://github.com/Arcnor/FlaxEngine into Arcnor-colorPickerAlwaysChangesColor
...
# Conflicts:
# Source/Editor/Options/InterfaceOptions.cs
2024-07-25 10:06:05 +02:00
Wojtek Figat
5c23f4ac09
Fix project cache in editor to use invariant culture when converting numbers
2024-05-30 17:22:30 +02:00
Chandler Cox
185f24ce49
Fix value alpha transparency being applied twice to preview color.
2024-05-11 20:19:51 -05:00
Chandler Cox
b2fee31a13
Add checkerboard background to color picker dialog color.
2024-05-10 20:30:14 -05:00
Chandler Cox
4a6afdb108
Small fixes for color picker.
2024-05-07 08:41:23 -05:00
Wojtek Figat
859c420d76
Update year in copyright note
2024-02-26 19:00:48 +01:00
Chandler Cox
b85ec46545
Change selected color.
2023-12-16 22:05:04 -06:00
Chandler Cox
272a147c2e
Add saved colors to color picker.
2023-12-16 20:36:27 -06:00
MineBill
151c6bc6c3
Fix color picker dialog not staying inside the current screen.
2023-11-01 20:07:58 +02:00
nothingTVatYT
48a5fe54e8
keep auto-close for non-Linux platforms
2023-10-16 01:13:06 +02:00
nothingTVatYT
c42a264944
removed a left over debug statement
2023-10-16 01:08:47 +02:00
nothingTVatYT
d1b2b64cd1
fix color picker (signal handler + alpha channel)
2023-10-15 21:43:15 +02:00
Wojtek Figat
3ac7c4e0ee
Codestyle fix
2023-10-09 23:21:02 +02:00
Edu Garcia
2bec653b81
Add color picker option to accept changes on dismissal
2023-10-07 10:15:17 +01:00
Nils Hausfeld
b6ad252305
- Removed unnecessary null-conditional operator
...
- Removed unnecessary Float2 allocation
2023-09-23 19:14:06 +02:00
Nils Hausfeld
963300c2cb
- Implemented shift tab support for Container Controls
2023-09-23 11:56:45 +02:00
Wojtek Figat
62946f6359
Cleanup and improve code from #1109
2023-05-28 16:12:32 +02:00
Menotdan
1d079842f6
Add Mac screen utilities, and removed an unneeded log.
2023-05-17 23:57:23 -04:00
Menotdan
a870513086
Color picker finally works, refactored the code.
2023-05-16 13:54:25 -04:00
Menotdan
2a7a07d2fc
Add a delegate, unfortunately it doesn't work?
2023-05-15 20:44:18 -04:00
Menotdan
f94ae3f3fd
Add mouse hook to the color picker.
2023-05-11 13:20:43 -04:00
Menotdan
4144c22dc4
Working demo of colorpicker eyedropper
2023-05-10 13:41:24 -04:00
Menotdan
2ce727d994
Correctly implement the ScreenUtils class
2023-05-10 13:34:28 -04:00
Menotdan
59c54db275
Implement C# callback for pixels finished reading
2023-05-10 00:58:38 -04:00
Menotdan
1ebf4d49e5
trying to get the correct window
2023-05-09 16:49:03 -04:00
Menotdan
c73ab05d70
Rather odd attempt to screenshot the view
2023-05-09 16:14:37 -04:00
Menotdan
ec60c90963
Implement basic design of the eyedropper button.
2023-05-08 15:59:19 -04:00
Wojciech Figat
9626e9bbb6
Update copyright year
2023-01-10 15:29:37 +01:00
Wojtek Figat
8d990018b5
Fix preserving Alpha channel when changing color with Value slider
2022-08-03 18:15:42 +02:00
Wojtek Figat
a881c90b2e
Refactor engine to support double-precision vectors
2022-06-13 00:40:32 +02:00
Wojciech Figat
8c2241c6dc
Update copyright year
2022-01-14 13:31:12 +01:00
Wojciech Figat
ae8d6ba433
Fix color trackball usage with undo
2021-12-21 22:21:11 +01:00
Wojciech Figat
af75751bf1
Add Tab navigation for Editor UI
2021-12-21 18:14:55 +01:00
Wojciech Figat
5f4bfa36d8
Add various usability improvements to the Editor
2021-12-13 17:31:59 +01:00
Wojciech Figat
79d393b3ef
Fix HSV value adjusting in Color picker to not exceed 1
...
#437
2021-12-09 17:11:04 +01:00