aboutsummaryrefslogtreecommitdiff
path: root/scene/gui/control.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* -All types have editable script now in propertiesJuan Linietsky2017-01-091-3/+17
| | | | -Changed clip to a property in Control which can be set by the user
* -removed stop mouse and ignore mouse from control, which were confusing, ↵Juan Linietsky2017-01-081-23/+15
| | | | replaced by mouse filter
* Removed ratio anchoring (will have to fix multiple 3D views later..)Juan Linietsky2017-01-081-98/+19
|
* Swapped expand and fill flag bits, so scenes don't save this property by defaultJuan Linietsky2017-01-081-2/+2
|
* renamed _input_event for GUI events to _gui_input, so it's more ↵Juan Linietsky2017-01-081-2/+2
| | | | differentiated than generalized _input
* Editor settings categories are now tidy and beautiful!Juan Linietsky2017-01-051-1/+1
|
* Begin modifying properties to make them more friendly to script and doc.Juan Linietsky2017-01-031-20/+29
|
* ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky2017-01-021-116/+116
| | | | | | | | 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()
* Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-011-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!
* fixes #6464 lost icons in dock and file dialog, also #6443 , #6302Avril2016-11-181-4/+4
| | | | | Fixes lost icons in docks, file manager, sample library, settings and various other places.
* Prevent crash on focus change when no valid next control has been found.Andreas Haas2016-10-051-5/+5
| | | | Fixes the crash discussed in #6714.
* Add argument options for the theme override functions in ControlJuan Linietsky2016-09-111-0/+29
|
* -Added a ColorFrame control, kind of like Texture but for color.Juan Linietsky2016-09-111-1/+1
| | | | | -Added dropping nodes to text editor for them to become a path -Fixed issues with font not properly being set in code editor
* -Cleaned up find/replace bar for replace (made selection only default if ↵Juan Linietsky2016-09-111-9/+7
| | | | | | 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.
* More visual script improvementsJuan Linietsky2016-08-301-11/+38
| | | | | | -Added anti-aliasing on lines -Improved draw performance enormously -Removed sequence ports for most nodes, current visual scripts will likely be broken now. Sorry!
* More visual script workJuan Linietsky2016-08-251-1/+8
| | | | | | | | | -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
* VisualScript can now execute visual scripts, but there is no debugger or ↵Juan Linietsky2016-08-051-7/+33
| | | | profiler yet.
* 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