summaryrefslogtreecommitdiffstats
path: root/scene/theme
Commit message (Collapse)AuthorAgeFilesLines
...
* | Implement disabled state for Checkbox in TreeStanislav Labzyuk2023-11-153-1/+6
|/
* Merge pull request #82653 from MewPurPur/simplify-region-folding-iconRémi Verschelde2023-10-045-4/+4
|\ | | | | | | Tweak the region folding icons
| * Tweak the region folding iconsMewPurPur2023-10-025-4/+4
| |
* | Make `GraphEdit` toolbar more customizableYuri Sizov2023-10-021-0/+3
| | | | | | | | | | Also adds a semi-transparent background to make the toolbar stand out in front of nodes.
* | Use bound theme properties for documentationYuri Sizov2023-09-263-24/+51
| |
* | Merge pull request #81939 from YuriSizov/gui-flat-and-depressedRémi Verschelde2023-09-251-0/+22
|\ \ | | | | | | | | | Replace flat buttons with flat-styled buttons with a visible pressed state
| * | Replace flat buttons with flat-styled buttons with a visible pressed stateYuri Sizov2023-09-191-0/+22
| |/
* | Merge pull request #79104 from DrRevert/focusable_tabs_refactorRémi Verschelde2023-09-251-0/+3
|\ \ | | | | | | | | | Allow to focus individual tabs in `TabBar`/`TabContainer`
| * | Allow to focus individual tabs in TabBar/TabContainerArkadiusz Marcin Kołek2023-09-171-0/+3
| |/
* / Check for type variations in inherited themesYuri Sizov2023-09-241-1/+19
|/
* [Scene,Main] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicableA Thousand Ships2023-09-121-1/+1
|
* Fix various typos with codespellRémi Verschelde2023-09-121-1/+1
| | | | Using 2.2.6.dev180+ge3a2cfbd.
* Add code region folding to CodeEditJean-Michel Bernard2023-09-113-0/+5
|
* Merge pull request #81312 from YuriSizov/theme-static-bindsRémi Verschelde2023-09-112-0/+91
|\ | | | | | | Register theme properties with ThemeDB
| * Register theme properties with ThemeDBYuri Sizov2023-09-112-0/+91
| |
* | Correctly setup tooltip's style as theme variationYuri Sizov2023-09-081-0/+2
|/
* Clean up/refactor GraphNode and make it more flexibleHendrik Brucker2023-09-071-24/+27
| | | | | Split GraphNode into GraphElement and GraphNode, add custom titlebar, and adjust theming.
* Add theme contexts to various parts of the editorYuri Sizov2023-09-062-0/+19
| | | | | | | | | | | | | | | | | | | | This change defines additional theme contexts for editor branches to prevent theme leaking between the default theme, the project theme, and the editor theme. - Both editor window and EditorNode define an editor-specific context with the editor theme and the default theme. - The 2D viewport defines a project-specific context with the project theme and the default theme. - Theme editor preview tabs define the default-only context with the default theme. Additionally, the default theme context now only includes the project theme for running projects (both export and debug). This prevents the project theme from leaking into the editor. This commit also does a little clean up on the theming aspects of the EditorNode.
* Introduce the concept of global theme contextsYuri Sizov2023-09-064-107/+374
| | | | | | | | | | | | | | | | | This commit adds the default theme context, which replaces the need to manually check the project and the default theme all the time; simplifies related code. It also adds framework for custom theme contexts, to be used by the editor. Custom contexts can be attached to any node, and not necessarily a GUI/Window node. Contexts do no break theme inheritance and only define which global themes a node uses as a fallback. Contexts propagate NOTIFICATION_THEME_CHANGED when one of their global themes changes. This ensures that global themes act just like themes assigned to individual nodes and can be previewed live in the editor.
* Fix ThemeDB initialization in testsYuri Sizov2023-09-042-0/+13
| | | | Also fixes class name shadowing in Viewport/Window tests.
* Move default theme files to scene/themeYuri Sizov2023-08-2878-1/+1468
| | | | This also puts the default theme icons into their own folder.
* Merge pull request #68429 from KoBeWi/PropertySettingsRémi Verschelde2023-01-061-14/+7
|\ | | | | Add PropertyInfo overload for GLOBAL_DEF
| * Add PropertyInfo overload for GLOBAL_DEFkobewi2022-12-111-14/+7
| |
* | One Copyright Update to rule them allRémi Verschelde2023-01-054-116/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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".
* | Merge pull request #70404 from YuriSizov/theme-!importantRémi Verschelde2022-12-211-4/+3
|\ \ | | | | | | | | | Add fallback values for font and scale to the default theme
| * | Add fallback values for font and scale to the default themeYuri Sizov2022-12-211-4/+3
| |/
* / ThemeOwner: Extract get_owner_node_themeQuentin Guidée2022-12-212-50/+20
|/ | | | Signed-off-by: Quentin Guidée <quentin.guidee@gmail.com>
* Merge pull request #65641 from voylin/Adding_ttf_otf_to_custom_font_dialogueRémi Verschelde2022-11-291-1/+1
|\ | | | | | | Adding .tff .otf, .woff and .woff2 to custom font extensions - Fixes #65633
| * Adding tff, otf, woff(2) to custom font extensionsVoylin2022-09-141-1/+1
| | | | | | | | | | | | | | | | This pull request is to fix #65633 When trying to add a custom font, my '.ttf' and '.otf' fonts were not visible unless I selected 'All files'. By adding these to the custom property info makes it more convenient to select a different font, without doing the extra clicks to select 'All Files'. Not a big change, but something I wanted to fix as it seems appropriate to do so.
* | Hide Antialiasing import option on DynamicFonts with MSDF enabledHugo Locurcio2022-11-031-2/+2
|/ | | | | | | | Antialiasing cannot be adjusted on fonts rendered with MSDF. Internally, Godot always uses grayscale antialiasing for those fonts. This also tweaks property hints for consistency, and renames uses of "sub-pixel" to the more commonly used "subpixel".
* Un-defer the initial theme changed notificationYuri Sizov2022-09-022-0/+39
| | | | Co-authored-by: Rindbee <idleman@yeah.net>
* Add ThemeOwner type for managing theme propagation and lookupYuri Sizov2022-09-022-0/+446
|
* Add ThemeDB, expose previously static Theme methodsYuri Sizov2022-08-263-0/+337