Rémi Verschelde
71066cd63b
Update copyright statements to 2022
...
Happy new year to the wonderful Godot community!
(cherry picked from commit a627cdafc5
)
2022-01-13 16:00:37 +01:00
Rémi Verschelde
8580cfb122
EditorSpinSlider: Add arg name for _value_input_gui_input binding
2021-11-01 15:02:44 +01:00
Zae
ee4c533ca6
[3.x] Fix EditorSpinSlider freezes editor when tabbing focus rapidly.
2021-10-15 16:52:45 +08:00
Francois Belair
d43a485e51
Add up/down keys to inc/dec val in spin slider
...
Back ported to 3.2.
2021-09-29 14:09:27 -04:00
Yuri Sizov
be491e248a
Make sure stylebox is valid in EditorSpinSlider before using it
2021-08-14 00:20:29 +03:00
Haoyu Qiu
a4dee07966
Use Command+Drag in EditSpinSlider on macOS
2021-08-02 19:09:04 +08:00
Rémi Verschelde
140350d767
Style: Enforce braces around if blocks and loops
...
Using clang-tidy's `readability-braces-around-statements`.
https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
2021-05-05 15:02:01 +02:00
Rémi Verschelde
a828398655
Style: Replaces uses of 0/NULL by nullptr (C++11)
...
Using clang-tidy's `modernize-use-nullptr`.
https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-nullptr.html
2021-05-04 16:30:23 +02:00
Rémi Verschelde
b5e1e05ef2
Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks
2021-05-04 14:45:16 +02:00
jmb462
592c0632a1
fix-EditorSpinSlider-grabber-zoomed-position
...
(cherry picked from commit 919b097b9e
)
2021-03-14 12:03:22 +01:00
Rémi Verschelde
49646383f1
Update copyright statements to 2021
...
Happy new year to the wonderful Godot community!
2020 has been a tough year for most of us personally, but a good year for
Godot development nonetheless with a huge amount of work done towards Godot
4.0 and great improvements backported to the long-lived 3.2 branch.
We've had close to 400 contributors to engine code this year, authoring near
7,000 commit! (And that's only for the `master` branch and for the engine code,
there's a lot more when counting docs, demos and other first-party repos.)
Here's to a great year 2021 for all Godot users 🎆
(cherry picked from commit b5334d14f7
)
2021-01-13 16:17:06 +01:00
Hugo Locurcio
ebff4c3e83
Allow using a comma as decimal separator in EditorSpinSlider
...
This closes https://github.com/godotengine/godot-proposals/issues/1576 .
(cherry picked from commit 3800e7d2ba
)
2020-09-29 13:57:57 +02:00
Hugo Locurcio
3bdb39bec4
Add a margin to EditorSpinSlider to visually line up the edited number
...
This means clicking on an EditorSpinSlider to edit its value will
no longer cause the number to be visually offset while it's
being edited.
(cherry picked from commit cc615fee5f
)
2020-07-24 09:34:58 +02:00
Dominik 'dreamsComeTrue' Jasiński
51a1a27457
Hide editor_spin_slider grabber when closing Editor's windows
...
Fixes : #38740
(cherry picked from commit 095167dcc3
)
2020-05-16 00:08:37 +02:00
Eric M
b7fbdf4bed
Updated editor spin slider to have better behaviour and adjusted control's size_flags_stretch_ratio value range
...
(cherry picked from commit 915ab50673
)
2020-05-06 23:30:28 +02:00
Rémi Verschelde
a7f49ac9a1
Update copyright statements to 2020
...
Happy new year to the wonderful Godot community!
We're starting a new decade with a well-established, non-profit, free
and open source game engine, and tons of further improvements in the
pipeline from hundreds of contributors.
Godot will keep getting better, and we're looking forward to all the
games that the community will keep developing and releasing with it.
2020-01-01 11:16:22 +01:00
Rafał Mikrut
9fd416abce
Fix dragging spinner without control
2019-11-05 15:53:19 +01:00
volzhs
f8a81e21db
Fix incorrect text rendering with smaller display scale
2019-10-24 22:29:41 +09:00
Hugo Locurcio
84d0f324c4
Improve Ctrl snapping in EditorSpinSlider
...
- Remove FPS dependency by using a simpler implementation that just
rounds the final number
- Make it possible to combine Ctrl and Shift together for slow,
precise snapping
2019-09-06 19:38:11 +02:00
Rémi Verschelde
af5bfd138a
Merge pull request #31346 from sparkart/Add_scrollwheel_input_to_spinslider
...
Add scrollwheel input to spin slider
2019-09-03 13:07:44 +02:00
Tomasz Chabora
8a0e6e23a7
Update Slider grabber position when using mouse wheel
2019-08-17 21:12:05 +02:00
Emmanuel Barroga
e89c4c22de
Add scrollwheel input to spin slider
...
Adds the ability to adjust the editor's spin slider using the mouse scrollwheel.
2019-08-13 22:10:10 -07:00
Emmanuel Barroga
26c5bac428
Fix Right-Click Menu Deselecting Edits Content
...
Right-clicking a property to open the context menu deselects the text field. This causes the context menu to be useless because it doesn't have anything to edit.
2019-08-12 03:39:27 -07:00
Rémi Verschelde
d844e30614
Inspector: Make default float step configurable
...
Also allow lifting the decimal step formatting with a hint range step
of 0. A new `range_step_decimals()` is added for this to avoid breaking
compatibility on the general purpose `step_decimals()` (which still
returns 0 for an input step of 0).
Supersedes #25470 .
Partial fix for #18251 .
2019-07-23 17:31:38 +02:00
marxin
8d51618949
Add -Wshadow=local to warnings and fix reported issues.
...
Fixes #25316 .
2019-02-20 19:44:12 +01:00
Rémi Verschelde
b16c309f82
Update copyright statements to 2019
...
Happy new year to the wonderful Godot community!
2019-01-01 12:58:10 +01:00
Rémi Verschelde
74bf67c3a6
Ensure cursor is visible when EditorSpinSlider exits the tree
...
Supersedes and closes #22581 .
2018-12-16 23:20:03 +01:00
Rémi Verschelde
7198f5da9b
Merge pull request #23608 from RySchmitt/fix_spin_slider
...
Improve dragging behavior of editor_spin_slider
2018-12-06 15:39:09 +01:00
Aaron Franke
cb01268562
Fix many errors found by PVS-Studio
...
Fix errors 2, 3, 4, 6, 8, 9, 11, 12, 13, 14, and 15.
2018-11-28 05:03:24 -05:00
Ryan Schmitt
e890a7d627
Improve dragging behavior of editor_spin_slider
...
Fixes issues with changing the size or position of a Rect. Fixes #23011
2018-11-08 19:48:44 -08:00
Rémi Verschelde
1a16dabfb5
Merge pull request #21982 from luzpaz/misc-typos
...
Misc. typos
2018-09-13 10:59:00 +02:00
luz.paz
08bde5b2de
Misc. typos
...
Found via `codespell -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"`
2018-09-12 21:39:17 -04:00
Rémi Verschelde
277b24dfb7
Make core/ includes absolute, remove subfolders from include path
...
This allows more consistency in the manner we include core headers,
where previously there would be a mix of absolute, relative and
include path-dependent includes.
2018-09-12 09:52:22 +02:00
Juan Linietsky
934c641a15
-Add Expression class, used to evaluate expressions
...
-Added expression evaluation to EditorSpinSlider, fixes #20813 , fixes #18932
2018-08-08 17:35:23 -03:00
Juan Linietsky
254eb46de3
Several improvements to inspector.
...
-Added optional horizontal/vertical modes for vector editing (default false for vec2, true for vec3)
-Some clean ups with fonts and styles
2018-08-07 12:22:46 -03:00
Juan Linietsky
c69de2ba46
-Project/Editor settings now use new inspector
...
-Project/Editor settings now show tooltips properly
-Settings thar require restart now will show a restart warning
-Video driver is now visible all the time, can be changed easily
-Added function to request current video driver
2018-07-19 19:02:04 -03:00
Juan Linietsky
911febb41f
Improvements to vector fields, show axis in color with a background
2018-07-18 22:27:39 -03:00
Juan Linietsky
43dc050947
Several improvements to editor inspector usability and style
2018-07-18 19:37:41 -03:00
Juan Linietsky
82b550c6b3
Fix spin slider, was not registering drag properly
2018-07-18 15:35:26 -03:00
Max Hilbrunner
f312b01ccd
Merge pull request #19091 from guilhermefelipecgs/fix_ui
...
[InspectorDock] Change label offset
2018-07-12 05:12:35 +02:00
toger5
8f5cd7076b
spin_slider: dont show grabber when editing value with keyboard
2018-07-04 22:04:30 +02:00
toger5
7363be2575
better tab support for property editor
2018-07-04 22:04:30 +02:00
toger5
1706f636d7
spin_slider added ctrl and shift shrotcuts, removed exp dragging
2018-07-04 22:02:34 +02:00
Juan Linietsky
b659fd6d74
Entirely new (and much improved) animation editor.
2018-06-07 12:52:00 -03:00
Guilherme Felipe
e8047e56d2
[InspectorDock] Change label offset
2018-05-21 20:59:54 -03:00
Guilherme Felipe
35024d4e7b
Add missing copyright headers
2018-05-16 14:50:44 -03:00
Marcelo Fernandez
1dfb95de22
Fix compile error with clang
2018-05-15 20:43:00 -03:00
Juan Linietsky
005b69cf6e
-New inspector.
...
-Changed UI resizing code, gained huge amount of speed.
-Reorganized timer sync to clean up behavior (sorry forgot commit this before)
-
2018-05-15 17:14:31 -03:00