summaryrefslogtreecommitdiff
path: root/scene/gui/tree.cpp
AgeCommit message (Collapse)Author
2022-12-12Merge pull request #68546 from marzecdawid/fix-deselect-all-in_treeRémi Verschelde
Fix errors while deselecting all tree items; issue #65185
2022-12-10Merge pull request #68728 from Rindbee/fix-wrong-editRémi Verschelde
Make sure the popup editor is hidden when selected
2022-12-07Fix Determining Window for TouchscreenMarkus Sauermann
DisplayServer::screen_is_touchscreen will likely never utilize its parameter p_screen. This PR replaces this function by DisplayServer::is_touchscreen_available() with the same functionality. This solves the problem, that a SubViewport was used for determining the screen, which resulted in error messages.
2022-12-04Fix TreeItem::set_as_cursor checkNinni Pipping
2022-11-30Rename theme cache separation namesIceflower
2022-11-16Make sure the popup editor is hidden when selectedRindbee
2022-11-15Fix errors while deselecting all tree items; issue #65185Dawid Marzec
2022-11-14Fix a gap with scrolling down in Tree with arrow keys (#57636)Dawid Marzec
2022-11-10[Font] Add an import option to pre-render all glyphs required for the ↵bruvzg
translation.
2022-11-08Remove duplicate project settings definitionskobewi
2022-10-13Merge pull request #66337 from EricEzaM/sprite-framesRémi Verschelde
Ensure control built-in shortcuts are matched exactly & add shortcuts for SpriteFrames editor
2022-10-09Expose TreeItem::set_button_colorJummit
2022-10-07Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg
change warnings=all to use /W4.
2022-10-06Fix wrong condition used in `set_custom_color`Rindbee
2022-09-24Ensure all checks of `is_action` in the editor which are for 'shortcut' use, ↵Eric M
check the action exactly.
2022-09-21Tree recursive foldingNinni Pipping
2022-09-07Fix key mapping changes when moving from macOS to other platformbruvzg
Removes separate `Command` key (use `Meta` instead). Adds an event flag to automatically remap `Command` <-> `Control` (cannot be set alongside `Control` or `Meta`).
2022-09-06Improve naming of theme properties throughout GUI codeYuri Sizov
Rename ItemList's bg -> panel Rename ItemList's bg_focus -> focus Rename ProgressBar's bg -> background Rename ProgressBar's fg -> fill Rename Tree's bg -> panel Rename Tree's bg_focus -> focus Rename ScrollContainer's bg -> panel Rename FileDialog's *_icon_modulate -> *_icon_color Rename FileDialog's files_disabled -> file_disabled_color Rename CheckButton's on/off -> checked/unchecked Rename check_v_adjust -> check_v_offset
2022-09-01Add a lifecycle method for manual theme item caching to ControlYuri Sizov
2022-08-30Merge pull request #64377 from Mickeon/rename-canvas-redrawRémi Verschelde
Rename `CanvasItem.update()` to `queue_redraw()`
2022-08-30Rename TreeItem's `set_tooltip` to `set_tooltip_text`Micky
`set_tooltip` -> `set_tooltip_text` `get_tooltip` -> `get_tooltip_text` For consistency: `get_button_tooltip` -> `get_button_tooltip_text` And the `tooltip` parameter in `add_button` was renamed to `tooltip_text`
2022-08-29Rename `CanvasItem.update()` to `queue_redraw()`Micky
Affects a lot of classes. Very thoroughly checked signal connections and deferred calls to this method, add_do_method/add_undo_method calls, and so on. Also renames the internal `_update_callback()` to `_redraw_callback()` for consistency. Just a few comments have also been changed to say "redraw". In CPUParticles2D, there was a private variable with the same name. It has been renamed to `do_redraw`.
2022-08-25Merge pull request #64536 from Mickeon/editor-tree-icon-sizeRémi Verschelde
Account for TreeItem's Cell icon and center the text Popup vertically
2022-08-24Merge pull request #64082 from KoBeWi/array3kRémi Verschelde
2022-08-24Merge pull request #59226 from Rindbee/better-setters-in-gui-controlsYuri Sizov
Improve the setters in gui, return directly if the value does not change.
2022-08-24implemented right click on Tree control headerderammo
2022-08-24Replace Array return types with TypedArray 3kobewi
2022-08-23Add some codes, returnes directly if the value is not changed.风青山
Avoid executing the following value-changed logics if the value does not really change.
2022-08-19Account for TreeItem's Cell icon and center the text Popup verticallyMicky
2022-08-04fixed Tree UI control bug corrupting child cachederammo
2022-07-26Merge pull request #63472 from timothyqiu/tree-row-cell-bgRémi Verschelde
Tree: Don't draw selection background of individual cells in Row mode
2022-07-26Tree: Don't draw selection background of individual cells in Row modeHaoyu Qiu
2022-07-25Fix negative indices in TreeItemkobewi
2022-07-18Rename Control PRESET_WIDE to PRESET_FULL_RECTFireForge
2022-07-13Merge pull request #62781 from MinusKube/tree-slider-bugRémi Verschelde
Fix range slider in tree not updating text value
2022-07-07Horizontal scroll for TreeNinni Pipping
2022-07-06Fix range slider in tree not updating text valueMinusKube
2022-07-06Refactor Font configuration and import UI, and Font resources.bruvzg
2022-06-01Handle drawing of relationship lines better to take in to account invisible ↵monkeyman192
children
2022-05-31Merge pull request #61453 from m3g4d1v3r/masterRémi Verschelde
Fix #61444: Executing Tree.scroll_to_item crashes Godot
2022-05-26Add nullptr handling of argument pointer in Tree::scroll_to_itemm3g4d1v3r
2022-05-26Check visibility of items before drawing their relationship linesmonkeyman192
2022-05-26tree: always emit item_editedNathan Franke
2022-05-24Merge pull request #60061 from monkeyman192/allow_treeitem_visibleRémi Verschelde
Allow TreeItem nodes to toggle visibility
2022-05-21Add the button pressed to some signals in Treetrollodel
2022-05-16Allow TreeItem nodes to toggle visibilitymonkeyman192
2022-05-09Fix tree button icon not centered verticallyHaoyu Qiu
2022-04-25Merge pull request #60261 from fire-forge/theme-prop-renamesRémi Verschelde
2022-04-23Rename theme properties to include underscoresFireForge
- check_vadjust -> check_v_adjust - close_h_ofs -> close_h_offset - close_v_ofs -> close_v_offset - commentfocus -> comment_focus - hseparation -> h_separation - ofs -> offset - selectedframe -> selected_frame - state_machine_selectedframe -> state_machine_selected_frame - table_hseparation -> table_h_separation - table_vseparation -> table_v_separation - vseparation -> v_separation
2022-04-22Implement Label3D node.bruvzg
Add "generate_mipmap" font import option. Add some missing features to the Sprite3D. Move BiDi override code from Control to TextServer. Add functions to access TextServer font cache textures. Add MSDF related flags and shader to the standard material. Change standard material cache to use HashMap instead of Vector.