summaryrefslogtreecommitdiffstats
path: root/modules/visual_script/visual_script_editor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #49749 from ↵Rémi Verschelde2021-07-211-40/+70
|\ | | | | | | | | DavidCambre/VisualScriptFunction_Call_Set_Get_Improvement-2 VisualScriptFunctionNodes Improvements
| * Improve and streamline VisualScriptFuncNodes Call Set GetDavid Cambré2021-07-211-40/+70
| | | | | | | | | | | | | | This PR improves and streamlines the workflow for VisualScriptFunctionNodes Call Set Get Uniform design. Drag in set-get from tree is now working. Removes redundant method_select popup.
* | Fix visual script iconsNick Huelin2021-07-201-0/+3
| | | | | | | | This pull request fixes an issue where the visual script icons weren't representative of their data.
* | Merge pull request #50581 from DavidCambre/VisualScript-Drop-Custom-NodesRémi Verschelde2021-07-201-6/+20
|\ \ | | | | | | Allow dropping custom node scripts in VisualScript editor
| * | VisualScript-Drop-Custom-NodesDavid Cambré2021-07-181-6/+20
| | | | | | | | | | | | Allows to drop custom node scripts directly in VisualScript
* | | Merge pull request #50566 from reduz/optimize-stringname-usageRémi Verschelde2021-07-191-99/+99
|\ \ \ | | | | | | | | Optimize StringName usage
| * | | Optimize StringName usagereduz2021-07-181-99/+99
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* / / Prevents some warnings from appearing in visual scriptsYuri Roubinsky2021-07-181-1/+15
|/ /
* / Fix creating a new function in visual scriptsYuri Roubinsky2021-07-101-1/+1
|/
* VisualScriptEditor Fix in graph position calculation (do not skip zoom)kleonc2021-06-231-106/+46
|
* Rename `instance()`->`instantiate()` when it's a verbLightning_A2021-06-191-30/+30
|
* Adding some more missing renames for Transform3D and QuaternionBastiaan Olij2021-06-151-2/+2
|
* Consistently prefix bound virtual methods with _kobewi2021-06-121-3/+3
|
* Merge pull request #49462 from TokageItLab/update-property-selector-icon-listRémi Verschelde2021-06-091-2/+2
|\ | | | | update property selector's icon list
| * update property selector's icon list and rename Quat.svg to Quaternion.svgSilc 'Tokage' Renew2021-06-091-2/+2
| |
* | Rename missing shortcut names in visual script editorJonas Bernemann2021-06-081-4/+4
|/ | | | | | With the change of the shortcuts for common actions like delete, copy and paste the delete menu items in the visual script editor for members where missing because of a missing shortcut.
* Fixed color for node headers in visual scriptsYuri Roubinsky2021-06-061-0/+1
|
* Rename Quat to QuaternionMarcel Admiraal2021-06-041-2/+2
|
* Rename Variant TRANSFORM to TRANSFORM3DAaron Franke2021-06-031-2/+2
| | | Also _transform to _transform3d
* Improve TreeItem API and allow to move nodestrollodel2021-05-171-18/+18
|
* Merge pull request #48168 from LightningAA/control-to-ctrl-4.0Rémi Verschelde2021-05-171-4/+4
|\
| * Rename "Control" key to "Ctrl" and add "_pressed" suffix to all ↵Lightning_A2021-05-071-4/+4
| | | | | | | | InputEventWithModifiers properties/methods
* | Add get_base_editor to ScriptEditorBasesent442021-05-151-0/+4
|/
* Merge pull request #45607 from Calinou/improve-editor-themeRémi Verschelde2021-05-061-34/+22
|\ | | | | Improve the editor theme
| * Improve the editor themeHugo Locurcio2021-04-271-34/+22
| | | | | | | | | | | | | | | | | | | | The editor theme now makes use of rounded corners and less borders to follow modern visual trends. The default theme's colors were also tweaked to make the blue hue more subtle (similar to the Arc theme, which was removed as a consequence). The Alien theme was replaced by a Breeze Dark theme, which should blend in well with the KDE theme.
* | Rename `doubleclick` to `double_click`Aaron Franke2021-05-041-1/+1
|/
* Rename LineEdit caret_* properties getters and setters to match propertyMarcel Admiraal2021-04-171-4/+4
|
* Style: Apply clang-tidy's `readability-braces-around-statements`Rémi Verschelde2021-04-051-2/+2
|
* Fix crashes in *_input functionsRafał Mikrut2021-04-051-0/+2
|
* Rename ButtonList enum and members to MouseButtonAaron Franke2021-03-231-1/+1
|
* Fixes small typos and grammar correctionAnshul7sp12021-03-121-1/+1
|
* Removed hardcoded shortcuts from /scene and converted to input actionsEric M2021-02-181-8/+4
| | | | | | This removes hardcoded actions from things like LineEdit and TextEdit. Previously, things like copy, paste, etc were all hardcoded to Ctrl+C, Ctrl+V, etc. They could not be changed. This allows the possibility of them being changed, by making them use the action map. This has the added benefit of greatly simplifying the input handling logic in those controls. The logic which was previously in a huge and hard to follow switch statement has been extracted to individual methods.
* Removed _change_notifyreduz2021-02-101-5/+4
| | | | | | -For inspector refresh, the inspector now detects if a property change by polling a few times per second and then does update the control if so. This process is very cheap. -For property list refresh, a new signal (property_list_changed) was added to Object. _change_notify() is replaced by notify_property_list_changed() -Changed all objects using the old method to the signal, or just deleted the calls to _change_notify(<property>) since they are unnecesary now.
* Snap VisualScript comment to grid when resizingKanabenki2021-02-061-2/+9
|
* Fix minimap capturing events and improve its themeYuri Sizov2021-01-251-0/+6
| | | | Add an editor setting for minimap opacity in visual editors
* Auto-assign default value for variable in visual script on type changingYuri Roubinsky2021-01-041-0/+13
|
* Merge pull request #39649 from swarnimarun/master-visualscript-refactorRémi Verschelde2021-01-041-1132/+651
|\ | | | | Visual Script Refactor
| * Refactoring Visual ScriptSwarnim Arun2021-01-011-1132/+651
| | | | | | | | | | * for bloat from hacks for default function * for ease of development nodes becoming detached from functions
* | 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 empty() to is_empty()Marcel Admiraal2020-12-281-7/+7
|
* Rename Control margin to offsetMarcel Admiraal2020-12-231-7/+7
|
* Fix broken members panel in visual script editorYuri Roubinsky2020-12-181-1/+1
|
* Rename AcceptDialog get_ok() to get_ok_button()Marcel Admiraal2020-12-141-5/+5
| | | | | | Also renames: - AcceptDialog add_cancel() to add_cancel_button() - ConfirmationDiaglog get_cancel() to get_cancel_button()
* Merge pull request #42109 from EricEzaM/PR/input-and-shortcuts-reworkRémi Verschelde2020-11-281-1/+1
|\ | | | | Shortcuts rework - fixed issues with input propagation and triggering of unwanted shortcuts.
| * Implement new shortcuts system.Eric M2020-11-231-1/+1
| | | | | | | | unhandled_key_input changed to unhandled_button_input. Controls can set a 'shortcut_context' which they can then use to determine if their shortcuts should be triggered or not, based on if the viewport's focused GUI control is a child of their 'shortcut context'.
* | [Complex Text Layouts] Refactor Font class, default themes and controls to ↵bruvzg2020-11-261-0/+1
|/ | | | | | | | use Text Server interface. Implement interface mirroring. Add TextLine and TextParagraph classes. Handle UTF-16 input on macOS and Windows.
* Variant: Rename Type::_RID to Type::RIDRémi Verschelde2020-11-091-2/+2
| | | | | | | | The underscore prefix was used to avoid the conflict between the `RID` class name and the matching enum value in `Variant::Type`. This can be fixed differently by prefixing uses of the `RID` class in `Variant` with the scope resolution operator, as done already for `AABB`.
* Refactored variant constructor logicreduz2020-11-091-4/+7
|
* Reorganized core/ directory, it was too fatty alreadyreduz2020-11-071-3/+3
| | | | | | -Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code
* Removed underscore from GraphEdit begin/end_node_move signalsYuri Roubinsky2020-10-201-2/+2
|