summaryrefslogtreecommitdiffstats
path: root/editor/editor_audio_buses.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Remember only permanent bottom tabs"Yuri Sizov2023-06-231-1/+1
| | | | This reverts commit 5dde57e95827806101cede5d46391f2bd4b9150c.
* Remember only permanent bottom tabskobewi2023-06-231-1/+1
|
* Remove AudioBusEmpty.svg, use ProgressBar tint insteadVolTer2023-05-121-4/+8
|
* Improve includes of EditorNode (and everything else)Yuri Sizov2023-04-071-2/+2
| | | | | | Also start organizing editor-specific GUI components into a dedicated folder, `editor/gui`. Also move `editor_file_server` next to the rest of debugger classes.
* Fix premature theme item access in editor toolsYuri Sizov2023-04-031-15/+14
|
* Improve logic related to editing audio buses (and prevent crashes)Yuri Sizov2023-03-101-6/+38
|
* Merge pull request #68083 from atngames/masterRémi Verschelde2023-02-171-0/+2
|\ | | | | | | Added a signal connection to update buses editor on "bus_layout_changed"
| * Added a signal connection to update buses editor on "bus_layout_changed"ATN2022-12-161-0/+2
| |
* | Merge pull request #71379 from KoBeWi/destruction_of_compatibility_functionRémi Verschelde2023-01-181-5/+1
|\ \ | | | | | | Remove set_drag_forwarding_compat()
| * | Remove set_drag_forwarding_compat()kobewi2023-01-141-5/+1
| | |
* | | Add EditorUndoRedoManager singletonkobewi2023-01-161-19/+19
|/ /
* | Change set_drag_forwarding() to use callables.Juan Linietsky2023-01-101-1/+1
| | | | | | | | | | | | | | | | * This solution is much cleaner than the one in 3.x thanks to the use of callables. * Works without issues in any language (no need to worry about camel or snake case). * Editor code uses a compatibility function (too much work to redo). Fixes #59899
* | One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
|/ | | | | | | | | | | | | | | | | | | | 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".
* Use forward-declarations in big editor classestrollodel2022-11-291-0/+1
|
* Style: Misc docs and comment style and language fixesRémi Verschelde2022-11-021-1/+1
| | | | | | | | | | - Removed empty paragraphs in XML. - Consistently use bold style for "Example:", on a new line. - Fix usage of `[code]` when hyperlinks could be used (`[member]`, `[constant]`). - Fix invalid usage of backticks for inline code in BBCode. - Fix some American/British English spelling inconsistencies. - Other minor fixes spotted along the way, including typo fixes with codespell. - Don't specify `@GlobalScope` for `enum` and `constant`.
* Merge pull request #67578 from KoBeWi/GEDITORRémi Verschelde2022-10-311-3/+3
|\ | | | | | | Unify usage of GLOBAL/EDITOR_GET
| * Unify usage of GLOBAL/EDITOR_GETkobewi2022-10-181-3/+3
| |
* | Rename queue_delete => queue_freeMarc Gilleron2022-10-241-1/+1
|/ | | | | # Conflicts: # editor/plugins/tiles/tiles_editor_plugin.cpp
* Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg2022-10-071-4/+4
| | | | change warnings=all to use /W4.
* Fix key mapping changes when moving from macOS to other platformbruvzg2022-09-071-1/+1
| | | | | Removes separate `Command` key (use `Meta` instead). Adds an event flag to automatically remap `Command` <-> `Control` (cannot be set alongside `Control` or `Meta`).
* Improve naming of theme properties throughout GUI codeYuri Sizov2022-09-061-1/+1
| | | | | | | | | | | | | | 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
* Rename `CanvasItem.update()` to `queue_redraw()`Micky2022-08-291-3/+3
| | | | | | | | | | 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`.
* Revert "Remove NOTIFICATION_ENTER_TREE when paired with ↵Rémi Verschelde2022-08-291-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NOTIFICATION_THEME_CHANGED" This reverts commit 4b817a565cab8af648c88cfc7ab6481e86ee3625. Fixes #64988. Fixes #64997. This caused several regressions (#64988, #64997, https://github.com/godotengine/godot/issues/64997#issuecomment-1229970605) which point at a flaw in the current logic: - `Control::NOTIFICATION_ENTER_TREE` triggers a *deferred* notification with `NOTIFCATION_THEME_CHANGED` as introduced in #62845. - Some classes use their `THEME_CHANGED` to cache theme items in member variables (e.g. `style_normal`, etc.), and use those member variables in `ENTER_TREE`, `READY`, `DRAW`, etc. Since the `THEME_CHANGE` notification is now deferred, they end up accessing invalid state and this can lead to not applying theme properly (e.g. for EditorHelp) or crashing (e.g. for EditorLog or CodeEdit). So we need to go back to the drawing board and see if `THEME_CHANGED` can be called earlier so that the previous logic still works? Or can we refactor all engine code to make sure that: - `ENTER_TREE` and similar do not depend on theme properties cached in member variables. - Or `THEME_CHANGE` does trigger a general UI update to make sure that any bad theme handling in `ENTER_TREE` and co. gets fixed when `THEME_CHANGE` does arrive for the first time. But that means having a temporary invalid (and possibly still crashing) state, and doing some computations twice which might be heavy (e.g. `EditorHelp::_update_doc()`).
* Merge pull request #64885 from Mickeon/rename-tooltip-hintRémi Verschelde2022-08-281-11/+11
|\ | | | | Rename `hint_tooltip` to `tooltip_text` & setter getter
| * Rename `hint_tooltip` to `tooltip_text` & setgetMicky2022-08-271-11/+11
| | | | | | | | | | | | | | | | `hint_tooltip` -> `tooltip_text` `set_tooltip` -> `set_tooltip_text` `_get_tooltip` -> `get_tooltip_text` Updates documentation, too.
* | Remove NOTIFICATION_ENTER_TREE when paired with NOTIFICATION_THEME_CHANGEDAaron Record2022-08-271-2/+0
|/
* Add per-scene UndoRedokobewi2022-08-221-19/+20
|
* Extract EditorResourceConversionPlugin into its own source files and clean ↵Yuri Sizov2022-07-311-0/+1
| | | | up editor includes
* Swap arguments of ResourceSaver.save()kobewi2022-07-291-2/+2
|
* Remove Signal connect bindsJuan Linietsky2022-07-291-5/+5
| | | | | Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
* Seperate filter and description in FileDialog.add_filter()FireForge2022-07-091-1/+1
|
* Refactor Font configuration and import UI, and Font resources.bruvzg2022-07-061-1/+1
|
* i18n: Misc fixes translation stringsRémi Verschelde2022-06-081-4/+4
| | | | Adds some translator comments to solve some questions raised on Weblate.
* Add the button pressed to some signals in Treetrollodel2022-05-211-2/+6
|
* Style: Partially apply clang-tidy's `cppcoreguidelines-pro-type-member-init`Rémi Verschelde2022-05-021-1/+0
| | | | | | | | | | | Didn't commit all the changes where it wants to initialize a struct with `{}`. Should be reviewed in a separate PR. Option `IgnoreArrays` enabled for now to be conservative, can be disabled to see if it proposes more useful changes. Also fixed manually a handful of other missing initializations / moved some from constructors.
* Initialize bools in the headers in editorAaron Franke2022-03-121-3/+0
|
* Allow negative indexes in ItemList and PopupMenukobewi2022-03-121-1/+1
|
* Discern between virtual and abstract class bindingsreduz2022-03-101-1/+1
| | | | | | | | | | | | | | * Previous "virtual" classes (which can't be instantiated) are not corretly named "abstract". * Added a new "virtual" category for classes, they can't be instantiated from the editor, but can be inherited from script and extensions. * Converted a large amount of classes from "abstract" to "virtual" where it makes sense. Most classes that make sense have been converted. Missing: * Physics servers * VideoStream * Script* classes. which will go in a separate PR due to the complexity involved.
* Make name of editor file dialog filters translatableHaoyu Qiu2022-03-051-1/+1
|
* Update audio effect icon when theme changesHaoyu Qiu2022-03-051-2/+6
|
* Port existing _notification code to use switch statements (part 1/3)jmb4622022-02-161-0/+9
|
* Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker2022-02-121-2/+4
|
* Revert "Add missing SNAME macro optimization to all theme methods call"Rémi Verschelde2022-02-081-12/+12
| | | | | | | | This reverts commit a988fad9a092053434545c32afae91ccbdfbe792. 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.
* Add missing SNAME macro optimization to all theme methods calljmb4622022-02-061-12/+12
|
* Store panels and docks singletons in their own classestrollodel2022-01-201-1/+1
|
* Fix various typosluz paz2022-01-131-1/+1
| | | Found via `codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,expct,fave,findn,gird,hist,inh,inout,leapyear,lod,nd,numer,ois,ony,paket,ro,seeked,sinc,switchs,te,uint,varn,vew`
* Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
| | | | Happy new year to the wonderful Godot community!
* align to horizontal_alignment, valign to vertical_alignment, relatedNathan Franke2021-12-091-1/+1
|
* ScrollContainer's scrollbar visibility is now enumkobewi2021-12-071-2/+1
|
* Fix bad popups offset in editor with single window offjmb4622021-12-061-4/+6
| | | | | Co-authored-by: Gil Arasa Verge <gilarasaverge@gmail.com> Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>