aboutsummaryrefslogtreecommitdiff
path: root/scene/gui/control.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename [gs]et_pos to [gs]et_position for ControlsSergey Pusnei2017-04-101-17/+17
| | | | | | | | 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
|
* Fix more property names in _change_notify calls.Andreas Haas2017-04-031-1/+1
|
* Fixed Node2D/Control not updating propertiesRobert Hernandez2017-04-011-6/+6
|
* Fix typos in source code using codespellRémi Verschelde2017-03-241-1/+1
| | | | From https://github.com/lucasdemarchi/codespell
* Merge pull request #8023 from CrazyGuy108/masterRémi Verschelde2017-03-181-0/+2
|\ | | | | List Control::has_point as a virtual method
| * List Control::has_point as a virtual methodCrazyGuy1082017-03-141-0/+2
| | | | | | | | | | | | According to Issue #8018, a BIND_VMETHOD macro wasn't present in scene/gui/control.cpp, while it was declared to be a virtual method in scene/gui/control.h. classes.xml was updated to also list this method in Control.
* | fixed ClassDB inconsistenciesKarroffel2017-03-131-2/+2
|/ | | | fixes #7960
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-969/+810
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Refactoring: rename tools/editor/ to editor/Rémi Verschelde2017-03-051-1/+1
| | | | | | 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.
* Various fixes detected using PVS-Studio static analyzer.Thaer Razeq2017-02-281-2/+0
| | | | | | | - Add FIXME tags comments to some unfixed potential bugs - Remove some checks (always false: unsigned never < 0) - Fix some if statements based on reviews. - Bunch of missing `else` statements
* -renamed globals.h to global_config.cpp (this seems to have caused a few ↵Juan Linietsky2017-02-211-1/+1
| | | | | | modified files) -.pck and .zip exporting redone, seems to be working..
* Rename the _MD macro to D_METHODHein-Pieter van Braam2017-02-131-93/+93
| | | | | | This new name also makes its purpose a little clearer This is a step towards fixing #56
* Remove use of _SCS from ADD_METHODHein-Pieter van Braam2017-02-131-24/+24
| | | | This saves typing and is a step towards fixing #56
* Style: Fix statements ending with ';;'Rémi Verschelde2017-01-161-1/+1
|
* Style: Fix whole-line commented codeRémi Verschelde2017-01-141-9/+13
| | | | | 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.
* Created new Engine singleton, and moved engine related OS functions to it.Juan Linietsky2017-01-131-1/+1
|
* New API for visibility in both CanvasItem and SpatialJuan Linietsky2017-01-131-8/+8
| | | | | | visible (property) - access set_visible(bool) is_visible() is_visible_in_tree() - true when visible and parents visible show() hide() - for convenience
* Renamed most signals so they refer to:Juan Linietsky2017-01-121-10/+10
| | | | | -An action being requested to the user in present tense: (ie, draw, gui_input, etc) -A notification that an action happened, in past tense (ie, area_entered, modal_closed, etc).
* Proper inheritance checking when requesting theem resourcesJuan Linietsky2017-01-111-24/+113
|
* Type renames:Juan Linietsky2017-01-111-7/+7
| | | | | | | | | | | | Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
* -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