summaryrefslogtreecommitdiff
path: root/scene/gui
AgeCommit message (Collapse)Author
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
2018-07-24Merge pull request #18867 from fire/better_vx_us_rebase_02Juan Linietsky
Improve VisualScript UX
2018-07-24Improve VisualScript UXK. S. Ernest (iFire) Lee
* Prototype faster function call ux. * Work on general search ux. * Able to create nodes from search. * Show class for variables but not methods. * Get actions search working. * Descriptions now show for both methods and properties. * Enable zooming on mouse wheel up and down. * Make the drag trigger on right mouse button. * Search now shows for action visual script nodes. * Able to search visual node names. * Search works better. * Change zooming scale to hide artifacts better. * Remove zoom changes * Select from base should check properties too like the other functions. * Seq_connect flag is needed to set sequence lines correctly. * Remove comment * Code cleanup with function names and arguments. * Use brief description for search descriptions. * Clean and fix bug with input nodes connecting with sequence lines. * Add a warning and fix some edge conditions with sequence into data lines and vice versa. * Don't search functions when pulling from a sequence node. * Don't show actions when pulling from a data line. * Set set and get properties. * Convert visual script operators to the correct type * Create a function preset finds only functions. * Singletons can now find functions. * Add shift-a for generic search. * Add brief descriptions for Visual Script nodes. * Search boxes can now filter names. * Add bigger hit zones to node connect. * For the drop zones, make all the rect2 areas the same size. * Function names in visual script node should be lower case so that search works better. * Use the convention of capitalize() for set, set, visual script nodes and methods. * Make search more general. Ignore "_" and make case-insensitive. Also made the search window smaller and remove extra info from search * Make type_cast use the connecting node's type and remove use of found variable. * Fix case where you call an instance's call function where it becomes an invalid call. * Make get_visual_node_names use a set of filters, move action creations and fix bug with sequence node connections. * Make the window bigger. * Make connect_data and connect_seq more robust. * Add icons to search items. * Add vs constructors in shift-a menu. * Operators, builtins and constructors show type name. Fix several problems with port connections. * In shift-a mode search everything. * Code cleanup * Work on autocompleting the type. * Use type guess in action creation. * Check if type hint string exists in object variables when generating the visual script search. * Add the hint to SceneTree. * Add original type detection. * Make type casting great again. This puts the type casted base type as the data output type string hint. * Pass the type in a VisualScriptFunctionCall too. * Set the base type correctly in VisualScriptFunctionGet and VisualScriptFunctionSet using hint string. * Make sure the instance is passed in VisualScriptPropertySet. * Restore search on the node's type. * Remove dependencies from graph_edit. * Remove dependencies from property_selector and name the class visual_script_property_selector. * Extract hot zones into a function. * Move hot_zones constants into default theme. * Bigger capture zones. * Clean messy port_grab_distance variables. * Remove RMB functionality. * Remove memory leak on showing visual script descriptions. * Read the port_grab_distance constants on enter tree and theme changed.
2018-07-24Merge pull request #18806 from Calinou/bilinear-textureprogressRémi Verschelde
Add support for bilinear bars in TextureProgress
2018-07-24Removed unnecessary assignmentsWilson E. Alvarez
2018-07-20Add editor highlight for type-safe linesGeorge Marques
The line number is hightlighted to indicate that the line contains only type-safe code.
2018-07-20-Fix tooltips in inspector, now they show as rich text.Juan Linietsky
2018-07-18Export: Properly reload preset when opening dialogRémi Verschelde
Fixes #20119 where newly installed templates were not detected. Also fix a bug with preset deletion where it would attempt to edit an already removed preset. For this I made it so that ItemList::deselect_all() also resets `current` to -1, as a manual ItemList::deselect(idx) already does.
2018-07-18Fix Label autowrap clips textvolzhs
2018-07-17Merge pull request #20150 from ibrahn/fix-scrollbar-atlasMax Hilbrunner
fix scrollbar icons with atlas texture.
2018-07-14Visual Shaders are back.Juan Linietsky
2018-07-14fix scrollbar icons with atlas texture.Ibrahn Sahir
Draw scrollbar icons through their textures, rather than calling directly to the server. Allows atlas textures to manipulate the source rect as required.
2018-07-13fixed a branch on uninitialised data in gui/treeIbrahn Sahir
I don't think it was really causing any harm, but this makes things a little more explicit and helps clean up valgrind output.
2018-07-12Merge pull request #20068 from Xrayez/submenu-popup-delayMax Hilbrunner
Add ability to set submenu's popup delay time on mouse hovering
2018-07-10fix ColorPickerButton.get_popup()Alexander Holland
2018-07-09Add ability to set submenu's popup delay time on mouse hoveringAndrii Doroshenko (Xrayez)
This allows to set delay time for the submenu to popup. Setting this value low can increase responsiveness. If the popup menu is added as a child of another (acting as a submenu), it will inherit the delay time of the parent menu item.
2018-07-07Added scrollable property to SlidersChaosus
2018-07-05Merge pull request #19498 from guilhermefelipecgs/fix_regressionMax Hilbrunner
Fix "find and replace" initializing with wrong size
2018-07-05Merge pull request #19735 from Paulb23/text_offset_issue_15688Max Hilbrunner
Fixed text drawing too high in TextEdit, issue 15688
2018-07-05Merge pull request #19351 from guilhermefelipecgs/fix_reversed_textMax Hilbrunner
Fixes to the new inspector
2018-07-05Merge pull request #19187 from Zirak/editor-autocomplete-quoteMax Hilbrunner
Editor autocomplete won't insert unnecessary quotes
2018-07-05Merge pull request #18028 from gabrii/18026Max Hilbrunner
Fix #18026. Expose TextEdit::set_draw_breakpoint_gutter.
2018-07-04Fixes to the new inspectorGuilherme Felipe
- Fix inspector dock not updating tree for main resource; - Fixes the inspector input text reverted during typing; - Add method bind for "refresh" used by MultiNodeEdit;
2018-07-04Fixes control nodes size not updated when outside the treegroud
2018-07-04Merge pull request #19782 from Calinou/fix-control-pixel-snap-roundingRémi Verschelde
Fix control pixel snap rounding using floor() instead of round()
2018-07-03Merge pull request #17438 from Deluvi/get-word-pos-quote-fixMax Hilbrunner
get_word_at_pos considers simple and double quotes
2018-07-03Merge pull request #18634 from groud/fix_control_child_of_node2dMax Hilbrunner
Fixes the bad calculation of margin & anchors when child of Node2D
2018-07-03Merge pull request #19244 from Chaosus/settingsperformance_and_colordeferredMax Hilbrunner
Increases settings apply speed and added deferred color setting to ColorPicker
2018-07-03Merge pull request #19565 from robojumper/fixed_edge_scrollMax Hilbrunner
Re-enable scrolling via selecting code beyond edges in text_edit.cpp
2018-07-02-Fixes to how hashing happened, now StringName and NodePath use default ↵Juan Linietsky
hasher, this was leading to some severe slowdown in scenarios -Fixes to some duplication scenarios for instanced scenes
2018-07-01Merge pull request #19875 from willnationsdev/meta-underlinedGeorge Marques
Fix underline_meta not working in RichTextLabel
2018-07-01Center text drawing in LineEditPaulb23
2018-07-01Fix performance for godot's interfaceGuilherme Felipe
2018-07-01Fix underline_meta not working in RichTextLabelWill Nations
2018-06-27Changes to how node paths are selected from property, allowing setting a hint.Juan Linietsky
2018-06-26Fix control pixel snap rounding using floor() instead of round()Hugo Locurcio
This resulted in small leftwards/upwards movement of controls being faster than it should be. This closes #19763.
2018-06-24Fixed text drawing too high in TextEdit, issue 15688Paulb23
2018-06-18-Added AnimationGraphPlayer (still missing features)Juan Linietsky
-Added ability to edit resources from built-in inspector (wip, needs testing and feedback)
2018-06-14Re-enable scrolling via selecting code beyond edges in text_edit.cpprobojumper
2018-06-13Fix "find and replace" initializing with wrong sizeGuilherme Felipe
Fix the code editor outside the allowed limits.
2018-06-13LineEdit IME position will now ignore placeholder text.Saracen