summaryrefslogtreecommitdiff
path: root/scene/main/canvas_item.cpp
AgeCommit message (Collapse)Author
2023-01-09Clarify some parent item checks in CanvasItemYuri Sizov
2023-01-05One Copyright Update to rule them allRémi Verschelde
As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
2022-12-29Add safety-checks before some servers `free()`Adam Scott
2022-12-19Fix CanvasItem Z-index referring to Node2DAaron Franke
2022-12-19Merge pull request #70219 from bruvzg/msdf_outline_scalingRémi Verschelde
Scale MSDF font outline with the font size and MSDF source size to match dynamic font behavior.
2022-12-19Merge pull request #59682 from Sauermann/fix-following-viewport-transformRémi Verschelde
Include the follow-viewport-transform into CanvasLayer transform calculations
2022-12-18Include the following-viewport-transform into CanvasLayer transformsMarkus Sauermann
The following-viewport-transform was missing from several calculations
2022-12-17Scale MSDF font outline with the font size and MSDF source size to match ↵bruvzg
dynamic font behavior.
2022-11-29Move z_index, z_as_relative and y_sort_enabled from Node2D to CanvasItemHendrik Brucker
2022-11-02Fixup Clang -Wtype-limits warnings introduced by #52350Rémi Verschelde
2022-11-02Merge pull request #52350 from BimDav/viewport_canvas_cullRémi Verschelde
Added Viewport canvas cull mask feature
2022-10-31Viewport canvas cull mask featureBimDav
Co-authored-by: Valentin Zagura <puthre@gmail.com>
2022-10-31Merge pull request #67710 from KoBeWi/a_bit_local_global_transformRémi Verschelde
Remove error condition from get_global_transform()
2022-10-28Fix spacing of few PROPERTY_HINT_ENUM hint_stringsMicky
2022-10-27Merge pull request #67043 from clayjohn/clip_childrenClay John
Improve behaviour of clip_children by clipping to parent alpha value but still retaining parent color
2022-10-21Remove error condition from get_global_transform()kobewi
2022-10-19Add methods to get target filter and repeatkobewi
2022-10-14Implement multiple clip_children modes for CanvasItemsclayjohn
2022-09-10Allow negative indices in move_child()kobewi
2022-09-06Rename raise() to move_to_front()kobewi
2022-09-02Fix getting an error message when repeatedly entering and exiting the treeRindbee
2022-08-30Change _redraw_callback to callable_mpkobewi
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-26Merge pull request #64422 from bruvzg/make_fonts_unbearably_ugly_2.0Rémi Verschelde
2022-08-23Spell out "anisotropic" fully in filter optionsskyace65
2022-08-23Add font LCD sub-pixel anti-aliasing support.bruvzg
2022-07-28Remove `first_draw` and reset visibility when entering treeRindbee
2022-07-20Fix `CanvasItem` not exiting its canvas group on canvas exitkleonc
2022-07-15Use BitField hint for the TextServer enums. Add missing parts for BitField ↵bruvzg
support to the GDextension API.
2022-07-06Refactor Font configuration and import UI, and Font resources.bruvzg
2022-06-19Add explicit deferred flagsmarkdibarry
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-12Restore antialiasing for `draw_line`Yuri Roubinsky
2022-04-01Removed show_on_top property in CanvasItemVitika9
2022-03-20Bind NOTIFICATION_LOCAL_TRANFORM_CHANGEDJason Knight
2022-03-18Merge pull request #58394 from bruvzg/rtl_hintRémi Verschelde
2022-03-16Simplify always true conditionalMarkus Sauermann
get_viewport() is always true, because is_inside_tree() is true.
2022-03-13Expose methods for screen-space transformskobewi
2022-02-22Fix invisible CanvasItem visibility issueMarkus Sauermann
2022-02-21Add RichTextLabel "hint" tag.bruvzg
2022-02-19Fix CanvasItem visibility propagationkobewi
2022-02-15Use `switch` consistently in `_notification` (`scene` folder)Rémi Verschelde
2022-02-06Rework CanvasItem visibility propagationkobewi
2022-02-05Add visibility to CanvasLayerkobewi
2022-01-20Add nodiscard to core math classes to catch c++ errors.lawnjelly
A common source of errors is to call functions (such as round()) expecting them to work in place, but them actually being designed only to return the processed value. Not using the return value in this case in indicative of a bug, and can be flagged as a warning by using the [[nodiscard]] attribute.
2022-01-12Refactor CanvasItem show/hide/set_visibleStijn Hinlopen
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2021-12-09align to horizontal_alignment, valign to vertical_alignment, relatedNathan Franke
2021-12-06Fix crash when update() is called inside _draw()Haoyu Qiu
2021-11-16Merge pull request #54167 from ↵Rémi Verschelde
brunosxs/fix-game-crash-when-sending-a-notification-from-a-camera-class