summaryrefslogtreecommitdiff
path: root/scene/resources/default_theme
AgeCommit message (Collapse)Author
2020-05-21Clarifies 'icon_separation' in TabContainer (instead of 'hseparation')Dominik 'dreamsComeTrue' Jasiński
Fixes: #38911
2020-05-16Remove HQ2X and the `Image.expand_2x_hq2x()` methodHugo Locurcio
As of Godot 3.0, HQ2X is no longer used to upscale the editor theme and icons on hiDPI displays, which limited its effective uses. HQ2X was also used to upscale the project theme when the "Use Hidpi" project setting was enabled, but results were often less than ideal. The new StyleBoxFlat and SVG support also make HQ2X less important to have as a core feature. This decreases binary sizes slightly (-150 KB on most platforms, -212 KB on WebAssembly release). This partially addresses #12419.
2020-05-14Style: Enforce braces around if blocks and loopsRémi Verschelde
Using clang-tidy's `readability-braces-around-statements`. https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
2020-05-14Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde
Which means that reduz' beloved style which we all became used to will now be changed automatically to remove the first empty line. This makes us lean closer to 1TBS (the one true brace style) instead of hybridating it with some Allman-inspired spacing. There's still the case of braces around single-statement blocks that needs to be addressed (but clang-format can't help with that, but clang-tidy may if we agree about it). Part of #33027.
2020-04-10Merge pull request #37517 from nekomatata/slider-grab-area-highlightRémi Verschelde
Add style for highlighted Slider grab area
2020-04-02Add style for highlighted Slider grab areaPouleyKetchoupp
2020-04-02Replace NULL with nullptrlupoDharkael
2020-03-30SCons: Format buildsystem files with psf/blackRémi Verschelde
Configured for a max line length of 120 characters. psf/black is very opinionated and purposely doesn't leave much room for configuration. The output is mostly OK so that should be fine for us, but some things worth noting: - Manually wrapped strings will be reflowed, so by using a line length of 120 for the sake of preserving readability for our long command calls, it also means that some manually wrapped strings are back on the same line and should be manually merged again. - Code generators using string concatenation extensively look awful, since black puts each operand on a single line. We need to refactor these generators to use more pythonic string formatting, for which many options are available (`%`, `format` or f-strings). - CI checks and a pre-commit hook will be added to ensure that future buildsystem changes are well-formatted.
2020-03-26Open sub-windows as embedded if the OS does not support themJuan Linietsky
2020-03-26Working multiple window support, including editorJuan Linietsky
2020-03-17Style: Set clang-format Standard to Cpp11Rémi Verschelde
For us, it practically only changes the fact that `A<A<int>>` is now used instead of the C++03 compatible `A<A<int> >`. Note: clang-format 10+ changed the `Standard` arguments to fully specified `c++11`, `c++14`, etc. versions, but we can't use `c++17` now if we want to preserve compatibility with clang-format 8 and 9. `Cpp11` is still supported as deprecated alias for `Latest`.
2020-02-22Remove unused theme constants in Tab(Container)Michael Alexsander
2020-02-11Texture refactorJuan Linietsky
-Texture renamed to Texture2D -TextureLayered as base now inherits 2Darray, cubemap and cubemap array -Removed all references to flags in textures (they will go in the shader) -Texture3D gone for now (will come back later done properly) -Create base rasterizer for RenderDevice, RasterizerRD
2020-02-07Completes doc for ItemList and TreeHaoyu Qiu
2020-01-07Make possible to edit the GraphEdit's selection rect colorsMichael Alexsander
2020-01-01Update copyright statements to 2020Rémi Verschelde
Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
2019-12-28Revert "Merge pull request #34315 from ↵Michael Alexsander
YeldhamDev/editor_theme_optionbutton_arrow" This reverts commit 0da0eec6cc42066626f867079700c10737092217, reversing changes made to ec97535ea34456607c0c53607d41e34f272890ec.
2019-12-13Remove unused theme elements in H/VSliderMichael Alexsander
2019-10-27Add "panel" style to PopupDialogMichael Alexsander
2019-10-25Fix the default TextEdit background colorHugo Locurcio
This closes #32724.
2019-10-12Optimize images losslessly using `oxipng -o6 --strip all --zopfli`Hugo Locurcio
2019-09-27Draw an indicator to denote overbright colors in ColorPickerHugo Locurcio
This makes it faster to distinguish overbright colors from "standard" colors.
2019-09-20Remove an unused icon and constant in TreeHugo Locurcio
2019-09-01Fix resizer icon visiblity on light theme in GraphNodeChaosus89
2019-08-23Merge pull request #31593 from SaracenOne/project_theme_shutdown_fixRémi Verschelde
Fixes issue with project_default_theme not being cleaned up
2019-08-23Fixes issue with project_default_theme not being dereferenced on cleanup.Saracen
2019-08-21Rename FileDialog's folder icon custom color to `folder_icon_modulate`Hugo Locurcio
The custom color introduced in be8d569744e4eed9acb313d355d96e6989e92087 had the same name as the "folder" icon, which could cause conflicts in the generated documentation. The new name is also more self-explanatory.
2019-08-20Use a different color for folder icons in file dialogsHugo Locurcio
This makes them easier to distinguish from files for quick visual grepping. This can also be used in projects by setting the FileDialog "folder" color. The default value (`Color(1, 1, 1)`) has no visual impact, for compatibility with existing projects.
2019-08-12Remove redundant author doc commentsIAmActuallyCthulhu
2019-08-06Default theme: make toggle_off_disabled.png the same dimension as other ↵merumelu
CheckButton images
2019-07-22Make `make_header.py` functional when run from any locationHugo Locurcio
This removes the need to `cd` to `scene/resources/default_theme/` to get the expected result.
2019-07-08Use base `Color()` constructors instead of `Color::html()`Hugo Locurcio
This results in slightly smaller binaries (-17 KB for an editor binary) as no strings need to be allocated.
2019-07-03Remove unused icons in the default themeHugo Locurcio
2019-06-24Give TextEdit a custom color for font when read only is setGwyneth Lowe
Previously there was some transparency hard coded into TextEdit when in read only mode. This change adds a custom color for adjusting the font in read only mode. It also applies when syntax highlighting is on.
2019-06-24Give LineEdit a custom font color when un-editableGwyneth Lowe
By default the LineEdit's text when editable is unchecked had some transparency hardcoded. This change adds a custom color to LineEdit for adjusting the font when editable is off. Addresses issue 29814
2019-06-17Add script to fix style issues and copyright headersRémi Verschelde
This is only meant to check the validity of the whole codebase every now and then, or to apply clang-format config changes when relevant.
2019-06-10Add toggle for hidden file visibility in FileDialogMichael Alexsander Silva Dias
2019-06-04Fix GraphNode not adding seperation after the first nodeBojidar Marinov
Fixes #29446
2019-05-20Merge pull request #28218 from KoBeWi/b00km4rk5Rémi Verschelde
Add bookmarks for easier code navigation
2019-05-17Merge pull request #28366 from iwek7/feature/issue28355/showSpacesInEditorMax Hilbrunner
Add feature to show spaces in code editor
2019-05-05Add bookmarks for easier code navigationTomasz Chabora
2019-05-03Merge pull request #28548 from YeldhamDev/check_button_disabled_iconRémi Verschelde
Add "disabled" icon for 'CheckButton'
2019-05-03Remove unused `panelf` and `panelnc` stylesBojidar Marinov
Fixes godotengine/godot-docs#2426
2019-05-02Add "disabled" icon for 'CheckButton'Michael Alexsander Silva Dias
2019-05-01Expose TextEdit's drawSpaces feature to GDScriptmiwanczuk
2019-04-29Merge pull request #28101 from MunWolf/debugger_cursorRémi Verschelde
Added a marker in text_edit that tells which row is executing.
2019-04-24Expose 'TextEdit's tab drawing and folding to GDScriptMichael Alexsander Silva Dias
2019-04-23Added a marker in text_edit that tells which row is executing.Rikhardur Bjarni Einarsson
2019-04-10Brighten the RichTextLabel color in the default themeHugo Locurcio
This makes its default color match Label's color, which leads to a more consistent appearance. This partially addresses #24570.
2019-04-06Remove unused importsHendrikto