summaryrefslogtreecommitdiffstats
path: root/modules/visual_script/visual_script_editor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Makes all Godot API's methods Lower CaseIndah Sylvia2017-08-071-2/+2
|
* Do not allow multiple data connections to the same data input slot, fixes ↵Daniel J. Ramirez2017-07-271-0/+10
| | | | #6357.Improved curve rendering when nodes are close.
* Icons can now be added inside line edits (Search icon).Daniel J. Ramirez2017-07-191-4/+1
| | | | | | Fixed window title bar margins. fixed compilation error
* Improvements and fixes for the default theme.Daniel J. Ramirez2017-07-161-3/+4
| | | | Added customizable border size and window highlight.
* -Many fixes to VisualScript, fixed property names, etc.Juan Linietsky2017-06-301-120/+184
| | | | | | -Added ability to set/get a field in GetSet, as well as assignment ops -Added a Select node -Fixed update bugs related to variable list and exported properties, closes #9458
* Merge pull request #9038 from AlexHolly/rect2-rename-posRémi Verschelde2017-06-051-1/+1
|\ | | | | renamed all Rect2.pos to Rect2.position
| * renamed all Rect2.pos to Rect2.positionalexholly2017-06-041-1/+1
| |
* | Added members overviewPaulb232017-05-291-0/+4
|/
* Removal of InputEvent as built-in Variant type..Juan Linietsky2017-05-201-7/+6
| | | | this might cause bugs I haven't found yet..
* Merge pull request #8631 from volzhs/editor-theme-customRémi Verschelde2017-05-201-2/+2
|\ | | | | New customizable editor theme
| * Revert "Add new editor and default theme (WIP)"volzhs2017-05-031-2/+2
| | | | | | | | This reverts commit f045efe007cffb87238ee519b7f33d710814ded7.
* | Removal of Image from Variant, converted to a Resource.Juan Linietsky2017-05-171-3/+0
|/
* Add new editor and default theme (WIP)Daniel J. Ramirez2017-04-271-2/+2
|
* Merge pull request #8417 from neikeq/hello-thereRémi Verschelde2017-04-201-13/+1
|\ | | | | External editor improvements and fixes
| * External editor improvements and fixesIgnacio Etcheverry2017-04-171-13/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notable changes: - Now ScriptLanguages have the option to override the global external editor setting. If `ScriptLanguage::open_in_external_editor()` returns `ERR_UNAVAILABLE` (which it does by default), then the global external editor option will be used. - Added formatting to the external editor execution arguments. Now it's possible to write something like this: `{project} -g {file}:{line}:{col}`. - `VisualScript::get_member_line()` now can return the line of functions (well, it returns the id of the _Function_ node of the function). I guess there is nothing else we can get a "line" from. Fixes: - Fixes a bug where `ScriptEditor::script_goto_method()` would not work if the script is not already open in the built-in editor. - Fixes wrong DEFVAL for `cursor_set_column` and `cursor_set_line` in TextEdit. - `Script::get_member_line()` now returns -1 ("found nothing") by default.
* | Convert indent on savePaulb232017-04-181-0/+6
| |
* | Rename [gs]et_pos to [gs]et_position for ControlsSergey Pusnei2017-04-101-3/+3
|/ | | | | | | | Control set_pos -> set_position Control set_global_pos -> set_global_position [gs]et_mouse_pos -> [gs]et_mouse_position [gs]et_global_mouse_pos -> [gs]et_global_mouse_position fixes #8005
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|
* Make Create New Node dialog resizable and burninate old dialogRay Koopa2017-03-181-1/+1
|
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-1332/+1109
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Add a bunch of missing Godot headers in own filesRémi Verschelde2017-03-051-0/+29
|
* Refactoring: rename tools/editor/ to editor/Rémi Verschelde2017-03-051-2/+2
| | | | | | The other subfolders of tools/ had already been moved to either editor/, misc/ or thirdparty/, so the hiding the editor code that deep was no longer meaningful.
* Style: Fix statements ending with ';;'Rémi Verschelde2017-01-161-1/+1
|
* Style: Fix whole-line commented codeRémi Verschelde2017-01-141-4/+6
| | | | | They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
* rename Input.get_mouse_speed() to Input.get_last_mouse_speed()Juan Linietsky2017-01-131-2/+2
|
* some class renamesJuan Linietsky2017-01-121-6/+6
| | | | | | TextureFrame -> TextureRect Patch9Frame -> NinePatchRect ColorFrame -> ColorRect
* Type renames:Juan Linietsky2017-01-111-13/+13
| | | | | | | | | | | | Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
* Removed the set_child_rect() in AcceptDialog. AcceptDialog now works as a ↵Juan Linietsky2017-01-101-2/+2
| | | | container!
* PopupMenu now emits both index_pressed and id_pressed instead of ↵Juan Linietsky2017-01-081-3/+3
| | | | item_pressed, closes #3188
* Editor settings categories are now tidy and beautiful!Juan Linietsky2017-01-051-8/+8
|
* ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky2017-01-021-66/+66
| | | | | | | | Variant. All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()
* -Cleaned up find/replace bar for replace (made selection only default if ↵Juan Linietsky2016-09-111-0/+1
| | | | | | selection exists), also made buttons look like buttons -Fixed a bug related to theme propagation, may be able to solve #6443, #6302 and others. Please test.
* Tweaked some icons, including xform oneDaniel J. Ramirez2016-09-081-1/+1
|
* -Added diectly editable expressions on node to VSEditor, closes #6392Juan Linietsky2016-09-061-4/+37
| | | | -Added ability for LineEdit to expand to fit text
* Added expression nodes to visual script, please test.Juan Linietsky2016-09-041-0/+4
|
* small fixJuan Linietsky2016-09-031-0/+1
|
* Connection hints when connecting to empty space.Juan Linietsky2016-09-031-1/+320
|
* made visual script switch more flexibleJuan Linietsky2016-09-011-11/+31
|
* More improvements to visual script..Juan Linietsky2016-08-311-16/+28
| | | | fixed a bug of not saving when sub-nodes changed.
* -Reworked constant nodes betterJuan Linietsky2016-08-311-0/+1
| | | | -Added simple switch node, removed InputEventFilter
* More visual script improvementsJuan Linietsky2016-08-301-0/+47
| | | | | | -Added anti-aliasing on lines -Improved draw performance enormously -Removed sequence ports for most nodes, current visual scripts will likely be broken now. Sorry!
* Fixed compilationDaniel J. Ramirez2016-08-291-1/+1
|
* Merge branch 'master' of https://github.com/godotengine/godotJuan Linietsky2016-08-291-2/+38
|\
| * Colors for VS sockets and iconsDaniel J. Ramirez2016-08-281-2/+38
| |
* | Several all around fixes to visual scripting (in the process of creating demos)Juan Linietsky2016-08-281-6/+99
|/
* Merge pull request #6108 from djrm/vs_type_icons_2Rémi Verschelde2016-08-271-2/+2
|\ | | | | Icons for VScript types
| * Icons for VScript typesDaniel J. Ramirez2016-08-231-2/+2
| |
* | Even more work on visual script editor:Juan Linietsky2016-08-261-43/+167
| | | | | | | | | | | | | | | | -Added constructor nodes, specialized and conversion ones. -Cleaned up how unconnected input default values are shown and edited (much cleaner) -Dragging scene nodes into graph makes a call dialog appear by deault -Dragging properties into graph is set by default, not get -fixed dragging internal functions into graph
* | More visual script workJuan Linietsky2016-08-251-1/+204
|/ | | | | | | | | -Block switches to 2d/3d editor if editing visual script -Added cast node in flow control -Added ability to do RPC in visual script -Comment nodes -Fix bug with inverted cable in connecting backwards -Copy and paste nodes, including from different scripts
* Proper function/property selection in visual script editing for property.Juan Linietsky2016-08-231-1/+12
| | | | This one has an ordered list, built-in description, search, etc.