summaryrefslogtreecommitdiffstats
path: root/editor/plugins/font_config_plugin.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit godotengine/godot@87318a2fb7fffeb72adca934e31915be077c3d1fSpartan3222024-11-061-1/+1
|\
| * Style: Apply `clang-tidy` fixes (superficial)Thaddeus Crews2024-11-041-1/+1
| | | | | | | | • `modernize-use-bool-literals`, `modernize-use-nullptr`, and `readability-braces-around-statements`
* | Merge commit godotengine/godot@8004c7524fb9f43425c4d6f614410a76678e0f7cSpartan3222024-10-301-5/+5
|\|
| * Rename internal Button icon to button_icon to match exposed methodsAaron Franke2024-10-291-5/+5
| |
* | Fix copyright headers referring to GodotSpartan3222024-10-271-2/+2
| |
* | Merge commit godotengine@92e51fca7247c932f95a1662aefc28aca96e8de6Spartan3222024-10-141-7/+1
|\|
| * Fix implementation of property_can_revert() in various classeskobewi2024-10-041-7/+1
| |
* | Rebrand preambles to RedotDubhghlas McLaughlin2024-10-111-0/+2
|/ | | | | | | | | | | | | | | | | | | | | | Credits: Co-authored-by: Skogi <skogi.b@gmail.com> Co-authored-by: Spartan322 <Megacake1234@gmail.com> Co-authored-by: swashberry <swashdev@pm.me> Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: radenthefolf <radenthefolf@gmail.com> Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com> Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com> Co-authored-by: decryptedchaos <nixgod@gmail.com> Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com> Co-authored-by: Mister Puma <MisterPuma80@gmail.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: SingleError <isaaconeoneone@gmail.com> Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com>
* Remove spaces and punctuation from the beginning of translatable strings.bruvzg2024-08-221-1/+2
|
* Merge pull request #95549 from timothyqiu/split-translation-serverRémi Verschelde2024-08-161-0/+1
|\ | | | | | | Split `TranslationServer` into its own file
| * Split TranslationServer into its own fileHaoyu Qiu2024-08-151-0/+1
| |
* | Remove empty bind_methods()kobewi2024-08-151-3/+0
|/
* Merge pull request #93968 from bruvzg/font_prev_updateRémi Verschelde2024-07-051-0/+16
|\ | | | | | | [Editor] Update font preview directly instead of invalidating property list.
| * [Editor] Update font preview directly instead of invalidating property list.bruvzg2024-07-051-0/+16
| |
* | [Editor] Fix default font variation values handling in the property inspector.bruvzg2024-07-051-8/+23
|/
* [Scene] Add `SceneStringNames::font(_size/_color)`A Thousand Ships2024-06-181-3/+3
|
* [Scene] Add `SceneStringNames::id_pressed`A Thousand Ships2024-05-301-4/+4
|
* [Scene] Add SceneStringNames::pressedA Thousand Ships2024-05-141-7/+7
|
* Merge pull request #86143 from YeldhamDev/ttr_here,_rtr_thereRémi Verschelde2024-03-261-10/+10
|\ | | | | | | Stop using `RTR()` inside the "editor" folder
| * Stop using `RTR()` inside the "editor" folderMichael Alexsander2024-02-271-10/+10
| |
* | Remove pointless `_notification()` function in `EditorPropertyOTVariation`Michael Alexsander2024-03-231-8/+0
|/
* Add const lvalue ref to editor/* container parametersMuller-Castro2024-02-261-3/+3
|
* Fix PopupMenu doesn't respect it's ScrollContainer's marginsMounir Tohami2024-02-231-0/+1
|
* Add methods to add submenus without using nameskobewi2024-02-221-2/+1
|
* Reorganize code related to editor themingYuri Sizov2024-01-161-1/+1
| | | | | | | | | | | | | This change introduces a new EditorThemeManager class to abstract theme generatio and its subroutines. Logic related to EditorTheme, EditorColorMap, and editor icons has been extracted into their respective files with includes cleaned up. All related files have been moved to a separate folder to better scope them in the project. This includes relevant generated files as well.
* Fix submenus deleted accidentallykobewi2023-09-261-1/+1
|
* [Editor] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicableA Thousand Ships2023-09-151-1/+1
|
* Add EditorStringNames singletonkobewi2023-09-031-5/+5
|
* Sort system font menu in InspectorHaoyu Qiu2023-07-261-0/+1
|
* Add get_edited_property_value() shorthand methodkobewi2023-05-261-6/+6
|
* Improve some editor strings for localizationHaoyu Qiu2023-02-091-1/+2
|
* Use `PropertyUsageFlags` enum in parse_propertyRaul Santos2023-01-311-3/+3
|
* 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".
* Add inspector plugin for key time edit & Change find key argumentSilc Renew2022-12-221-2/+2
|
* Use forward-declarations in big editor classestrollodel2022-11-291-0/+1
|
* Merge pull request #67445 from Zylann/rename_queue_deleteRémi Verschelde2022-10-311-3/+3
|\ | | | | | | Rename queue_delete => queue_free
| * Rename queue_delete => queue_freeMarc Gilleron2022-10-241-3/+3
| | | | | | | | | | # Conflicts: # editor/plugins/tiles/tiles_editor_plugin.cpp
* | Remove unnecessary castsMarkus Sauermann2022-10-241-2/+2
|/ | | | | | | | button_add_item and button_add are both Button p_parent is a Node3D CanvasItem can never be cast to Viewport
* [Font Inspector Plugin] Hide "Add Feature" button if supported feature list ↵bruvzg2022-09-221-0/+10
| | | | is empty.
* Rename `CanvasItem.update()` to `queue_redraw()`Micky2022-08-291-1/+1
| | | | | | | | | | 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/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-3/+3
|\ | | | | Rename `hint_tooltip` to `tooltip_text` & setter getter
| * Rename `hint_tooltip` to `tooltip_text` & setgetMicky2022-08-271-3/+3
| | | | | | | | | | | | | | | | `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-10/+0
|/
* Make `property_*_revert` methods multilevel and expose them for scriptingYuri Sizov2022-08-181-9/+5
|
* Fix font preview plugin not using editor scale.bruvzg2022-07-291-1/+1
|
* Remove Signal connect bindsJuan Linietsky2022-07-291-2/+2
| | | | | Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
* Implement support for loading system fonts on Linux, macOS / iOS and Windows.bruvzg2022-07-261-29/+107
|
* Refactor Font configuration and import UI, and Font resources.bruvzg2022-07-061-0/+979