aboutsummaryrefslogtreecommitdiff
path: root/editor/plugins/canvas_item_editor_plugin.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Added/Fixed null pointer checksWilson E. Alvarez2017-08-261-1/+1
|
* Convert Object::cast_to() to the static versionHein-Pieter van Braam2017-08-241-132/+120
| | | | | | | | | | | | 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/
* Merge pull request #10319 from neikeq/pr-engine-editor-hintJuan Linietsky2017-08-201-1/+1
|\ | | | | Adds Engine::is_editor_hint() method
| * Removes editor_hint from SceneTreeIgnacio Etcheverry2017-08-191-1/+1
| |
* | Merge pull request #10300 from H4kor/anchorRémi Verschelde2017-08-161-7/+4
|\ \ | | | | | | Show Anchor even when Control-Node is hidden
| * | Showing anchor icon in editor if control-node is hidden (fixes #9542)Niko Abeler2017-08-131-7/+4
| |/
* | Merge pull request #10307 from Rubonnek/update-argument-namesRémi Verschelde2017-08-161-2/+2
|\ \ | | | | | | Updated function argument names
| * | Updated function argument namesWilson E. Alvarez2017-08-121-2/+2
| |/
* | Changed anchor constants to enum, removed ANCHOR_CENTER, fixes #9889Juan Linietsky2017-08-151-1/+1
| |
* | Avoids inverted anchorsGilles Roudiere2017-08-131-8/+8
| | | | | | | | | | Add a push_opposite_anchor argument pushing the opposite anchor if needed
* | Adds a function to set Anchors with a layout presetGilles Roudiere2017-08-131-26/+19
| |
* | Added the possibility to move all anchors at once when they are clusteredGilles Roudiere2017-08-131-1/+13
| |
* | Make anchors snap to each otherGilles Roudiere2017-08-131-25/+30
| |
* | Displays percentages when dragging anchorsGilles Roudiere2017-08-131-3/+46
| |
* | Simplifies the canvas editor codeGilles Roudiere2017-08-131-50/+36
| |
* | Add lines to make understandable when anchors are snappedGilles Roudiere2017-08-131-22/+85
| |
* | Snap anchors when dragged, depending on the zoom levelGilles Roudiere2017-08-131-1/+21
| |
* | Make anchors draggableGilles Roudiere2017-08-131-9/+92
| |
* | Add anchor visualizationGilles Roudiere2017-08-131-38/+72
| |
* | Replace GUI anchor type by a float between 0 and 1Gilles Roudiere2017-08-131-2/+2
|/
* Improved add texture as node dialogDaniel J. Ramirez2017-08-101-13/+15
|
* Clean up canvas item when changing state, closes #5977Juan Linietsky2017-08-081-0/+2
|
* Attempt to resolve #4673Juan Linietsky2017-08-081-1/+6
|
* Makes all Godot API's methods Lower CaseIndah Sylvia2017-08-071-3/+3
|
* Change the grid offset when the snap is set as relativeGilles Roudiere2017-07-251-6/+15
|
* Make uniform resize possible with side (top, left, right, bottom)Gilles Roudiere2017-07-201-26/+30
| | | | handles.
* Replaced the hard-to-understand _select by _select_click_on_empty_area and ↵Gilles Roudiere2017-07-201-112/+65
| | | | | | | _select_click_on_item. Added some comments Removed commented code or useless ones
* Generalized _find_canvas_items_at_pos to remove _select_canvas_items_at_posGilles Roudiere2017-07-201-68/+16
| | | | | Removed some useless parameters Removed old comments
* -Renamed GlobalConfig to ProjectSettings, makes more sense.Juan Linietsky2017-07-191-4/+4
| | | | -Added system for feature overrides, it's pretty cool :)
* Fixed button flat behavior when not in normal state.Daniel J. Ramirez2017-07-181-0/+4
| | | | Also changed some buttons to flat mode
* -Reorganized all properties of project settings (Sorry, Again).Juan Linietsky2017-07-171-2/+2
| | | | | (Lot's of bloat accumulated, so it was time for clean up.) -Made EditorSettings and ProjectSettings search more useful (search in sections too)
* Merge pull request #9577 from MarianoGnu/masterRémi Verschelde2017-07-171-25/+33
|\ | | | | Add anchor shortcut to fit parent
| * Add anchor shortcut to fit parentMariano Suligoy2017-07-141-25/+33
| | | | | | | | Also remove old Edit -> Expand to Parent menu option
* | focus box size fix for new themetoger52017-07-161-5/+0
|/
* Fix wrong cast to Node2D instead of ControlRémi Verschelde2017-07-081-1/+1
| | | | As reported by @sanikoyes.
* Ability to set rotation and scaling pivot for controls.Juan Linietsky2017-07-061-4/+54
|
* Update some property names for animation keys.Nuno Donato2017-06-241-10/+12
| | | | | Added rect_rotation too. Fixes #9337
* Merge pull request #8407 from Jylhis/popup_item_select_hideThomas Herzog2017-06-201-0/+2
|\ | | | | Update PopupMenu hiding
| * Fix #7262Jylhis2017-04-141-0/+2
| | | | | | | | | | Disable PopupMenu hiding in snap settings of the TextureRegion editor and Edit menu of the scene
* | Add settings to pan canvas editor with scrollingSean Bohan2017-06-081-20/+48
| | | | | | | | | | | | | | | | | | This feature is mainly designed for developers who uses touchpad instead of mouse, and want to scroll instead of zoom. Every macOS developers will like it since it feels intuitive. 2 new settings are added to “editors/2d”: scroll_to_pan: turn on to use mouse/touchpad scroll to pan canvas item editor view instead of zoom pan_speed: use this value to change scroll speed
* | renamed all Rect2.pos to Rect2.positionalexholly2017-06-041-40/+40
| |
* | InputEvent: Renamed "pos" property to "position"Andreas Haas2017-06-031-11/+11
| | | | | | | | Make the naming consistent with other classes.
* | Fix crash when interacting with the 2d editorGeorge Marques2017-05-231-2/+2
| |
* | Removal of InputEvent as built-in Variant type..Juan Linietsky2017-05-201-61/+62
| | | | | | | | this might cause bugs I haven't found yet..
* | Merge pull request #8631 from volzhs/editor-theme-customRémi Verschelde2017-05-201-7/+2
|\ \ | | | | | | New customizable editor theme
| * | New customizable editor themevolzhs2017-05-091-1/+1
| | |
| * | Revert "Add new editor and default theme (WIP)"volzhs2017-05-031-6/+1
| | | | | | | | | | | | This reverts commit f045efe007cffb87238ee519b7f33d710814ded7.
* | | Implemented scrolling factor for smooth trackpad scrollingtoger52017-05-071-2/+2
|/ / | | | | | | | | Working platforms platform: OSX, Windows. Support for almost all ui elements, including project list.
* / Add new editor and default theme (WIP)Daniel J. Ramirez2017-04-271-1/+6
|/
* Merge pull request #8342 from volzhs/error-signal-dndRémi Verschelde2017-04-101-1/+1
|\ | | | | Fix signal error when starting editor