summaryrefslogtreecommitdiff
path: root/scene/gui
AgeCommit message (Collapse)Author
2020-12-04doc: Sync classref with current sourceRémi Verschelde
And fixups: - Add missing bindings in RenderingServer - Remove duplicate ArrayMesh enum bindings (they're in Mesh already) - Remove redundant _unhandled_key_input binding in Control (it's in Node already)
2020-12-01Update page value properly of ScrollContainervolzhs
2020-11-30Merge pull request #43971 from volzhs/fix-tab-containerRémi Verschelde
Fix TabContainer crashes
2020-11-30fix #43695 by revert part of #41576FIF15
Note that #42109 already reverted the change of MenuButton, and actually fixed #43695. As a result, this commit only reverts the change to LinkButton, in order to prevent unpredictable consequences.
2020-11-30Fix TabContainer crashesvolzhs
2020-11-30Exposed shortcut_context property to scripting and added documentation.Eric M
I didn't expose this as a property or add documentation in the original PR #42109.
2020-11-28Merge pull request #43828 from Chaosus/restore_line_antialiasingYuri Roubinsky
Restored antialiased lines by emulation using triangle strips
2020-11-28Merge pull request #42109 from EricEzaM/PR/input-and-shortcuts-reworkRémi Verschelde
Shortcuts rework - fixed issues with input propagation and triggering of unwanted shortcuts.
2020-11-27Restored antialiased lines by emulation using triangle stripsYuri Roubinsky
2020-11-26[Complex Text Layouts] Refactor TextEdit and CodeEdit controls.bruvzg
2020-11-26[Complex Text Layouts] Refactor Label and LineEdit controls.bruvzg
2020-11-26[Complex Text Layouts] Refactor Font class, default themes and controls to ↵bruvzg
use Text Server interface. Implement interface mirroring. Add TextLine and TextParagraph classes. Handle UTF-16 input on macOS and Windows.
2020-11-26Merge pull request #43807 from Xrayez/aspect-ratio-containerRémi Verschelde
Add `AspectRatioContainer` class
2020-11-26Removed unused property 'pending_resize' from ControlEric M
2020-11-25Add `AspectRatioContainer` classAndrii Doroshenko (Xrayez)
Co-authored-by: Ugis Brekis <ugis.brekis@productmadness.com>
2020-11-25Merge pull request #43833 from volzhs/fix-scrollcontainer-bar-max-valueRémi Verschelde
Fix to update scroll bar has correct max value in ScrollContainer
2020-11-25Update clear button when clickedTomasz Chabora
2020-11-25Fix to update scroll bar has correct max value in ScrollContainervolzhs
2020-11-23Add is_valid() check for InputEventKey in CanvasItemEditor.Eric M
2020-11-23Implement new shortcuts system.Eric M
unhandled_key_input changed to unhandled_button_input. Controls can set a 'shortcut_context' which they can then use to determine if their shortcuts should be triggered or not, based on if the viewport's focused GUI control is a child of their 'shortcut context'.
2020-11-23Added accept_event() calls for SceneTreeDock and BaseButtonEric M
2020-11-16Remove empty lines around braces with the formatting scriptAaron Franke
2020-11-16Merge pull request #42008 from Calinou/theme-rename-node-typeRémi Verschelde
Rename the `type` parameter to `node_type` in Theme and Control
2020-11-16Merge pull request #41851 from EricEzaM/PR/popup-menu-hysteresisRémi Verschelde
Added hysteresis for popup sub-menus
2020-11-15GUI: send cursor data from TextEditSergey Minakov
2020-11-11Merge pull request #43449 from nekomatata/line_edit_window_posRémi Verschelde
Expose LineEdit scroll offset to scripts
2020-11-11Expose LineEdit scroll offset to scriptsPouleyKetchoupp
2020-11-08Added hysteresis for popup sub-menusEric M
This adds a small lag effect when opening submenus which allow the user to move directly to an item on the submenu without worrying about avoiding the autohide regions.
2020-11-07Reorganized core/ directory, it was too fatty alreadyreduz
-Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code
2020-11-06Merge pull request #43283 from Calinou/color-remove-contrastedRémi Verschelde
Remove `Color.contrasted()` as its behavior is barely useful
2020-11-03Remove `Color.contrasted()` as its behavior is barely usefulHugo Locurcio
Returning the most contrasting color isn't a trivial task, as there are often many possible choices. It's usually best left for the user to implement using a script.
2020-11-03Tooltips: Improve code clarity and docsRémi Verschelde
The return type for `_make_custom_tooltip` is clarified as Control, and users should make sure to return a visible node for proper size calculations. Moreover in the current master branch, a PopupPanel will be added as parent to the provided tooltip to make it a sub-window. Clarifies documentation for `Control._make_custom_tooltip`, and shows how to use the (until now undocumented) "TooltipPanel" and "TooltipLabel" theme types to style tooltips. Fixes #39677.
2020-10-29Fix crash in TabContainer in case of no content at allvolzhs
2020-10-28Removed redundant line from TextEditYuri Roubinsky
introduced in https://github.com/godotengine/godot/pull/43026
2020-10-28Merge pull request #42766 from volzhs/tab-containerRémi Verschelde
Put unselected tabs back in TabContainer control
2020-10-27Rename the `type` parameter to `node_type` in Theme and ControlHugo Locurcio
This makes it clearer that it expects a node type as a string (such as "Label") instead of a type like "TYPE_ARRAY". This is backwards-compatible since only the name of the parameter is changed, not its order.
2020-10-25ScriptEditor: Fix line number gutter drag selectDevin Curry
Fixes issue #42722
2020-10-24Rename button group property to button_groupAaron Franke
2020-10-23Shows ColorRect in Color constants autocompletionYuri Roubinsky
2020-10-22Merge pull request #42907 from Xrayez/add-ref-rect-border-widthRémi Verschelde
Add `border_width` to `ReferenceRect`
2020-10-21Remove printing of windowpos/screenpos in MenuButtonYuri Roubinsky
2020-10-20Add `border_width` to `ReferenceRect`Andrii Doroshenko (Xrayez)
Exposes a hidden parameter behind `CanvasItem.draw_rect()`.
2020-10-20Removed underscore from GraphEdit begin/end_node_move signalsYuri Roubinsky
2020-10-20Merge pull request #42891 from gvaneyck/graph-begin-node-move-timingRémi Verschelde
Fix emit_signal timing for GraphEdit's begin/end node move
2020-10-19Fix emit_signal timing for GraphEdit's begin/end node moveGabriel Van Eyck
2020-10-19Merge pull request #42874 from dreamsComeTrue/text-edit-bounds-fixRémi Verschelde
TextEdit - fix valid bounds in 'set_line'.
2020-10-19Fixup `ColorRect` and `TextureRect` renamesAndrii Doroshenko (Xrayez)
2020-10-18Refactor MethodBind to use variadic templatesreduz
Removed make_binders and the old style generated binders.
2020-10-17TextEdit - fix valid bounds in 'set_line'. Fixes #41967Dominik 'dreamsComeTrue' Jasiński
2020-10-13Fixed main gutter not drawing on item togglePaulb23