aboutsummaryrefslogtreecommitdiff
path: root/scene/gui/control.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-121-1/+1
| | | | | | | | | | That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games! (cherry picked from commit c7bc44d5ad9aae4902280012f7654e2318cd910e)
* Prevent crash on focus change when no valid next control has been found.Andreas Haas2016-10-091-5/+5
| | | | | | Fixes the crash discussed in #6714. (cherry picked from commit 8dd026e4f91f802719315fb6b5a45e36723d3adc)
* Fix the rotation not updating in the inspector with ControlsJohan Manuel2016-07-211-0/+1
|
* properly fixed notificaitons for theme changed, closes #5774Juan Linietsky2016-07-181-2/+24
|
* Add a small workaround to avoid modal tabs to be closed if they are spawned ↵Juan Linietsky2016-06-271-0/+7
| | | | in the same frame, closes #3837
* Ability to rotate controls using tool, closes #3800Juan Linietsky2016-06-271-2/+10
|
* Fix issue saving flags (size fill expand), fixes #4176Juan Linietsky2016-06-231-2/+2
|
* Fix bug in GridContainer not updating minimumsize when columns changes, ↵Juan Linietsky2016-06-171-1/+1
| | | | fixes #4677
* Keep track of when fonts change, so theme or controls that use fonts as ↵Juan Linietsky2016-06-171-0/+40
| | | | | | overrides get properly updated. closes #4622 , probably closes many other issues too
* fix crash when clearing dynamicfontdata, closes #4877Juan Linietsky2016-06-131-1/+1
|
* added a function CanvasItem.get_item_and_children_rect() , fixes #4738Juan Linietsky2016-06-131-3/+4
|
* propagate theme changes properly even through 2D nodes, fixes #4754Juan Linietsky2016-06-131-11/+32
|
* Fixed ancient bug that prevented proper theme editing, closes #4924Juan Linietsky2016-06-121-28/+17
|
* Merge pull request #4977 from SaracenOne/scripting_exposeJuan Linietsky2016-06-061-29/+87
|\ | | | | Expose extra methods and constants to scripts
| * Expose control theme element and override detection methods to scripting side.Saracen2016-06-041-29/+87
| |
* | Merge pull request #4300 from leezh/control_focus_modeRémi Verschelde2016-06-041-0/+1
|\ \ | |/ |/| Exposed Control::focus_mode to the scene editor
| * GUI Focus mode improvementsZher Huei Lee2016-05-231-0/+1
| | | | | | | | | | | | | | | | Exposed `get_focus_mode()` to the script Added `focus_mode` to the property panels for line-edit and sliders Added `enabled_focus_mode` to the property panels for buttons enabled_focus_mode is used when button is enabled/disabled
* | Some cleanup to GDScriptJuan Linietsky2016-05-311-0/+1
|/ | | | separated GDFunction (VM) from GDScript in two different files
* Merge pull request #4612 from bojidar-bg/fix-anchor-buildsRémi Verschelde2016-05-111-4/+3
|\ | | | | Fix #4588 (crash in Control::_set_anchor)
| * Fix #4588 (crash Control::_set_anchor)Bojidar Marinov2016-05-101-4/+3
| | | | | | | | Thanks to @vnen for testing this
* | Sync classes.xml with current sourcesRémi Verschelde2016-05-091-1/+1
| | | | | | | | Also fix a typo in the binding of Control::set_drag_forwarding.
* | Rotation APIs: Better exposure for degrees methodsRémi Verschelde2016-05-061-14/+29
|/ | | | | | | | Made public the various set/getters for rotations in degrees. For consistency, renamed the exposed method names to remove the leading underscore, and kept the old names with a deprecation warning. Fixes #4511.
* Add ability to send drag events to another objectJuan Linietsky2016-05-031-1/+35
| | | | will be documented/tested later
* Adds a remove class item option in the theme editor.Aren Villanueva2016-04-211-1/+1
| | | | I've also added a get_stylebox_types helper function to the theme class in order to figure out exactly what types are available to a theme.
* Fix warn print when hide an control does not inside_treesanikoyes2016-04-071-2/+5
|
* Merge pull request #4102 from SaracenOne/dynamic_margin_propertiesRémi Verschelde2016-03-231-8/+80
|\ | | | | Dynamic property list for control margins
| * Dynamic property list for control margins allowing floating point properties ↵Saracen2016-03-201-8/+80
| | | | | | | | to be used with ratio anchors.
* | Fix GDScript crash when call show/hide in func _exit_treesanikoyes2016-03-221-2/+2
|/
* Fix a crash when running a game with Controls with a tools buildBojidar Marinov2016-03-101-1/+6
| | | | | | Regression from #3997 TOOLS_ENABLED is defined, even when running from editor, but EDITOR_DEF SEGFAULTs
* Add option to keep margins when changing anchors, closes #3979Bojidar Marinov2016-03-091-11/+24
| | | | | Amend: Fixed an issue for non-tool builds Amend2: Same, just fixed doing nothing at some times
* remove trailing whitespaceHubert Jarosz2016-03-091-71/+71
|
* Property handle rotated controls in 2D editor, fixes #3613Juan Linietsky2016-02-081-2/+7
|
* Make sure variant parser recognizes "nil" for compatibility with old ↵Juan Linietsky2016-02-011-1/+3
| | | | engine.cfg style cofig. Closes #3531
* -Take in consideration canvas layers for GUI inputJuan Linietsky2016-01-241-0/+2
|
* -Added a "modal_close" signal for controlsJuan Linietsky2016-01-231-0/+5
| | | | -Used it to keep changes on lineedit when focused out
* -Some fixes to drag and drop and canvas offset for GUI that were introduced ↵Juan Linietsky2016-01-191-2/+22
| | | | after rewrite
* Merge pull request #2854 from MarianoGnu/color_pickerRémi Verschelde2016-01-181-1/+93
|\ | | | | new ColorPicker
| * Move shaders to default theme and add shader_override related methods to ↵MarianoGNU2016-01-151-1/+93
| | | | | | | | Control class
* | -Massive editor dialog cleanupJuan Linietsky2016-01-171-1/+1
| | | | | | | | -Added a bottom menu list
* | -Moved all the "root" input handling for GUI from individual Controls to ↵Juan Linietsky2016-01-161-930/+105
|/ | | | | | | | Viewport. -Should fix several reported bugs when controls don't have a common parent This may have added new bugs, so please report if so!
* removed this fix, which brought more problems than solutionsJuan Linietsky2016-01-101-2/+2
|
* Merge pull request #3191 from neikeq/filedialog_hotkeysRémi Verschelde2016-01-071-0/+7
|\ | | | | Add keyboard shortcut to toggle "show hidden files" in FileDialog
| * FileDialog: keyboard shortcut to toggle "show hidden files"Ignacio Etcheverry2016-01-021-0/+7
| |
* | Update copyright to 2016 in headersGeorge Marques2016-01-011-1/+1
| |
* | -restrict gui root from being removed while performing input, fixes #2578reduz2015-12-291-0/+5
|/
* added rotation and scale support to gui controlsJuan Linietsky2015-12-121-5/+49
|
* misc cleanupJuan Linietsky2015-10-171-0/+15
|
* Several performance improvements, mainly in loading and instancing scenes ↵Juan Linietsky2015-06-291-20/+20
| | | | | | | | and resources. A general speedup should be apparent, with even more peformance increase when compiling optimized. WARNING: Tested and it seems to work, but if something breaks, please report.
* some editor window changesJuan Linietsky2015-06-131-2/+5
| | | | | -ability to make dock position configurable, and it gets saved -editor starts maximized default
* fix crash on exit for popup, fixes #1676Juan Linietsky2015-04-261-2/+4
|