summaryrefslogtreecommitdiff
path: root/scene/gui/control.cpp
AgeCommit message (Collapse)Author
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-29Merge pull request #64119 from YuriSizov/theme-init-databaseRémi Verschelde
2022-08-27Rename `hint_tooltip` to `tooltip_text` & setgetMicky
`hint_tooltip` -> `tooltip_text` `set_tooltip` -> `set_tooltip_text` `_get_tooltip` -> `get_tooltip_text` Updates documentation, too.
2022-08-26Add ThemeDB, expose previously static Theme methodsYuri Sizov
2022-08-25Refactor and remove excessive calls of `NOTIFICATION_THEME_CHANGED`Aaron Record
2022-08-24Disconnect Control from theme resources to avoid issues on destructionYuri Sizov
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-22Replace Array return types with TypedArraykobewi
2022-08-22Merge pull request #64339 from YuriSizov/core-multilevel-validate-propertyRémi Verschelde
2022-08-22Make `_validate_property` a multilevel methodYuri Sizov
2022-08-19Replace meta properties with regular properties in `Control`Yuri Sizov
2022-08-12Add dumb theme item cache to ControlYuri Sizov
2022-07-29Remove Signal connect bindsJuan Linietsky
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
2022-07-26Reorganize code of control.cpp for better maintainabilityYuri Sizov
2022-07-20simplify alignment preset, fixing icon for full rectNathan Franke
2022-07-18Rename Control PRESET_WIDE to PRESET_FULL_RECTFireForge
2022-07-06Refactor Font configuration and import UI, and Font resources.bruvzg
2022-07-01Fix find_next_valid_focus() freezekobewi
2022-06-30Fix find_next_valid_focus() freezekobewi
2022-06-27Merge pull request #61587 from YuriSizov/control-fix-theme-owner-toplevelRémi Verschelde
Fix theme propagation for children of top level controls and windows
2022-06-23enhancement: rename exposed property Control::minimum_size to ↵Pierre-Thomas Meisels
Control::custom_minimum_size
2022-06-20Improve TileSet editor and add more suffixesFireForge
2022-06-14Add vector value linkingkobewi
Co-authored-by: redlamp <244062+redlamp@users.noreply.github.com>
2022-06-11Add suffixes to all nodes and resourcesFireForge
2022-06-01Fix theme propagation for children of top level controls and windowsYuri Sizov
2022-05-22Update last min size when Control becomes visibleHaoyu Qiu
2022-05-19Use suffixes for units in nodes and resourcesAaron Franke
2022-05-17Merge pull request #61088 from groud/keep_unhandled_events_on_passRémi Verschelde
2022-05-17Keep input event as unhandled if they go through a control set to ↵Gilles Roudière
MOUSE_FILTER_PASS
2022-05-16Merge pull request #59231 from Sauermann/fix-top-level-identificationRémi Verschelde
2022-05-09Simplify anchor metadatakobewi
2022-05-06Cleanup metadata usagekobewi
2022-05-05Merge pull request #59185 from NeilKleistGao/masterHugo Locurcio
2022-04-28Inlcude CanvasLayer transform into calculation of Control screen positionMarkus Sauermann
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.
2022-04-01Fix how Root Control Node is determinedMarkus Sauermann
2022-04-01Remove metadata `_edit_layout_mode` and `_edit_use_custom_anchors` if they ↵NeilKleistGao
have default values
2022-04-01Extract theme property names for localizationHaoyu Qiu
2022-03-30Fix Control::warp_mouse to respect canvas transformMarkus Sauermann
2022-03-28String: Remove TTR and DTR defines in non-tools buildRémi Verschelde
This ensures we don't use TTR in runtime code, as it's specifically meant to source translations for the editor.
2022-03-27Rename warp mouse functions to warp_mouseMarkus Sauermann
2022-03-13Expose methods for screen-space transformskobewi
2022-03-10Revert "Update mouse cursor shape after changes"Markus Sauermann
This reverts commit 0fce98b4b5f568298477b175c70510924793f6b0.
2022-03-09Update mouse cursor shape after changesMarkus Sauermann
This fixes some cases where the mouse cursor shape did not change automatically, but instead required a MouseMove to update.
2022-03-08Rename Control's Rect properties to exclude rect_ partMarcel Admiraal
2022-03-05Remove custom_* prefixes compatibilitykobewi
2022-02-15Use `switch` consistently in `_notification` (`scene` folder)Rémi Verschelde
2022-02-13Limit inspector updates when dragging anchored controlsYuri Sizov
2022-02-10Reorganize inspector layout workflow for Control nodesYuri Sizov
2022-02-03Remove get_focus_owner() from Control, replaced by ↵Gilles Roudière
get_viewport()->gui_get_focus_owner()