summaryrefslogtreecommitdiff
path: root/scene/resources/default_theme
AgeCommit message (Collapse)Author
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
2019-02-10Add disabled tab styleMichael Alexsander Silva Dias
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-12-17General fixes for the AnimationTree editorMichael Alexsander Silva Dias
2018-12-10Remove "panel" theme property from ButtonGroupMichael Alexsander Silva Dias
2018-11-18If using relationship lines (now default) hide guides.Juan Linietsky
2018-11-14No one seems to like the error icon, so I made it invisible. Fixes #16344Juan Linietsky
2018-09-29Fix warning about functions defined but not used [-Wunused-function]Rémi Verschelde
Fixes the following GCC 5 warnings: ``` core/io/zip_io.h:128:26: warning: 'zlib_filefunc_def zipio_create_io_from_file(FileAccess**)' defined but not used [-Wunused-function] core/script_debugger_remote.cpp:110:17: warning: 'ObjectID safe_get_instance_id(const Variant&)' defined but not used [-Wunused-function] drivers/unix/socket_helpers.h:103:12: warning: 'int _socket_create(IP::Type&, int, int)' defined but not used [-Wunused-function] drivers/unix/socket_helpers.h:45:15: warning: 'size_t _set_sockaddr(sockaddr_storage*, const IP_Address&, int, IP::Type)' defined but not used [-Wunused-function] drivers/unix/socket_helpers.h:76:15: warning: 'size_t _set_listen_sockaddr(sockaddr_storage*, int, IP::Type, IP_Address)' defined but not used [-Wunused-function] editor/editor_fonts.cpp:40:24: warning: 'Ref<BitmapFont> make_font(int, int, int, int, const int*, const Ref<Texture>&)' defined but not used [-Wunused-function] editor/editor_themes.cpp:85:26: warning: 'Ref<StyleBoxFlat> change_border_color(Ref<StyleBoxFlat>, Color)' defined but not used [-Wunused-function] editor/import/editor_import_collada.cpp:493:13: warning: 'void _generate_normals(const PoolVector<int>&, const PoolVector<Vector3>&, PoolVector<Vector3>&)' defined but not used [-Wunused-function] editor/import/editor_import_collada.cpp:524:13: warning: 'void _generate_tangents_and_binormals(const PoolVector<int>&, const PoolVector<Vector3>&, const PoolVector<Vector3>&, const PoolVector<Vector3>&, PoolVector<float>&)' defined but not used [-Wunused-function] editor/pvrtc_compress.cpp:118:13: warning: 'void _compress_etc(Image*)' defined but not used [-Wunused-function] modules/etc/image_etc.cpp:89:13: warning: 'void _decompress_etc1(Image*)' defined but not used [-Wunused-function] modules/etc/image_etc.cpp:93:13: warning: 'void _decompress_etc2(Image*)' defined but not used [-Wunused-function] modules/gdscript/editor/gdscript_highlighter.cpp:46:13: warning: 'bool _is_whitespace(CharType)' defined but not used [-Wunused-function] scene/2d/cpu_particles_2d.cpp:510:14: warning: 'float rand_from_seed_m1_p1(uint32_t&)' defined but not used [-Wunused-function] scene/3d/cpu_particles.cpp:474:14: warning: 'float rand_from_seed_m1_p1(uint32_t&)' defined but not used [-Wunused-function] scene/resources/default_theme/default_theme.cpp:123:20: warning: 'Ref<Shader> make_shader(const char*, const char*, const char*)' defined but not used [-Wunused-function] scene/resources/default_theme/default_theme.cpp:130:24: warning: 'Ref<BitmapFont> make_font(int, int, int, int, const int*, const Ref<Texture>&)' defined but not used [-Wunused-function] ``` Had to split `core/io/zip_io.h` into header and .cpp file without 'static' keyword. Not fixed yet (static definition in header used in some files but not all): ``` modules/websocket/lws_helper.h:111:13: warning: 'void _lws_make_protocols(void*, int (*)(lws*, lws_callback_reasons, void*, void*, size_t), PoolVector<String>, _LWSRef**)' defined but not used [-Wunused-function] ``` Also fixed a couple other warnings missed in previous commits.