summaryrefslogtreecommitdiffstats
path: root/scene/resources/default_theme/default_theme.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move default theme files to scene/themeYuri Sizov2023-08-281-1207/+0
| | | | This also puts the default theme icons into their own folder.
* Enabled missing Tree title button font and font size theme settings.Koyper2023-08-161-0/+1
|
* Further separate icon from text of buttons in both editor and default themesMichael Alexsander2023-08-071-8/+8
|
* Clean up/refactor GraphEditHendrik Brucker2023-07-241-7/+10
|
* Merge pull request #79307 from Geometror/remove-graph-node-commentYuri Sizov2023-07-241-2/+0
|\ | | | | Remove GraphNode's comment property and related functionality
| * Remove GraphNode's comment property and related functionalityHendrik Brucker2023-07-111-2/+0
| | | | | | | | (this functionality will be reintroduced in a new and more flexible way)
* | Fix corner radius not scaling with theme scale in the default themeHugo Locurcio2023-07-191-84/+84
| | | | | | | | | | | | This also uses rounding consistently for scale multipliers, so that behavior is more predictable with non-integer scale factors like `1.25` and `1.5`.
* | Extract StyleBoxFlat, StyleBoxTexture and StyleBoxLine in their own fileHendrik Brucker2023-07-171-0/+2
| |
* | Extract and reorganize texture resource classesHendrik Brucker2023-07-141-0/+2
| |
* | Add a default theme for unfocused WindowsMarkus Sauermann2023-07-121-0/+1
| | | | | | | | | | | | | | At the moment it is impossible to distinguish between focused and unfocused embedded Windows. Add a new `theme_item` that is used for coloring the border of unfocused Windows.
* | Merge pull request #78248 from felaugmar/load-svg-adjustable-scaleYuri Sizov2023-07-121-2/+2
|\ \ | | | | | | | | | Added `Image::load_svg_from_(buffer|string)`
| * | Added Image's `load_svg_from_(buffer|string)`Felipe Augusto Marques2023-06-231-2/+2
| |/ | | | | | | No core dependency to the svg module.
* / Add the "inner_item_margin" Theme constant to the Tree controlJoão Pedro Braz2023-06-021-0/+4
|/ | | | | | | | | | | This PR adds the "inner_item_margin" Theme constant to the Tree Control. It behaves like a horizontal padding (in CSS), but only in the active writing direction (So on LTR it'll apply a left padding and on RTL right padding). The Editor Theme has been updated to make use of this and a result items in Trees and ItemLists no longer "hugs" their border, expressing a proper spacing instead.
* Merge pull request #69053 from KoBeWi/grabbercentrismRémi Verschelde2023-04-271-0/+3
|\ | | | | | | Add center_grabber theme property to Slider
| * Add center_grabber property to Sliderkobewi2023-04-221-0/+3
| |
* | Merge pull request #74632 from davthedev/tabs-hoverRémi Verschelde2023-04-241-0/+6
|\ \ | |/ |/| | | Add theming support for hovered tabs
| * Add theming support for hovered tabsDavid Giardi2023-04-191-0/+6
| | | | | | | | Tabs can now be styled differently when hovered by the mouse pointer.
* | Add hovered item style to ItemListDavid Giardi2023-04-181-0/+2
|/
* Don't apply scale to autohide theme propertyNinni Pipping2023-04-121-3/+3
|
* Remove unnecessary zero multiplicationsMichael Alexsander2023-04-081-9/+9
|
* Add scrollbar offset theme constants to TreeHaoyu Qiu2023-04-061-0/+6
|
* Make icons of scripted and custom classes fit the editor UIYuri Sizov2023-03-311-0/+5
| | | | | | | | | | | Also: - Add an option to limit the icon size in PopupMenu. This is similar to how this works in Tree and TreeItem. - Add the same option to TabBar. - Add a theme constant for Tree, PopupMenu, Button, and TabBar to apply this limit on the control level. Co-authored-by: Daylily-Zeleen <daylily-zeleen@foxmail.com>
* Generate empty textures for theme icons if the SVG module is disabledYuri Sizov2023-03-071-0/+4
|
* Modify the default theme GraphNode close_h_offsetNicholas Huelin2023-02-221-1/+1
| | | | Modifies the close_h_offset to be 12 instead of 22. This better aligns the default position.
* Clean-up, harmonize, and improve StyleBox APIYuri Sizov2023-01-191-12/+12
| | | | | | - Make all margin properties follow the same naming convention (their getter and setter too). - Remove a virtual counterpart of `get_style_margin` from API. - Allow to override `get_minimum_size` from scripting and remove `get_center_size`.
* 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".
* Fix scroll grabber can't reach ends in default themeHaoyu Qiu2023-01-031-3/+4
|
* Add fallback values for font and scale to the default themeYuri Sizov2022-12-211-0/+5
|
* ImageLoaderSVG: Improve error reportingRémi Verschelde2022-11-231-1/+2
|
* Change hue icons to horizontal GradientTexture2Dkobewi2022-11-021-2/+54
|
* Add a separate hue gradient for OKHSL modekobewi2022-11-021-0/+1
|
* Merge pull request #63590 from golfinq/fbg-paddingRémi Verschelde2022-10-311-0/+3
|\ | | | | | | Add padding options in theme for fg/bgcolor tags in RichTextLabel
| * Add padding options in theme for fg/bgcolor tagsgolfinq2022-07-311-0/+3
| |
* | Remove override_selected_font_color propertykobewi2022-10-261-3/+3
| |
* | Merge pull request #62910 from Vitika9/gsoc-colorpicker-uxRémi Verschelde2022-10-071-0/+9
|\ \ | | | | | | | | | ColorPicker UX
| * | ColorPicker UX improvementsVitika92022-09-061-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Tabs and MenuButton for mode selection and enabling/disabling colorized sliders - MenuButton for shape selection with new icon for each shape - Drag and drop functionality for presets to arrange order - A chronological list of recently selected presets which are global for the editor - Presets are now highlighted as being active or inactive - Thicker sliders for easy targeting - `grabber_offset` theme constant for Slider - Uncolorized sliders
* | | Fix MSVC warnings C4324, C4389, C4456, and C4459Rémi Verschelde2022-09-281-0/+2
| | | | | | | | | | | | Part of #66537.
* | | Merge pull request #59069 from fire-forge/stylebox_margin_functionsRémi Verschelde2022-09-071-30/+7
|\ \ \ | | | | | | | | | | | | Add all/individual setters for StyleBox default margins and StyleBoxTexture margin size and unbind `StyleBox*.set_*_individual()` methods
| * | | Add set_default_margin_all/individual to StyleBoxFireForge2022-09-071-30/+7
| | | |
* | | | Merge pull request #65355 from groud/split_container_min_grab_thicknessRémi Verschelde2022-09-071-0/+3
|\ \ \ \ | |/ / / |/| | | | | | | Allow SplitContainer to have a grab area larger than its visual grabber
| * | | Allow SplitContainer to have a grab area larger than its visual grabberGilles Roudière2022-09-071-0/+3
| |/ /
* | | Merge pull request #65446 from YuriSizov/dialogs-make-styleboxes-matterRémi Verschelde2022-09-071-3/+2
|\ \ \ | | | | | | | | | | | | Make `AcceptDialog` and derivatives utilize `StyleBox` fully
| * | | Make AcceptDialog and derivatives utilize StyleBox fullyYuri Sizov2022-09-071-3/+2
| |/ /
* | | Fix theming code in Panel, SplitContainer, RichTextLabelYuri Sizov2022-09-061-1/+0
| | |
* | | Improve naming of theme properties throughout GUI codeYuri Sizov2022-09-061-20/+20
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Rework oriented containerskobewi2022-09-011-0/+7
| |
* | Add dumb and manual theme caching systems to WindowYuri Sizov2022-09-011-5/+3
| |
* | Add background to TabContainer's tabbar and editor docksYuri Sizov2022-08-291-0/+1
| |
* | Add ThemeDB, expose previously static Theme methodsYuri Sizov2022-08-261-13/+7
| |
* | Merge pull request #64422 from bruvzg/make_fonts_unbearably_ugly_2.0Rémi Verschelde2022-08-261-2/+2
|\ \