summaryrefslogtreecommitdiffstats
path: root/scene/theme
Commit message (Collapse)AuthorAgeFilesLines
* Add filename filter field to FileDialogvPumpking2024-10-042-0/+2
| | | | Added possibility to filter files and folders through a text entry.
* SCons: Add unobtrusive type hints in SCons filesThaddeus Crews2024-09-252-0/+2
|
* Merge pull request #72680 from Koyper/split_container_improvementsRémi Verschelde2024-09-171-0/+3
|\ | | | | | | Improvements to SplitContainer including a drag bar background StyleBox
| * Improvements to SplitContainer including a drag bar background StyleBox.Koyper2024-09-141-0/+3
| |
* | Deprecate set_min_buttons_width_from_iconskobewi2024-09-051-0/+2
| |
* | Merge pull request #94995 from Repiteo/scons/raw-cstringsRémi Verschelde2024-08-281-15/+5
|\ \ | | | | | | | | | SCons: Add method to generate raw cstrings
| * | SCons: Add method to generate raw cstringsThaddeus Crews2024-07-311-15/+5
| |/
* | Merge pull request #95285 from ↵Rémi Verschelde2024-08-271-0/+1
|\ \ | | | | | | | | | | | | | | | Calinou/codeedit-completion-color-background-translucent Draw a checkerboard behind translucent colors in CodeEdit autocompletion previews
| * | Draw a checkerboard behind translucent colors in CodeEdit autocompletion ↵Hugo Locurcio2024-08-091-0/+1
| |/ | | | | | | | | | | | | previews This makes translucent colors easier to interpret as such and is consistent with how they're displayed in ColorPicker.
* | Merge pull request #89265 from davthedev/spinbox-buttons-refactorRémi Verschelde2024-08-273-1/+37
|\ \ | | | | | | | | | Improve SpinBox interaction, split arrows, add theme attributes
| * | Improve SpinBox interaction, split arrows, add theme attributesDavid Giardi2024-08-233-1/+37
| |/
* / Improve Editor Inspector/Theme item lookup performanceaaronp642024-08-204-44/+47
|/ | | | | | | | | | | Changes to reduce the latency between changing node selection in the editor and seeing the new node reflected in the Inspector tab - Use Vector instead of List for ThemeOwner::get_theme_type_dependencies and related functions - Use Vector instead of List for ThemeContext::themes, set_themes(), and get_themes() - Add ClassDB:get_inheritance_chain_nocheck to get all parent/ancestor classes at once, to avoid repeated ClassDB locking overhead - Update BIND_THEME_ITEM macros and ThemeDB::update_class_instance_items to use provided StringNames for call to ThemeItemSetter, instead of creating a new StringName in each call These changes reduce the time taken by EditorInspector::update_tree by around 30-35%
* Style: Optimize `.svg` files with `svgo`Thaddeus Crews2024-06-2375-75/+75
|
* [Scene] Add `SceneStringNames::font(_size/_color)`A Thousand Ships2024-06-181-63/+63
|
* [Button] Adds theme option to align button text and icon to either largest ↵bruvzg2024-06-101-0/+2
| | | | or current stylebox.
* Merge pull request #91953 from AThousandShips/use_normal_snameRémi Verschelde2024-05-311-16/+16
|\ | | | | | | Use `CoreStringNames::normal` in more places
| * Use `CoreStringNames::normal` in more placesA Thousand Ships2024-05-301-16/+16
| |
* | [Scene] Add `SceneStringNames::panel`A Thousand Ships2024-05-301-15/+15
|/
* Update pre-commit hooks configuration to use `ruff` instead of `black`Jakub Marcowski2024-05-212-2/+0
|
* [Scene] Add SceneStringNames::pressedA Thousand Ships2024-05-141-9/+9
|
* Use Core/Scene stringnames consistentlykobewi2024-05-133-11/+12
|
* Remove border roundness inside panels of `AcceptDialog` windowsMichael Alexsander2024-04-061-1/+1
|
* Add GraphFrame and integrate it in VisualShaderHendrik Brucker2024-04-041-0/+30
|
* Add context support for editor property name i18nHaoyu Qiu2024-03-311-2/+0
|
* SCons: Remove `run_in_subprocess` dependencyThaddeus Crews2024-03-112-27/+8
|
* Merge pull request #89365 from Repiteo/scons/run_in_subprocess-to-env.RunRémi Verschelde2024-03-101-2/+1
|\ | | | | | | SCons: Convert remaining `run_in_subprocess` to `env.Run`
| * SCons: Convert remaining `run_in_subprocess` to `env.Run`Thaddeus Crews2024-03-101-2/+1
| |
* | SCons: Ensure `with` statement where applicableThaddeus Crews2024-03-102-60/+52
|/
* Enforce `\n` eol for Python writesThaddeus Crews2024-03-092-2/+2
| | | | • Ensure utf-8 encoding if previously unspecified
* Add two new COMSTR environment variablesThaddeus Crews2024-03-011-3/+1
|
* Merge pull request #88577 from davthedev/itemlist-light-refactorRémi Verschelde2024-02-291-1/+1
|\ | | | | | | Fix item positioning, text alignment & unwanted clipping of ItemList items
| * Fix item positioning & pointer detection areas of ItemListDavid Giardi2024-02-271-1/+1
| |
* | Use black for font outlines by default instead of whiteHugo Locurcio2024-02-281-23/+23
|/ | | | | This makes font outlines more usable out of the box, as black is one of the most commonly used colors for font outlines.
* Add create folder iconAdam Scott2024-02-262-0/+2
|
* Merge pull request #84763 from KoBeWi/all-knowing_theme_editorRémi Verschelde2024-02-132-2/+5
|\ | | | | | | Fetch theme editor items from ThemeDB
| * Fetch theme editor items from ThemeDBkobewi2024-01-312-2/+5
| |
* | Replace error checks against `size` with `is_empty`A Thousand Ships2024-02-091-2/+2
|/
* Merge pull request #84760 from KoBeWi/ultimate_get_property_list_reloadedRémi Verschelde2024-01-292-9/+32
|\ | | | | | | Fetch override list from ThemeDB
| * Fetch override list from ThemeDBkobewi2024-01-292-9/+32
| |
* | Merge pull request #85660 from Maran23/theme-basicYuri Sizov2024-01-241-2/+2
|\ \ | | | | | | | | | Mark `gui/theme/custom` and `gui/theme/custom_font` as basic properties
| * | Mark 'gui/theme/custom' and 'gui/theme/custom_font' as basic propertiesMarius Hanl2023-12-021-2/+2
| | |
* | | Merge pull request #86158 from Geometror/ge-connection-reworkYuri Sizov2024-01-181-0/+3
|\ \ \ | | | | | | | | | | | | Rework `GraphEdit` connections (drawing, API, optimizations)
| * | | Rework GraphEdit connections (drawing, API, optimizations)Hendrik Brucker2024-01-181-0/+3
| | | | | | | | | | | | | | | | - GraphEdit now uses Line2D nodes to draw connection lines and uses a dedicated canvas item shader for them
* | | | Make the drawing logic clearer in `Button`Rindbee2024-01-181-8/+8
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The drawing logic follows the calculation logic in `Button::get_minimum_size`. According to the order of `stylebox`, `icon`, and `text`, and follow properties such as alignment mode, to fill the display space of the button. Add a `Button::_set_h_separation_is_valid_when_no_text` for Button derived classes (like `OptionButton`) that expects a `h_separation` between `icon` and theme icon even if the `text` is empty.
* | / Reorganize code related to editor themingYuri Sizov2024-01-163-3/+6
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #84946 from DarkMessiah/default-theme-checkbox-disabled-stateRémi Verschelde2024-01-101-8/+8
|\ \ | | | | | | | | | Use disabled icons for CheckBox in DefaultTheme
| * | Use disabled icons for CheckBox in DefaultThemeStanislav Labzyuk2023-11-191-8/+8
| |/
* | Add const lvalue ref to container parametersMuller-Castro2024-01-052-4/+4
| |
* | Merge pull request #84527 from Calinou/colorpicker-display-revert-iconRémi Verschelde2024-01-031-0/+1
|\ \ | | | | | | | | | Display a revert icon on ColorPicker's old sample
| * | Display a revert icon on ColorPicker's old sampleHugo Locurcio2023-11-071-0/+1
| |/ | | | | | | This denotes that the color can be clicked to revert to the old color.