1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +00:00
Commit Graph

330 Commits

Author SHA1 Message Date
Pāvels Nadtočajevs
a272376f89 Cleanup accessibility names. 2025-06-23 11:08:36 +03:00
Rémi Verschelde
e0ca031eae Merge pull request #107249 from beicause/color-picker-ok-hs-hl-rectangles
ColorPicker: Add okhsl HS and HL rectangular picker shapes
2025-06-09 00:45:18 +02:00
Pāvels Nadtočajevs
22b5a2fc5c Change editor button focus mode to FOCUS_ACCESSIBILITY. 2025-06-08 15:53:27 +03:00
LuoZhihao
7b4c95e6d8 ColorPicker: Add okhsl HS and HL rectangular picker shapes 2025-06-07 22:30:40 +08:00
Michael Alexsander
454e4f817c Make build profile project detection also set build options 2025-06-03 11:11:33 -03:00
LuoZhihao
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
Haoyu Qiu
daaf4119de Improve ColorPicker 2025-04-30 11:50:35 +02:00
Pāvels Nadtočajevs
4cc50e40ec Fix ColorPicker preset button format string typo. 2025-04-28 08:03:52 +03:00
Pāvels Nadtočajevs
e6d3cf63fb [ColorPicker, macOS] Add link to request required screen recording permission. 2025-04-23 22:25:10 +03:00
Thaddeus Crews
4d48c8f69a Merge pull request #102240 from KoBeWi/RAWR
Fix ColorPicker sliders in overbright RGB
2025-04-22 10:44:24 -05:00
Pāvels Nadtočajevs
b106dfd4f9 Base accessibility API. 2025-04-08 20:14:28 +03:00
Rémi Verschelde
5045d549f9 Merge pull request #99515 from KoBeWi/shapez.godot
Refactor ColorPicker shapes
2025-03-19 14:53:57 +01:00
kobewi
ef0408e704 Refactor ColorPicker shapes 2025-03-18 18:57:26 +01:00
Thaddeus Crews
49fcd4ce46 Merge pull request #101546 from bruvzg/portal_color_picker
[Linux] Implement native color picker.
2025-03-17 10:52:29 -05:00
Konrad Gadzina
d51f33e1b4 Fix game crashes when adding color preset after clearing presets in another control 2025-03-16 13:19:04 +01:00
Haoyu Qiu
a7c1f2730f Add missing ETR/TTR markups 2025-03-12 20:12:33 +08:00
Konrad Gadzina
e6f812c056 Modify color in ColorPicker with keyboard or joypad 2025-03-11 22:41:41 +01:00
Thaddeus Crews
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
A Thousand Ships
331a43a9d8 Add String::remove_char(s) methods for performance and convenience 2025-03-10 13:19:28 +01:00
kobewi
92ab92114e Don't duplicate internal nodes 2025-03-07 16:08:53 +01:00
A Thousand Ships
5dcab0e606 Prevent some internal nodes being duplicated in Controls 2025-02-10 13:27:08 +01:00
LuoZhihao
67c2115c50 ColorPicker: allow other color wheels in okhsl mode
remove `get_shape_override` in ColorMode
2025-02-09 16:18:54 +08:00
Pāvels Nadtočajevs
09822ea1a9 Forward color picker preview mouse button events to the window underneath. 2025-02-08 10:16:03 +02:00
Pāvels Nadtočajevs
05ca80632d [Linux] Implement native color picker. 2025-02-03 16:30:44 +02:00
Thaddeus Crews
00564920d8 Merge pull request #101960 from Giganzo/colorpicker-swatches-menubutton
Fix ColorPicker load/save swatches button interactions
2025-01-31 09:15:37 -06:00
kobewi
66dffca1f2 Fix ColorPicker sliders in overbright RGB 2025-01-31 13:56:39 +01:00
Thaddeus Crews
3c3ff85d33 Merge pull request #101913 from Giganzo/color-hide-button
Fix ColorPicker hide save/load swatches for presets_visible
2025-01-28 16:08:58 -06:00
Giganzo
a36f064204 Fix ColorPicker load/save swatches button interactions 2025-01-22 19:23:29 +01:00
Giganzo
660b5af677 Fix ColorPicker Swatches button width 2025-01-22 16:33:53 +01:00
Giganzo
e9b164adf7 Fix ColorPicker hide save/load swatches for pressets_visible 2025-01-22 15:36:45 +01:00
WhalesState
6caadd57a9 ColorPicker remove unused children and fix sample bugs.
Remove an unused `VBoxContainer`.
Remove 3 unused children from grid (Label, Slider, SpinBox).
Ignore sample input when old color is not displayed.
Fix current color overbright position.
2025-01-17 18:12:36 +02:00
Pāvels Nadtočajevs
730495c215 Fix legacy color picker crash. 2025-01-14 08:25:18 +02:00
WhalesState
2eded468f9 Add ColorPicker cursor background and reuse the cursor for wheel.
Add a cursor's background to fill the picker cursor.
Unhardcode the wheel radius.
Reuse the picker cursor image for the HSV wheel.
2025-01-10 09:55:54 +02:00
WhalesState
989161e117 Fix color picking on linux. 2025-01-08 10:32:25 +02:00
Rémi Verschelde
8c78540d47 Merge pull request #100931 from beicause/color-picker-hue-accuracy-okhsl
ColorPicker: Improve the accuracy of hue slider in OKHSL mode
2025-01-06 22:48:01 +01:00
LuoZhihao
9eeeadb037 ColorPicker: Improve the accuracy of hue slider in OKHSL mode 2025-01-04 21:36:27 +08:00
LuoZhihao
47db9c0405 ColorPicker: Fix cursor position in OKHSL wheel 2024-12-30 22:25:20 +08:00
A Thousand Ships
a1846b27ea Improve use of Ref.is_null/valid
Use `is_null` over `!is_valid` and vice versa.
2024-12-23 16:35:02 -05:00
Yufeng Ying
73d85f46c9 Remove unused headers in scene.
Co-authored-by: Thaddeus Crews <repiteo@outlook.com>

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-12-24 00:40:09 +08:00
Chaosus
9a8d6628de [Scene] Add SceneStringName::hover 2024-12-11 11:11:25 +03:00
bruvzg
9fece033ab [macOS, Windows] Add support for excluding windows from a screenshot. 2024-12-10 11:00:13 +02:00
Nông Văn Tình
e6a49ab6ac Save color palette as resources to reuse later
Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>
2024-12-06 20:16:06 +07:00
Rémi Verschelde
204ce5a29a Merge pull request #99882 from vgezer/fixcolorpicker
Add horizontal center for ColorPicker buttons
2024-12-02 15:52:04 +01:00
A Thousand Ships
af56d6e8e8 Use SceneStringName in more places 2024-12-02 14:39:16 +01:00
Volkan Gezer
5baedb5826 add horizontal center for colorpicker buttons 2024-11-30 19:55:11 +01:00
kobewi
e0304a7d00 Add helper method to get Window from ID 2024-11-29 21:15:23 +01:00
Thaddeus Crews
0ee60dd543 Merge pull request #99516 from KoBeWi/quantum_entanglement_of_source_files
Untangle ColorPicker includes
2024-11-26 13:04:54 -06:00
kobewi
289e548e34 Untangle ColorPicker includes 2024-11-22 21:42:50 +01:00
LuoZhihao
f6751d8d17 ColorPicker: fix OKHSL circle in HSV mode 2024-11-21 13:26:05 +08:00
Aaron Franke
562c666e3d Rename internal Button icon to button_icon to match exposed methods 2024-10-29 16:23:03 -07:00