Commit graph

66 commits

Author SHA1 Message Date
Rémi Verschelde
eabb9a63d4
Rename callable_method_pointer.h to callable_mp.h and include it explicitly
This allows removing it from `class_db.h`, significantly reducing the amount of files
that include it transitively.

Also includes some include cleanup in `control.h` and `rich_text_label.h` done while
ensure they don't depend on `callable_mp`.
2026-03-04 16:23:23 +01:00
Rémi Verschelde
8c0f175c94
Decouple RenderingServer from as much of the codebase as possible
Notably decouples it from:
- AccessibilityServer
- DisplayServer
- Viewport
- Window
2026-03-03 12:48:07 +01:00
Thaddeus Crews
e380a41752
Style: Add class_db.h includes explicitly 2026-02-26 15:50:28 -06:00
Chaosus
ef933c9235 Add smooth to the changing of properties values in visual shader 2026-02-23 14:11:29 +03:00
lev
610918795e Evaluating empty EditorSpinSliders to 0 2026-02-19 13:46:20 +03:00
Aaron Franke
d9c3c87eaa
Increase float precision in the inspector for Quaternions 2026-02-03 13:45:13 -08:00
Nintorch
eb019511ed Optimize files that #include input.h header 2026-01-28 14:21:00 +05:00
Michael Alexsander
22fdb1c547
Fix sizing problems with EditorSpinSlider 2026-01-12 11:00:55 -03:00
Michael Alexsander
051f7c2ca2
Fix EditorSpinSlider overriding the custom minimum size 2025-12-05 19:26:12 -03:00
Michael Alexsander
034942557e
Fix issues with property height in the inspector 2025-12-01 23:14:33 -03:00
Thaddeus Crews
8327dfa215
Merge pull request #112092 from timothyqiu/ts-nums
Move localized number formatting methods to `TranslationServer`
2025-11-10 17:47:09 -06:00
kobewi
98141c3d73 Replace repetitive meta/ctrl condition with a method 2025-11-10 16:23:28 +01:00
Haoyu Qiu
72d437c030 Move localized number formatting methods to TranslationServer
Co-Authored-By: Pāvels Nadtočajevs <7645683+bruvzg@users.noreply.github.com>
2025-11-10 15:01:22 +08:00
Michael Alexsander
e32b9274a3
Fix UI focus being shown when it shouldn't 2025-11-03 17:00:05 -03:00
kobewi
a54b8b48a0 Fix EditorSpinSlider ignoring step 2025-11-01 23:16:38 +01:00
Thaddeus Crews
a20ca7bbfe
Merge pull request #110459 from YeldhamDev/let_the_poor_ints_slide
Allow to use sliders for integers in `EditorSpinSlider`
2025-09-22 13:28:52 -05:00
Thaddeus Crews
be421bcdd4
Merge pull request #110250 from YeldhamDev/i_just_cant_keep_focused
Hide `Control` focus when given via mouse input
2025-09-22 13:28:44 -05:00
Michael Alexsander
f16ff829f0
Allow to use sliders for integers in EditorSpinSlider 2025-09-22 11:23:15 -03:00
Michael Alexsander
aeb3a45c97
Hide Control focus when given via mouse input 2025-09-19 13:43:29 -03:00
Giganzo
3d6b4f9038 Add suffix to EditorSpinSlider tooltips 2025-07-24 21:51:45 +02:00
A Thousand Ships
f11aff3841
Editor: Restructure editor code
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00
kobewi
b41d6ecf8c Allow to override editor settings per project 2025-06-02 17:51:26 +02:00
Thaddeus Crews
ad40939b6f
Core: Replace C math headers with C++ equivalents
- Minor restructuring to ensure `math_funcs.h` is the central point for math functions
2025-04-16 15:49:02 -05:00
A Thousand Ships
889410dcda
Add String::replace_char(s) methods for performance and convenience 2025-04-10 13:08:45 +02:00
Thaddeus Crews
51201cb549
Merge pull request #105041 from lodetrick/editor-spin-slider-consume-input
Fix EditorSpinSlider Scroll Edit when inside a ScrollContainer
2025-04-07 08:43:29 -05:00
Logan Detrick
c361e60cfa Fix Grabber Double Scaling when zoomed 2025-04-07 01:05:00 -07:00
Logan Detrick
97651fd4ac Consumes Scroll Events and fixes Mouse Warp 2025-04-04 18:07:47 -07:00
Pāvels Nadtočajevs
e47207ad16
Fix updating editor icons on translation change. 2025-03-28 15:04:32 +02:00
kobewi
10f6c01b9c Remove ABS in favor of Math::abs 2025-03-19 13:52:40 +01:00
Hugo Locurcio
57700b0563
Make EditorSpinSlider display a slider for floats with a step of 1.0
Integers still don't display a slider (and use up/down arrows instead),
so that they can be quickly distinguished from floats in the inspector.

However, this now makes floats with a step of 1.0 look different
from integers in the inspector.
2025-01-22 23:03:01 +01:00
Pāvels Nadtočajevs
b252867145 [macOS/Windows] Add Emoji & Symbols context menu item to LineEdit/TextEdit to show system character picker. 2025-01-10 09:25:34 +02:00
bruvzg
cc1db569e1 [TextServer] Improve embedded objects handling performance. 2025-01-07 08:01:29 +02:00
A Thousand Ships
af56d6e8e8
Use SceneStringName in more places 2024-12-02 14:39:16 +01:00
Silc Lizard (Tokage) Renew
e283fdfb59 Fix spinner in AnimationTrackEdit in FPS mode 2024-11-17 01:54:06 +09:00
Thaddeus Crews
9374e8da32
Merge pull request #97946 from WhalesState/editor-spin-slider
Fix `EditorSpinSlider` grabber `TextureRect` doesn't follow parent when scrolling.
2024-11-12 09:27:42 -06:00
Mounir Tohami
5862da6f90 Fix EditorSpinSlider grapper TextureRect doesn't follow parent when scrolling. 2024-10-07 18:34:39 +00:00
passivestar
16f3d52253 Fix EditorSpinSlider blocking viewport from getting focus 2024-09-10 14:44:47 +04:00
matheusmdx
1eacd1fd0e Fix is_inside_tree error when inspecting an Environment resource 2024-09-07 12:45:07 -03:00
Haoyu Qiu
8c5121d445 Remove duplicated read only checks in EditorSpinSlider
Also made read only checks in EditorSpinSlider's implementation to use
`read_only` directly for consistency.
2024-09-06 08:13:46 +08:00
detomon
88f1b679f3 Prevent editing value on focus when EditorSpinSlider is read-only 2024-09-05 15:26:09 +02:00
Rémi Verschelde
5a61e10e09
Merge pull request #89265 from davthedev/spinbox-buttons-refactor
Improve SpinBox interaction, split arrows, add theme attributes
2024-08-27 16:54:39 +02:00
David Giardi
e371587147 Improve SpinBox interaction, split arrows, add theme attributes 2024-08-23 18:21:20 +02:00
kit
d357a7d0f9 Fix EditorSpinSlider when hidden 2024-08-01 12:14:56 -04:00
Rémi Verschelde
ef3443ef35
Merge pull request #93165 from passivestar/scenetree-shortcut-focus
Prevent node rename shortcut from stealing focus from controls
2024-07-17 11:42:38 +02:00
passivestar
09f967bc00 Prevent node rename shortcut from stealing focus from controls 2024-07-09 16:29:35 +04:00
A Thousand Ships
d519715d94
[Scene] Add SceneStringNames::font(_size/_color) 2024-06-18 17:24:27 +02:00
A Thousand Ships
cade5b88d9
Use CoreStringNames::normal in more places 2024-05-30 22:57:54 +02:00
kobewi
413c11357d Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +02:00
kit
5fd23730eb Fix editor spin slider RTL and margin 2024-05-02 08:34:46 -04:00
A Thousand Ships
56b05a5a3d
[Editor] Remove redundant code from EditorSpinSlider 2024-03-15 15:03:12 +01:00