kobewi
54c9a481a0
Improve toaster buttons
2022-06-14 02:35:25 +02:00
Gilles Roudière
0a15706aca
Avoid recursive errors in EditorToaster
2022-03-08 11:51:08 +01:00
jmb462
dcd2a92af3
Port existing _notification code to use switch statements (part 1/3)
2022-02-16 11:38:24 +01:00
Rémi Verschelde
11572c6e30
Editor: Cleanup some includes dependencies
...
Removes some unnecessary includes from `editor_node.h`, and instead add
those where they're used.
Removes unnecessary `editor_node.h` includes in various editor classes.
Renames `dynamicfont` to `dynamic_font` in a couple files.
Misc cleanup while jumping through that rabbit hole.
2022-02-15 14:54:15 +01:00
Hendrik Brucker
b396fd4eef
Improve compilation speed (forward declarations/includes cleanup)
2022-02-12 02:46:22 +01:00
Rémi Verschelde
6eeeb9a63c
Re-add missing `SNAME` macros in `get_theme_*` calls
...
They were removed in the previous commit reverting the addition of `SNAME`
to `add_theme_*` and theme setter methods, which is not wanted.
2022-02-08 10:31:56 +01:00
Rémi Verschelde
fc076ece3d
Revert "Add missing SNAME macro optimization to all theme methods call"
...
This reverts commit a988fad9a0
.
As discussed in #57725 and clarified in #57788 , `SNAME` is not meant to be used
everywhere but only in critical code paths. For theme methods specifically, it
was by design that only getters use `SNAME` and not setters.
2022-02-08 10:17:25 +01:00
jmb462
a988fad9a0
Add missing SNAME macro optimization to all theme methods call
2022-02-06 23:06:11 +01:00
Yuri Roubinsky
b9d864bf8e
Fix toast notification button color on light theme
2022-01-18 14:31:14 +03:00
Rémi Verschelde
fe52458154
Update copyright statements to 2022
...
Happy new year to the wonderful Godot community!
2022-01-03 21:27:34 +01:00
Xavier Sellier
ba0abd399f
Defer the call to 'popup_str' to the next cycle to let Godot Engine's editor time to properly start
2021-12-14 20:08:19 +01:00
bruvzg
ba9d737363
Fix incorrect encoding (Latin-1 instead of UTF-8) used in `_error_handler` functions.
2021-11-08 23:45:08 +02:00
Brian Semrau
3d9c5648df
Make editor toasts threadsafe
2021-10-30 23:27:13 -04:00
Gilles Roudière
20f4dce7a0
Fix EditorToaster constant update and prevent a crash
2021-10-19 17:18:45 +02:00
Gilles Roudière
0587e5e018
Implement toast notifications in the editor
2021-10-14 13:30:54 +02:00