summaryrefslogtreecommitdiff
path: root/scene/gui
AgeCommit message (Collapse)Author
2018-08-25Merge pull request #21231 from AlexHolly/filedialog-fix-multi-selectionRémi Verschelde
Check all selected items on OPEN_MANY/OPEN_FILES in FileDialog, also …
2018-08-25Merge pull request #21358 from MidZik/masterRémi Verschelde
Disable ability to copy or cut text from LineEdit if secret mode is enabled.
2018-08-24Merge pull request #21385 from groud/fix_itemlist_signalRémi Verschelde
Fix a mistake in itemlist multi_select signal
2018-08-24Fix a mistake in itemlist multiselect signalgroud
2018-08-24Merge pull request #20586 from AlexHolly/text-edit-auto-completionRémi Verschelde
text_edit auto_completion
2018-08-24Merge pull request #21156 from MednauN/atlas-texture-fixRémi Verschelde
Fix AtlasTexture with NinePatchRect and TextureProgress
2018-08-24Avoid misuse of set_drag_preview() function where it shouldn't be. Closes #20100Juan Linietsky
2018-08-24Merge pull request #21356 from akien-mga/drop-shadergraphRémi Verschelde
Drop old ShaderGraph code, obsoleted by VisualShader
2018-08-24Make some debug prints verbose-only, remove othersRémi Verschelde
2018-08-24Drop old ShaderGraph code, obsoleted by VisualShaderRémi Verschelde
2018-08-24Disable ability to copy or cut text from LineEdit if secret mode is enabled.MidZik
2018-08-22Merge pull request #21152 from DualMatrix/fileselect_errorRémi Verschelde
Fixed !is_inside_tree() errors in file dialog
2018-08-21Fix grab/select of gradient editGuilherme Felipe
2018-08-20Massive rewrite to AnimationTree. Many APIs changed in order to:Juan Linietsky
-Reuse resources -Expose properties in AnimationTree
2018-08-20Check all selected items on OPEN_MANY/OPEN_FILES in FileDialog, also changed ↵Alexander Holland
confusing naming.
2018-08-18Fix AtlasTexture with NinePatchRect and TextureProgresspesets
2018-08-18Fixed !is_inside_tree() errors in file dialogDualMatrix
Fixed !is_inside_tree() errors appearing when current_file has a . in it.
2018-08-17Bind ItemList's item_custom_fg_color methodsRémi Verschelde
Fixes #21086.
2018-08-17Merge pull request #21091 from hpvb/fix-removing-popup-menu-itemRémi Verschelde
Call minimum_size_changed() in PopupMenu::remove_item()
2018-08-16Call minimum_size_changed() in PopupMenu::remove_item()Hein-Pieter van Braam
When removing an item from a PopupMenu we need to update the control's size cache otherwise the size of the PopupMenu itself lags behind by 1 item size. Meaning the PopupMenu will remain too large.
2018-08-16Delay emitting pressed signals in PopupMenuHein-Pieter van Braam
When processing items we may actually delete the item we're processing in the callback for the signal. To avoid this, call the signal after we're done processing the items. But before hiding the popupmenu itself. Thanks to @reduz for writing the whole solution. This fixes #19842
2018-08-16Fix type of Range allow_greater/allow_lesser propertiesRémi Verschelde
2018-08-16PopupMenu item_pressed is sent before checking hide flags.Ovnuniarchos
2018-08-14Merge pull request #18096 from aaronfranke/masterJuan Linietsky
[Core] Split up math_2d.h
2018-08-14Merge pull request #20906 from Chaosus/rrect_fixRémi Verschelde
Fix ReferenceRect border
2018-08-14text_edit auto_completionAlexander Holland
replaced "similarity filter" with "sequential checks" this give more control over the desired filtering.
2018-08-14Merge pull request #20876 from ttencate/cursor_blinkRémi Verschelde
Reset caret blink when Ctrl+moving the cursor
2018-08-14Merge pull request #20982 from hpvb/fix-19842Rémi Verschelde
Emit pressed events after processing items
2018-08-13Emit pressed events after processing itemsHein-Pieter van Braam
When processing items we may actually delete the item we're processing in the callback for the signal. To avoid this, call the signal after we're done processing the items. This fixes #19842
2018-08-13Editor autocomplete: prefer same case candidatesJames
2018-08-13Merge pull request #20155 from Tunous/line-edit-clearRémi Verschelde
Add clear button to search fields
2018-08-13Merge pull request #20666 from Calinou/script-editor-underline-hidpiRémi Verschelde
Scale underlines in the script editor with the editor scale
2018-08-11Do not use theme to set LineEdit right_iconŁukasz Rutkowski
2018-08-11Add clear text button to LineEditŁukasz Rutkowski
- Add pressed state to clear button - Enable clear button on all inputs with search icon - Remove duplicate clear buttons - Fix rendering of icon for center and right alignments - Add clear button to more search fields - Add clear icon to default theme - Add method to control enabled state of clear button - Add property to enable clear button from inspector
2018-08-11[Core] Completely kill math_2d.h, change includesAaron Franke
2018-08-11Fix ReferenceRect borderChaosus
2018-08-10Merge pull request #20149 from Overblob/shader_float_typingJuan Linietsky
Shader language - Add optional float typings
2018-08-10Make line edit always vertically aligned, makes no sense otherwise. Fixes #17188Juan Linietsky
2018-08-10Reset caret blink when Ctrl+moving the cursorThomas ten Cate
There was a hardcoded exception to never reset caret blinking if Ctrl (`command`) was pressed. This broke on Ctrl+arrows, Ctrl+Home/End/PgUp/PgDn, Ctrl+C, Ctrl+V, Ctrl+Backspace and Ctrl+Delete. Resetting blink only for those Ctrl operations that actually touch the cursor somehow would clutter the code a lot, so I removed the check entirely. That means we now also reset blinking on unrelated operations like Ctrl+O, but that seems pretty harmless. I actually like the additional bit of feedback even in that case (most of these will immediately defocus the editor anyway, so you never see it). Fixes #18100
2018-08-02Scale underlines in the script editor with the editor scaleHugo Locurcio
2018-07-29Expose _clips_input as a virtual function, closes #15358Juan Linietsky
2018-07-29Merge pull request #15269 from ianb96/context_menu_improvementsJuan Linietsky
Context Menu Improvements
2018-07-27Merge pull request #20498 from Calinou/caret-width-hidpiRémi Verschelde
Make the caret thicker in TextEdit and scale it with the editor scale
2018-07-26Multiply TextEdit line spacing by the editor scaleHugo Locurcio
This makes sure the default line spacing in the script editor is consistent with the editor scale in use.
2018-07-26Make the caret thicker in TextEdit and scale it with the editor scaleHugo Locurcio
The caret in LineEdit is still 1 pixel thick, but it will become 2 pixels thick at editor scales higher than or equal to 150%.
2018-07-26context menu improvementsIan
2018-07-26Reduce unnecessary COW on Vector by make writing explicitHein-Pieter van Braam
This commit makes operator[] on Vector const and adds a write proxy to it. From now on writes to Vectors need to happen through the .write proxy. So for instance: Vector<int> vec; vec.push_back(10); std::cout << vec[0] << std::endl; vec.write[0] = 20; Failing to use the .write proxy will cause a compilation error. In addition COWable datatypes can now embed a CowData pointer to their data. This means that String, CharString, and VMap no longer use or derive from Vector. _ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug builds. This is a lot faster for Vector in the editor and while running tests. The reason why this difference used to exist is because force-inlined methods used to give a bad debugging experience. After extensive testing with modern compilers this is no longer the case.
2018-07-25Merge pull request #20133 from ibrahn/fix-tree-uninit-branchRémi Verschelde
fixed a branch on uninitialised data in gui/tree
2018-07-25Merge pull request #19726 from guilhermefelipecgs/feature_add_menu_hoverRémi Verschelde
Opens the menu with the same parent on mouse focus
2018-07-24Opens the menu with the same parent on mouse focusGuilherme Felipe