Commit Graph

17 Commits

Author SHA1 Message Date
4ed86d347c Fix some localization issues in controls 2025-08-06 14:50:03 +02:00
8a9409257b ColorPicker: Add intensity slider
Add intensity slider to all color modes. Replace raw mode by linear mode, which uses linear color space.

When color is overbright, automatically switch hex text to script text. Allow executing expression in script text field to set color. Add the "script" icon to the default theme.
2025-05-23 12:45:29 +08:00
daaf4119de Improve ColorPicker 2025-04-30 11:50:35 +02:00
4d48c8f69a Merge pull request #102240 from KoBeWi/RAWR
Fix ColorPicker sliders in overbright RGB
2025-04-22 10:44:24 -05:00
ef0408e704 Refactor ColorPicker shapes 2025-03-18 18:57:26 +01:00
deb9705b77 Merge pull request #99662 from beicause/color-picker-wheels-in-okhsl
ColorPicker: Allow other color wheels in okhsl mode
2025-03-11 14:00:59 -05:00
324512e11c Style: Replace header guards with #pragma once 2025-03-07 17:33:47 -06:00
67c2115c50 ColorPicker: allow other color wheels in okhsl mode
remove `get_shape_override` in ColorMode
2025-02-09 16:18:54 +08:00
66dffca1f2 Fix ColorPicker sliders in overbright RGB 2025-01-31 13:56:39 +01:00
9eeeadb037 ColorPicker: Improve the accuracy of hue slider in OKHSL mode 2025-01-04 21:36:27 +08:00
289e548e34 Untangle ColorPicker includes 2024-11-22 21:42:50 +01:00
0d350e7108 Set clang-format RemoveSemicolon rule to true
- Set clang-format `Standard` rule to `c++20`
2024-10-25 13:49:43 -04:00
b37fc1014a Style: Apply new clang-format changes 2024-09-20 08:09:48 -05:00
d335155b46 Increase precision of RAW mode in ColorPicker
This sets the slider step to `0.001` but keeps SpinBox arrow increments
at `0.01`.
2023-10-23 18:33:56 +02:00
3f02b0cfde Moved HSV and OKHSL caching logic into color_mode 2023-07-05 07:15:58 -07:00
d95794ec8a One Copyright Update to rule them all
As many open source projects have started doing it, we're removing the
current year from the copyright notice, so that we don't need to bump
it every year.

It seems like only the first year of publication is technically
relevant for copyright notices, and even that seems to be something
that many companies stopped listing altogether (in a version controlled
codebase, the commits are a much better source of date of publication
than a hardcoded copyright statement).

We also now list Godot Engine contributors first as we're collectively
the current maintainers of the project, and we clarify that the
"exclusive" copyright of the co-founders covers the timespan before
opensourcing (their further contributions are included as part of Godot
Engine contributors).

Also fixed "cf." Frenchism - it's meant as "refer to / see".
2023-01-05 13:25:55 +01:00
0011d93c81 ColorPicker Refactor 2022-07-06 22:11:43 +05:30