Commit Graph

25 Commits

Author SHA1 Message Date
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