summaryrefslogtreecommitdiffstats
path: root/editor/editor_spin_slider.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix crashes in *_input functionsRafał Mikrut2021-04-051-0/+2
|
* Rename ButtonList enum and members to MouseButtonAaron Franke2021-03-231-5/+5
|
* fix-EditorSpinSlider-grabber-zoomed-positionjmb4622021-03-131-2/+6
|
* 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 🎆
* Rename Control margin to offsetMarcel Admiraal2020-12-231-3/+3
|
* [Complex Text Layouts] Refactor Font class, default themes and controls to ↵bruvzg2020-11-261-9/+11
| | | | | | | | use Text Server interface. Implement interface mirroring. Add TextLine and TextParagraph classes. Handle UTF-16 input on macOS and Windows.
* Renamed toplevel to be top_levelDuroxxigar2020-10-011-1/+1
|
* Allow using a comma as decimal separator in EditorSpinSliderHugo Locurcio2020-09-271-1/+6
| | | | This closes https://github.com/godotengine/godot-proposals/issues/1576.
* Add a separate application focus/in notification out from Window focus ↵Juan Linietsky2020-06-301-2/+2
| | | | notification.
* Hide editor_spin_slider grabber when closing Editor's windowsDominik 'dreamsComeTrue' Jasiński2020-05-151-0/+1
| | | | Fixes: #38740
* Style: Enforce braces around if blocks and loopsRémi Verschelde2020-05-141-5/+10
| | | | | Using clang-tidy's `readability-braces-around-statements`. https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
* Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde2020-05-141-23/+0
| | | | | | | | | | | | | | Which means that reduz' beloved style which we all became used to will now be changed automatically to remove the first empty line. This makes us lean closer to 1TBS (the one true brace style) instead of hybridating it with some Allman-inspired spacing. There's still the case of braces around single-statement blocks that needs to be addressed (but clang-format can't help with that, but clang-tidy may if we agree about it). Part of #33027.
* Updated editor spin slider to have better behaviour and adjusted control's ↵Eric M2020-05-061-0/+17
| | | | size_flags_stretch_ratio value range
* Rename InputFilter back to InputRémi Verschelde2020-04-281-8/+8
| | | | | | | | | | | | | | | | It changed name as part of the DisplayServer and input refactoring in #37317, with the rationale that input no longer goes through the main loop, so the previous Input singleton now only does filtering. But the gains in consistency are quite limited in the renaming, and it breaks compatibility for all scripts and tutorials that access the Input singleton via the scripting language. A temporary option was suggested to keep the scripting singleton named `Input` even if its type is `InputFilter`, but that adds inconsistency and breaks C#. Fixes godotengine/godot-proposals#639. Fixes #37319. Fixes #37690.
* Replace NULL with nullptrlupoDharkael2020-04-021-1/+1
|
* Popups have also been converted to windowsJuan Linietsky2020-03-261-11/+13
| | | | Controls using the old modal API have been replaced to use popups.
* Popups are now windows also (broken!)Juan Linietsky2020-03-261-13/+13
|
* Refactored input, goes all via windows now.Juan Linietsky2020-03-261-15/+11
| | | | Also renamed Input to InputFilter because all it does is filter events.
* Refactored Input, create DisplayServer and DisplayServerX11Juan Linietsky2020-03-261-1/+1
|
* Signals: Port connect calls to use callable_mpRémi Verschelde2020-02-281-12/+6
| | | | | | | | | Remove now unnecessary bindings of signal callbacks in the public API. There might be some false positives that need rebinding if they were meant to be public. No regular expressions were harmed in the making of this commit. (Nah, just kidding.)
* Reworked signal connection system, added support for Callable and Signal ↵Juan Linietsky2020-02-201-6/+6
| | | | objects and made them default.
* Add a margin to EditorSpinSlider to visually line up the edited numberHugo Locurcio2020-02-151-0/+14
| | | | | | 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.
* Texture refactorJuan Linietsky2020-02-111-3/+3
| | | | | | | | -Texture renamed to Texture2D -TextureLayered as base now inherits 2Darray, cubemap and cubemap array -Removed all references to flags in textures (they will go in the shader) -Texture3D gone for now (will come back later done properly) -Create base rasterizer for RenderDevice, RasterizerRD
* 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.
* Fix dragging spinner without controlRafał Mikrut2019-11-051-1/+1
|
* Fix incorrect text rendering with smaller display scalevolzhs2019-10-241-2/+2
|
* Improve Ctrl snapping in EditorSpinSliderHugo Locurcio2019-09-061-7/+2
| | | | | | | - 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
* Merge pull request #31346 from sparkart/Add_scrollwheel_input_to_spinsliderRémi Verschelde2019-09-031-2/+27
|\ | | | | Add scrollwheel input to spin slider
| * Add scrollwheel input to spin sliderEmmanuel Barroga2019-08-131-2/+27
| | | | | | Adds the ability to adjust the editor's spin slider using the mouse scrollwheel.
* | Update Slider grabber position when using mouse wheelTomasz Chabora2019-08-171-25/+31
|/
* Fix Right-Click Menu Deselecting Edits ContentEmmanuel Barroga2019-08-121-0/+5
| | | 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.
* Inspector: Make default float step configurableRémi Verschelde2019-07-231-2/+2
| | | | | | | | | | 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.
* Add -Wshadow=local to warnings and fix reported issues.marxin2019-02-201-4/+4
| | | | Fixes #25316.
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Ensure cursor is visible when EditorSpinSlider exits the treeRémi Verschelde2018-12-161-1/+3
| | | | Supersedes and closes #22581.
* Merge pull request #23608 from RySchmitt/fix_spin_sliderRémi Verschelde2018-12-061-2/+4
|\ | | | | Improve dragging behavior of editor_spin_slider
| * Improve dragging behavior of editor_spin_sliderRyan Schmitt2018-11-081-2/+4
| | | | | | | | Fixes issues with changing the size or position of a Rect. Fixes #23011
* | Fix many errors found by PVS-StudioAaron Franke2018-11-281-1/+1
|/ | | Fix errors 2, 3, 4, 6, 8, 9, 11, 12, 13, 14, and 15.
* Merge pull request #21982 from luzpaz/misc-typosRémi Verschelde2018-09-131-1/+1
|\ | | | | Misc. typos
| * Misc. typosluz.paz2018-09-121-1/+1
| | | | | | Found via `codespell -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"`
* | Make core/ includes absolute, remove subfolders from include pathRémi Verschelde2018-09-121-2/+2
|/ | | | | | 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.
* -Add Expression class, used to evaluate expressionsJuan Linietsky2018-08-081-4/+22
| | | | -Added expression evaluation to EditorSpinSlider, fixes #20813, fixes #18932
* Several improvements to inspector.Juan Linietsky2018-08-071-0/+5
| | | | | -Added optional horizontal/vertical modes for vector editing (default false for vec2, true for vec3) -Some clean ups with fonts and styles
* -Project/Editor settings now use new inspectorJuan Linietsky2018-07-191-1/+2
| | | | | | | -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
* Improvements to vector fields, show axis in color with a backgroundJuan Linietsky2018-07-181-9/+30
|
* Several improvements to editor inspector usability and styleJuan Linietsky2018-07-181-7/+25
|
* Fix spin slider, was not registering drag properlyJuan Linietsky2018-07-181-2/+4
|
* Merge pull request #19091 from guilhermefelipecgs/fix_uiMax Hilbrunner2018-07-121-1/+1
|\ | | | | [InspectorDock] Change label offset
| * [InspectorDock] Change label offsetGuilherme Felipe2018-05-211-1/+1
| |
* | spin_slider: dont show grabber when editing value with keyboardtoger52018-07-041-1/+1
| |