summaryrefslogtreecommitdiffstats
path: root/scene/gui/graph_node.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix typos with codespellRémi Verschelde2021-05-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 ```
* -Added missing setters to GraphNode.Anilforextra2021-05-131-1/+73
| | | | -Improved various GraphNode documentation.
* Fix crashes in *_input functionsRafał Mikrut2021-04-051-0/+2
|
* Rename ButtonList enum and members to MouseButtonAaron Franke2021-03-231-2/+2
|
* Make GraphNode handle children with EXPAND flagLeonardo Christino2021-03-081-18/+114
|
* Merge pull request #45870 from gongpha/graphedit-connection-updateRémi Verschelde2021-02-111-0/+3
|\ | | | | Update GraphEdit when GraphNode's slot is updated
| * Update GraphEdit when GraphNode's slot is updatedKongfa Waroros2021-02-111-0/+3
| |
* | Removed _change_notifyreduz2021-02-101-2/+1
| | | | | | | | | | | | -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.
* | Initialize class variables with default values in scene/ [2/2]Rafał Mikrut2021-02-091-7/+0
|/
* GraphNode: Add properties for custom iconsJames Westman2021-01-281-2/+14
| | | | | | | Add properties for the slots' icon textures, so they can be set easily in the editor. Fixes #45487.
* 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-17/+17
|
* [Complex Text Layouts] Refactor Font class, default themes and controls to ↵bruvzg2020-11-261-11/+131
| | | | | | | | use Text Server interface. Implement interface mirroring. Add TextLine and TextParagraph classes. Handle UTF-16 input on macOS and Windows.
* Refactor MethodBind to use variadic templatesreduz2020-10-181-2/+0
| | | | Removed make_binders and the old style generated binders.
* Renamed toplevel to be top_levelDuroxxigar2020-10-011-5/+5
|
* Fixed separation of ports on GraphNodelrgilbert2020-07-031-3/+1
| | | | Fixes #32474.
* Style: Enforce braces around if blocks and loopsRémi Verschelde2020-05-141-51/+87
| | | | | Using clang-tidy's `readability-braces-around-statements`. https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
* Style: Enforce separation line between function definitionsRémi Verschelde2020-05-141-0/+5
| | | | | | | | | | | | | | | | | | | | | | | I couldn't find a tool that enforces it, so I went the manual route: ``` find -name "thirdparty" -prune \ -o -name "*.cpp" -o -name "*.h" -o -name "*.m" -o -name "*.mm" \ -o -name "*.glsl" > files perl -0777 -pi -e 's/\n}\n([^#])/\n}\n\n\1/g' $(cat files) misc/scripts/fix_style.sh -c ``` This adds a newline after all `}` on the first column, unless they are followed by `#` (typically `#endif`). This leads to having lots of places with two lines between function/class definitions, but clang-format then fixes it as we enforce max one line of separation. This doesn't fix potential occurrences of function definitions which are indented (e.g. for a helper class defined in a .cpp), but it's better than nothing. Also can't be made to run easily on CI/hooks so we'll have to be careful with new code. Part of #33027.
* Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde2020-05-141-52/+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.
* Replace NULL with nullptrlupoDharkael2020-04-021-1/+1
|
* Popups are now windows also (broken!)Juan Linietsky2020-03-261-28/+28
|
* Texture refactorJuan Linietsky2020-02-111-10/+10
| | | | | | | | -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 resizer icon visiblity on light theme in GraphNodeChaosus892019-09-011-1/+2
|
* Remove ERR_EXPLAIN from scene/* codeTomasz Chabora2019-08-091-2/+1
|
* Fix GraphNode immediately losing focusEmmanuel Barroga2019-07-131-2/+2
| | | | | | | Closes: #30243 GraphNode immediately loses focus, and gives focus to its parent. This fix changes implementation so that it does not transfer focus to its parent after receiving focus. Instead, it will transfer focus when the "close button" is pressed.
* Fix GraphNode not adding seperation after the first nodeBojidar Marinov2019-06-041-3/+1
| | | | Fixes #29446
* Fix cursor going to start while editing GraphNode's titleBojidar Marinov2019-03-101-2/+4
| | | | Fixes #26816
* Updates containers minimum size when some constants are modifiedgroud2019-01-241-76/+83
|
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Make core/ includes absolute, remove subfolders from include pathRémi Verschelde2018-09-121-1/+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.
* Bind many more properties to scriptsBojidar Marinov2018-01-121-0/+4
| | | | | | | Notable potentially breaking changes: - PROPERTY_USAGE_NOEDITOR is now PROPERTY_USAGE_STORAGE | PROPERTY_USAGE_NETWORK, without PROPERTY_USAGE_INTERNAL - Some properties were renamed, and sometimes even shadowed by new ones - New getter methods (some virtual) were added
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-0/+1
| | | | | | Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Rename pos to position in user facing methods and variablesletheed2017-09-201-4/+4
| | | | | | | | | | | Rename user facing methods and variables as well as the corresponding C++ methods according to the folloming changes: * pos -> position * rot -> rotation * loc -> location C++ variables are left as is.
* Improved VisualScriptEditorDaniel J. Ramirez2017-09-141-3/+6
|
* Fix. resizeable -> resizable.Daniel J. Ramirez2017-09-031-10/+10
| | | | (not actually a typo, but the rest of the API uses resizable)
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* Convert Object::cast_to() to the static versionHein-Pieter van Braam2017-08-241-5/+5
| | | | | | | | | | | | Currently we rely on some undefined behavior when Object->cast_to() gets called with a Null pointer. This used to work fine with GCC < 6 but newer versions of GCC remove all codepaths in which the this pointer is Null. However, the non-static cast_to() was supposed to be null safe. This patch makes cast_to() Null safe and removes the now redundant Null checks where they existed. It is explained in this article: https://www.viva64.com/en/b/0226/
* ClassDB: Provide the enum name of integer constantsIgnacio Etcheverry2017-08-201-3/+3
|
* Fixes method definitions with extra number of argumentsIgnacio Etcheverry2017-08-101-1/+1
|
* Fixes node selection, and properly ignore mouse on inner comment node body, ↵Juan Linietsky2017-08-081-1/+2
| | | | closes #6298
* BuildSystem: generated files have .gen.extensionPoommetee Ketson2017-06-251-1/+1
|
* GraphNode: Remove debug print.Andreas Haas2017-06-061-2/+0
|
* renamed all Rect2.pos to Rect2.positionalexholly2017-06-041-1/+1
|
* InputEvent: Renamed "pos" property to "position"Andreas Haas2017-06-031-2/+2
| | | | Make the naming consistent with other classes.
* Removal of InputEvent as built-in Variant type..Juan Linietsky2017-05-201-7/+9
| | | | this might cause bugs I haven't found yet..
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-306/+250
| | | | | | | | | | | | | | | | | | | | | | | | I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
* Rename the _MD macro to D_METHODHein-Pieter van Braam2017-02-131-41/+41
| | | | | | This new name also makes its purpose a little clearer This is a step towards fixing #56