summaryrefslogtreecommitdiffstats
path: root/editor/editor_spin_slider.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix TAB key usage in EditorSpinSlider (and hence inpector).Juan Linietsky2023-01-121-1/+1
| | | | | | | * This ensures that the tab key usage is correct in all situations in EditorSpinSlider * The ESC key can also close the lineedit popup. I can't find a proper issue to fix, but partially solves the concerns raised in #37723.
* One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
| | | | | | | | | | | | | | | | | | | | 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".
* Change EditorSpinSlider's popup to Controlkobewi2022-10-151-1/+1
|
* Implement Quaternion EditorSilc Renew2022-08-241-0/+2
|
* Style: Partially apply clang-tidy's `cppcoreguidelines-pro-type-member-init`Rémi Verschelde2022-05-021-8/+9
| | | | | | | | | | | Didn't commit all the changes where it wants to initialize a struct with `{}`. Should be reviewed in a separate PR. Option `IgnoreArrays` enabled for now to be conservative, can be disabled to see if it proposes more useful changes. Also fixed manually a handful of other missing initializations / moved some from constructors.
* Zero initialize all pointer class and struct membersRémi Verschelde2022-04-041-1/+1
| | | | | This prevents the pitfall of UB when checking if they have been assigned something valid by comparing to nullptr.
* Initialize bools in the headers in editorAaron Franke2022-03-121-11/+11
|
* Make EditorSpinSlider label color a theme propertyFireForge2022-03-041-5/+0
|
* Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
| | | | Happy new year to the wonderful Godot community!
* Make EditorSpinSlider wait for text on key_up/downFrancois Belair2021-10-261-0/+1
|
* Add up/down keys to inc/dec val in spin sliderFrancois Belair2021-09-281-0/+1
| | | | Fixes #godotengine/godot-proposals#29
* Entirely removes BIND_VMETHOD in favor of GDVIRTUALreduz2021-08-231-1/+1
| | | | | | | | * `_gui_input`, `_input`, `_unhandled_input` and `_unhandled_key_input` are now regular C++ virutal functions. * Everything else converted to GDVIRTUAL * BIND_VMETHOD is gone, always use the new syntax from now on. Creating `_gui_input` method and using the binder to register events will no longer work, simply override the virtual function now.
* Make sure stylebox is valid in EditorSpinSlider before using itYuri Sizov2021-08-141-0/+1
|
* Fix crash in EditorSpinSliderkobewi2021-07-181-1/+1
|
* Create many types of popups on demandreduz2021-07-171-3/+6
| | | | | | | | | * LineEdit popups created on demand. * TextEdit popups created on demand. * SpinSlider popups created on demand. * ResourcePicker popups created on demand. Improves editor responsiveness.
* Fix editor suffixes and degrees conversionreduz2021-06-301-0/+4
| | | | | | | | | | | | | * Functions to convert to/from degrees are all gone. Conversion is done by the editor. * Use PROPERTY_HINT_ANGLE instead of PROPERTY_HINT_RANGE to edit radian angles in degrees. * Added possibility to add suffixes to range properties, use "min,max[,step][,suffix:<something>]" example "0,100,1,suffix:m" * In general, can add suffixes for EditorSpinSlider Not covered by this PR, will have to be addressed by future ones: * Ability to switch radians/degrees in the inspector for angle properties (if actually wanted). * Animations previously made will most likely break, need to add a way to make old ones compatible. * Only added a "px" suffix to 2D position and a "m" one to 3D position, someone needs to go through the rest of the engine and add all remaining suffixes. * Likely also need to track down usage of EditorSpinSlider outside properties to add suffixes to it too.
* Documentation search fixesGregory Basile2021-06-161-1/+1
| | | | | | Updates rich_text_label so that the built-in documentation can be searched Previously, it would only find the first result and would not select other results Renames "_entered" functions to "_submitted"
* Update copyright statements to 2021Rémi Verschelde2021-01-011-2/+2
| | | | | | | | | | | | | | 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 🎆
* Add override keywords.Marcel Admiraal2020-07-101-2/+2
|
* Popups have also been converted to windowsJuan Linietsky2020-03-261-0/+1
| | | | Controls using the old modal API have been replaced to use popups.
* Update copyright statements to 2020Rémi Verschelde2020-01-011-2/+2
| | | | | | | | | | | 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.
* Add scrollwheel input to spin sliderEmmanuel Barroga2019-08-131-0/+1
| | | Adds the ability to adjust the editor's spin slider using the mouse scrollwheel.
* Add option to input value manually in EditorPropertyEasingAnaDenisa2019-06-281-0/+3
| | | | | | | | | Double-clicking on the EditorPropertyEasing widget (e.g. for the Light Attenuation parameter) shows an EditorSpinSlider to set the value manually. Fixes #8449. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
* Made use of semicolons more consitent, fixed formattingJohnJLight2019-06-191-1/+1
|
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Improve dragging behavior of editor_spin_sliderRyan Schmitt2018-11-081-0/+1
| | | | Fixes issues with changing the size or position of a Rect. Fixes #23011
* -Add Expression class, used to evaluate expressionsJuan Linietsky2018-08-081-0/+2
| | | | -Added expression evaluation to EditorSpinSlider, fixes #20813, fixes #18932
* Several improvements to inspector.Juan Linietsky2018-08-071-0/+2
| | | | | -Added optional horizontal/vertical modes for vector editing (default false for vec2, true for vec3) -Some clean ups with fonts and styles
* Improvements to vector fields, show axis in color with a backgroundJuan Linietsky2018-07-181-0/+5
|
* Several improvements to editor inspector usability and styleJuan Linietsky2018-07-181-0/+4
|
* better tab support for property editortoger52018-07-041-1/+3
|
* spin_slider added ctrl and shift shrotcuts, removed exp draggingtoger52018-07-041-0/+1
|
* Entirely new (and much improved) animation editor.Juan Linietsky2018-06-071-0/+5
|
* Add missing copyright headersGuilherme Felipe2018-05-161-0/+30
|
* -New inspector.Juan Linietsky2018-05-151-0/+57
-Changed UI resizing code, gained huge amount of speed. -Reorganized timer sync to clean up behavior (sorry forgot commit this before) -