summaryrefslogtreecommitdiff
path: root/scene/gui
AgeCommit message (Collapse)Author
2020-12-10Allow to circle back in 'PopupMenu' even if the first/last item is ↵Michael Alexsander
non-selectable
2020-12-10Merge pull request #44233 from YeldhamDev/popupmenu_circle_backRémi Verschelde
Re-add circle back scrolling to 'PopupMenu'
2020-12-10Merge pull request #44070 from YeldhamDev/popupmenu_separator_font_colorRémi Verschelde
Add "font_color_separator" theme property to 'PopupMenu'
2020-12-10Merge pull request #44124 from volzhs/tabs-in-frontRémi Verschelde
Add option to draw all tabs in front
2020-12-10Add option to draw all tabs in frontvolzhs
2020-12-09Re-add circle back scrolling to 'PopupMenu'Michael Alexsander
2020-12-09Merge pull request #44128 from KoBeWi/🧹Rémi Verschelde
Cleanup unused engine code
2020-12-09Cleanup unused engine codeTomasz Chabora
2020-12-09Fix connections to CanvasItem and Tabs signalsRémi Verschelde
Follow-up to #44188 and #44189.
2020-12-09Static analyzer fixes:bruvzg
Removes unused code in OS. Fixes return types. Fixes few typos.
2020-12-08Rename Tabs close and hover signals to tab_closed and tab_hoveredMarcel Admiraal
2020-12-07[Complex Text Layouts] Performance optimizations.bruvzg
2020-12-06[Complex Text Layouts] Fix missing ItemList item text buffer init in ↵bruvzg
`add_icon_item`.
2020-12-06[Complex Text Layouts] Align glyph offsets and advances to the pixel grid.bruvzg
2020-12-06[Complex Text Layouts] Adds missing Font::SPACING_* to the Label, LineEdit, ↵bruvzg
TextEdit, TextLine and TextParagraph. Fixes oversized editor control height (default editor spacing is negative) and control size changing when text is set.
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-03Add "font_color_separator" theme property to 'PopupMenu'Michael Alexsander
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