aboutsummaryrefslogtreecommitdiff
path: root/scene/gui/control.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* -New inspector.Juan Linietsky2018-05-151-1/+7
| | | | | | | -Changed UI resizing code, gained huge amount of speed. -Reorganized timer sync to clean up behavior (sorry forgot commit this before) -
* Merge pull request #17502 from groud/2Deditor_rectJuan Linietsky2018-04-131-0/+3
|\ | | | | Remove the rect surrounding 2D nodes in 2D editor when it's not pertinent
| * Remove the selection rect for nodes that do not require itGilles Roudiere2018-04-031-0/+3
| |
* | Merge pull request #17081 from endragor/no-press-when-scrollRémi Verschelde2018-04-101-0/+2
|\ \ | | | | | | Make Button not emit press when container is scrolled
| * | Make BaseButton not emit press when container is scrolledRuslan Mustakov2018-04-091-0/+2
| |/ | | | | | | | | | | | | | | | | This fixes the problem described in #13996 in a proper way. This also adds "deadzone" property to ScrollContainer. It can be used on mobile, where taps are not as precise as mouse clicks. Player could slightly move their finger when tapping, in which case we still want the button to be pressed rather than the container to be scrolled.
* / Implements #16546 by adding GROW_DIRECTION_BOTH which allows a control to ↵isaacremnant2018-02-121-1/+2
|/ | | | grow from its center.
* Changes the keep_margin parameter to true by default, so that people are not ↵Gilles Roudiere2018-01-151-2/+2
| | | | suprised that set_anchor changes the margins values
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-0/+1
| | | | | | Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* fix certain popup close clicks with popup buttonsBernhard Liebl2017-12-101-0/+5
|
* Rework the canvas_item API for further improves to the canvas item editorGilles Roudiere2017-11-191-5/+19
|
* Add manual overrides for focus_next and focus_previous on controls similar ↵Saracen2017-11-161-0/+7
| | | | to what can already be done with focus neighbours.
* Unify degree members and propertiesletheed2017-11-101-2/+2
|
* Remove deprecated rotation methodsletheed2017-11-101-4/+0
|
* Remove set_area_as_parent_rect and replace it by ↵Gilles Roudiere2017-09-221-2/+0
| | | | set_anchors_and_margins_preset(PRESET_WIDE)
* Implements set_margins_preset(...)Gilles Roudiere2017-09-221-11/+23
|
* Dead code tells no talesRémi Verschelde2017-08-271-1/+1
|
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* Changed anchor constants to enum, removed ANCHOR_CENTER, fixes #9889Juan Linietsky2017-08-151-3/+6
|
* Avoids inverted anchorsGilles Roudiere2017-08-131-2/+2
| | | | | 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-0/+21
|
* Replace GUI anchor type by a float between 0 and 1Gilles Roudiere2017-08-131-13/+10
|
* More fill modes for containers, closes #9504Juan Linietsky2017-07-061-1/+3
|
* Ability to set rotation and scaling pivot for controls.Juan Linietsky2017-07-061-0/+6
|
* -Ability for controls to grow the left/top when anchored. This makes ↵Juan Linietsky2017-07-061-0/+14
| | | | anchoring controls to the right/bottom easier when they are resized.
* Rename [gs]et_pos to [gs]et_position for ControlsSergey Pusnei2017-04-101-4/+4
| | | | | | | | 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
|
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-107/+91
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Type renames:Juan Linietsky2017-01-111-2/+2
| | | | | | | | | | | | 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-0/+4
| | | | -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-7/+10
| | | | replaced by mouse filter
* Removed ratio anchoring (will have to fix multiple 3D views later..)Juan Linietsky2017-01-081-1/+0
|
* 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-1/+1
| | | | differentiated than generalized _input
* ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky2017-01-021-1/+1
| | | | | | | | 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!
* Add argument options for the theme override functions in ControlJuan Linietsky2016-09-111-0/+2
|
* More visual script improvementsJuan Linietsky2016-08-301-0/+5
| | | | | | -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-0/+6
| | | | | | | | | -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-0/+4
| | | | profiler yet.
* properly fixed notificaitons for theme changed, closes #5774Juan Linietsky2016-07-181-1/+3
|
* Add a small workaround to avoid modal tabs to be closed if they are spawned ↵Juan Linietsky2016-06-271-0/+2
| | | | in the same frame, closes #3837
* Keep track of when fonts change, so theme or controls that use fonts as ↵Juan Linietsky2016-06-171-0/+7
| | | | | | overrides get properly updated. closes #4622 , probably closes many other issues too
* propagate theme changes properly even through 2D nodes, fixes #4754Juan Linietsky2016-06-131-1/+1
|
* Merge pull request #4977 from SaracenOne/scripting_exposeJuan Linietsky2016-06-061-0/+7
|\ | | | | Expose extra methods and constants to scripts
| * Expose control theme element and override detection methods to scripting side.Saracen2016-06-041-0/+7
| |
* | -customizable shortcuts in editorJuan Linietsky2016-06-041-1/+1
|/ | | | | -editor settings now save to .tres instead of .xml -buttons can now hold a shortcut
* Rotation APIs: Better exposure for degrees methodsRémi Verschelde2016-05-061-2/+5
| | | | | | | | 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-0/+2
| | | | will be documented/tested later
* Add option to keep margins when changing anchors, closes #3979Bojidar Marinov2016-03-091-1/+3
| | | | | Amend: Fixed an issue for non-tool builds Amend2: Same, just fixed doing nothing at some times