summaryrefslogtreecommitdiff
path: root/scene/gui/control.cpp
AgeCommit message (Collapse)Author
2016-06-06Merge pull request #4977 from SaracenOne/scripting_exposeJuan Linietsky
Expose extra methods and constants to scripts
2016-06-04Expose control theme element and override detection methods to scripting side.Saracen
2016-06-04Merge pull request #4300 from leezh/control_focus_modeRémi Verschelde
Exposed Control::focus_mode to the scene editor
2016-05-31Some cleanup to GDScriptJuan Linietsky
separated GDFunction (VM) from GDScript in two different files
2016-05-23GUI Focus mode improvementsZher Huei Lee
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
2016-05-11Merge pull request #4612 from bojidar-bg/fix-anchor-buildsRémi Verschelde
Fix #4588 (crash in Control::_set_anchor)
2016-05-10Fix #4588 (crash Control::_set_anchor)Bojidar Marinov
Thanks to @vnen for testing this
2016-05-09Sync classes.xml with current sourcesRémi Verschelde
Also fix a typo in the binding of Control::set_drag_forwarding.
2016-05-06Rotation APIs: Better exposure for degrees methodsRémi Verschelde
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.
2016-05-03Add ability to send drag events to another objectJuan Linietsky
will be documented/tested later
2016-04-21Adds a remove class item option in the theme editor.Aren Villanueva
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.
2016-04-07Fix warn print when hide an control does not inside_treesanikoyes
2016-03-23Merge pull request #4102 from SaracenOne/dynamic_margin_propertiesRémi Verschelde
Dynamic property list for control margins
2016-03-22Fix GDScript crash when call show/hide in func _exit_treesanikoyes
2016-03-20Dynamic property list for control margins allowing floating point properties ↵Saracen
to be used with ratio anchors.
2016-03-10Fix a crash when running a game with Controls with a tools buildBojidar Marinov
Regression from #3997 TOOLS_ENABLED is defined, even when running from editor, but EDITOR_DEF SEGFAULTs
2016-03-09Add option to keep margins when changing anchors, closes #3979Bojidar Marinov
Amend: Fixed an issue for non-tool builds Amend2: Same, just fixed doing nothing at some times
2016-03-09remove trailing whitespaceHubert Jarosz
2016-02-08Property handle rotated controls in 2D editor, fixes #3613Juan Linietsky
2016-02-01Make sure variant parser recognizes "nil" for compatibility with old ↵Juan Linietsky
engine.cfg style cofig. Closes #3531
2016-01-24-Take in consideration canvas layers for GUI inputJuan Linietsky
2016-01-23-Added a "modal_close" signal for controlsJuan Linietsky
-Used it to keep changes on lineedit when focused out
2016-01-19-Some fixes to drag and drop and canvas offset for GUI that were introduced ↵Juan Linietsky
after rewrite
2016-01-18Merge pull request #2854 from MarianoGnu/color_pickerRémi Verschelde
new ColorPicker
2016-01-17-Massive editor dialog cleanupJuan Linietsky
-Added a bottom menu list
2016-01-16-Moved all the "root" input handling for GUI from individual Controls to ↵Juan Linietsky
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!
2016-01-15Move shaders to default theme and add shader_override related methods to ↵MarianoGNU
Control class
2016-01-10removed this fix, which brought more problems than solutionsJuan Linietsky
2016-01-07Merge pull request #3191 from neikeq/filedialog_hotkeysRémi Verschelde
Add keyboard shortcut to toggle "show hidden files" in FileDialog
2016-01-02FileDialog: keyboard shortcut to toggle "show hidden files"Ignacio Etcheverry
2016-01-01Update copyright to 2016 in headersGeorge Marques
2015-12-29-restrict gui root from being removed while performing input, fixes #2578reduz
2015-12-12added rotation and scale support to gui controlsJuan Linietsky
2015-10-17misc cleanupJuan Linietsky
2015-06-29Several performance improvements, mainly in loading and instancing scenes ↵Juan Linietsky
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.
2015-06-13some editor window changesJuan Linietsky
-ability to make dock position configurable, and it gets saved -editor starts maximized default
2015-04-26fix crash on exit for popup, fixes #1676Juan Linietsky
2015-04-21-Many fixes and demo for RichTexLabelJuan Linietsky
-Proper ability to edit BBCode in RTL.
2015-04-18Updated copyright year in all headersJuan Linietsky
2015-04-02merging okam changesJuan Linietsky
2015-03-09lot of work on 2D lighting and isometric mapsJuan Linietsky
added a new demo, isometric_light that does full isometric sorting, lights, shadows, etc.
2015-02-15Godot UI is quick and snappy again!Juan Linietsky
Changed linked listed sort to use auxiliary memory this fixes user interface performance issues.
2015-02-14fixes to mouse warpJuan Linietsky
-can warp now from viewport and control, in their respective coordinate systems -warp is now local to the window on Windows and OSX. IF YOU RUN OSX, PLEASE TEST THIS! And make sure it works!, new code is in OS_OSX::warp_mouse_pos. I don't have OSX so i can't test!
2015-01-03-fixed bug on focus capture, now respets line/text editJuan Linietsky
-when playing animations, property editor is now refreshed properly, fixes #1046
2015-01-03removed deadcodeJuan Linietsky
2015-01-03-ability to scale and modulate texturebutton, closes #818Juan Linietsky
-fixed bug in ordering of modal subwindows, closes #1001
2014-12-16New Code CompletionJuan Linietsky
-=-=-=-=-=-=-=-=-=- -Massive improvement to code completion -Argument hinting for functions If you manage to out-smart the code-completion in a situation where completion should be possible to guess, let me know. Please enter the commit message for your changes. Lines starting
2014-11-05SceneMainLoop -> SceneTreeJuan Linietsky
-=-=-=-=-=-=-=-=-=-=-=-=-=- *YOUR SOURCE MIGHT NOT WORK* For mor information on fix: https://github.com/okamstudio/godot/wiki/devel_scene_tree Other stuff: -Shower of bullets demo -Fixes all around
2014-09-17Small FixesJuan Linietsky
----------- -Added Ability for centering on top left for centercontainer -Added ability to bind more than 5 parameters (must include an extra file)
2014-06-29Bug FixesJuan Linietsky
-=-=-=-=- -Documentation now shows overridable theme values (though this needs to be documented). -Detect when object transform is flipped and flip normals too. -TileMap can specify bounce and friction for collision. -Removed limit of 4 lights per object -Added is_hovered() to buttons.