summaryrefslogtreecommitdiffstats
path: root/editor/action_map_editor.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* | Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker2022-02-121-0/+1
| |
* | Merge pull request #56221 from YeldhamDev/inputmap_undo_masterRémi Verschelde2022-01-131-5/+3
|\ \
| * | Fix undo/redo operations in Input MapMichael Alexsander2021-12-241-5/+3
| | |
* | | Check if action name exists before adding it or renaming an action to itMarcel Admiraal2022-01-121-0/+20
| | |
* | | Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
|/ / | | | | | | Happy new year to the wonderful Godot community!
* | Replace String comparisons with "", String() to is_empty()Nathan Franke2021-12-091-2/+2
| | | | | | | | | | | | Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
* | align to horizontal_alignment, valign to vertical_alignment, relatedNathan Franke2021-12-091-2/+2
| |
* | Rename `remove()` to `remove_at()` when removing by indexLightning_A2021-11-231-1/+1
| |
* | Rename built-in `SGN()` macro to `SIGN()`Hugo Locurcio2021-11-161-1/+1
| | | | | | | | | | This matches the name of the GDScript function (except it's uppercase here).
* | Use "enum class" for input enumsAaron Franke2021-11-121-15/+15
| |
* | clang-format: Disable alignment of operands, too unreliableRémi Verschelde2021-10-281-4/+10
| | | | | | | | | | | | | | | | | | Sets `AlignOperands` to `DontAlign`. `clang-format` developers seem to mostly care about space-based indentation and every other version of clang-format breaks the bad mismatch of tabs and spaces that it seems to use for operand alignment. So it's better without, so that it respects our two-tabs `ContinuationIndentWidth`.
* | Create key inputs as physical by default in the input action editorHugo Locurcio2021-10-121-2/+8
|/ | | | | | | | | | Physical Key should be used for most game inputs as it allows keys to work on non-QWERTY layouts out of the box. This is especially important for WASD movement layouts. In contrast, remapped (non-physical) keys are mainly useful in non-game applications, where shortcuts are expected to match a precise letter rather than a location on the keyboard.
* Fix crash when searching action map creates empty catagoriesPaulb232021-10-091-20/+22
|
* Allow mouse button event detection in Action Map Editorjmb4622021-09-201-14/+33
|
* Fix wrong behavior of Action Map Editor with non QWERTY layoutsjmb4622021-09-141-2/+0
|
* Use Key enum instead of plain integersAaron Franke2021-08-101-20/+18
|
* Make "remove action" translatable in Input Mapfoxydevloper2021-07-201-1/+1
|
* Make various strings translatablefoxydevloper2021-07-191-5/+5
|
* Optimize StringName usagereduz2021-07-181-22/+22
| | | | | | | | | | | * Added a new macro SNAME() that constructs and caches a local stringname. * Subsequent usages use the cached version. * Since these use a global static variable, a second refcounter of static usages need to be kept for cleanup time. * Replaced all theme usages by this new macro. * Replace all signal emission usages by this new macro. * Replace all call_deferred usages by this new macro. This is part of ongoing work to optimize GUI and the editor.
* Add header theme type variations to labelskobewi2021-07-131-0/+3
|
* Clean up Treereduz2021-07-041-0/+1
| | | | | | | | | | | Fixes some problems introduced by #49917 * Tree used minimum size as a stretch ratio, so it forced a minimum size of 1. * Minimum size redone, stretch ratio moved to a separate setting * Fitting to contents was enforced, this is more intuitive, but in many situations this is undesired. * Added a clip content option for situations where fit to contents does not apply. * Icon would scroll with the item, making it invislbe if the item is too long. * Made icon always appear to the right (or left if RTL is enabled) of the visible item space.
* Implement Tree's internal minimum width calculationGilles Roudière2021-06-281-2/+2
|
* Use mouse and joypad enums instead of plain integersAaron Franke2021-06-201-5/+5
| | | | Also MIDIMessage
* Rename `instance()`->`instantiate()` when it's a verbLightning_A2021-06-191-6/+6
|
* 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"
* Consistently prefix bound virtual methods with _kobewi2021-06-121-3/+3
|
* Fix typos with codespellRémi Verschelde2021-05-201-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using codespell 2.0.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear dof doubleclick fave findn GIRD leapyear lod merchantibility nd numer ois ony que seeked synching te uint unselect webp EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
* Improve TreeItem API and allow to move nodestrollodel2021-05-171-2/+2
|
* Rename "Control" key to "Ctrl" and add "_pressed" suffix to all ↵Lightning_A2021-05-071-22/+22
| | | | InputEventWithModifiers properties/methods
* Improve ActionMapEditorDanil Alexeev2021-05-051-34/+12
| | | | | - CheckBox replaced with CheckButton. - Removed unnecessary code.
* Rename ButtonList enum and members to MouseButtonAaron Franke2021-03-231-1/+1
|
* New ActionMapEditor to replace InputMapEditor. Used in ProjectSettings.Eric M2021-02-191-0/+1167
Renamed to ActionMapEditor as it is more generic and can be used for more than just the InputMapEditor if required. This also includes a new Event Configuration dialog (previously "Press A key...") which can be used to create and edit InputEvents for any use - like the Project Settings input map, or the Editor Settings shortcuts.