summaryrefslogtreecommitdiff
path: root/editor/editor_themes.cpp
AgeCommit message (Collapse)Author
2022-01-31Merge pull request #56970 from YeldhamDev/rise_tabbar_riseRémi Verschelde
2022-01-31Bring `TabBar` to full parity with the `TabContainer` implementation.Michael Alexsander
2022-01-30Move placeholder color to theme itemPaulb23
2022-01-29Fix the breakpoint icon in CodeEditYuri Sizov
2022-01-29Update icons and color conversion rules to simplify the paletteYuri Sizov
2022-01-19Improve the default project themeHugo Locurcio
The new default project theme uses StyleBoxFlat extensively for a more modern design and better scalability to multiple resolutions. SVG icons are now used in place of PNG icons. While this does not allow for true vector-based icon drawing (icons are still rasterized at load-time), this makes the design work easier for contributors and opens the door to vector drawing in the future (e.g. with polygons or SDFs). Like for editor icons, the SVG header file is now built automatically when a SVG file is changed. This removing the need for running `make_header.py` manually (TODO). The "Use Hidpi" project setting has been removed in favor of a "Default Theme Scale" project setting, which allows creating the default theme at a higher/lower scale than the default. This can be used when designing GUIs with a high base resolution to ensure crisp visuals. Co-authored-by: Yuri Sizov <yuris@humnom.net>
2022-01-19Make assets in progress open the next step instead of erringYuri Sizov
2022-01-18Improve spacing in built-in class referenceYuri Sizov
2022-01-18Merge pull request #56104 from Geometror/add-flow-layout-containerRémi Verschelde
Add FlowContainer
2022-01-14Use ThorVG instead of NanoSVG for importing SVGsK. S. Ernest (iFire) Lee
ThorVG is a platform-independent portable library for drawing vector-based scene and animation. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-01-07Add FlowContainerHendrik Brucker
2022-01-06Merge pull request #56376 from pycbouh/theme-tombe-les-theme-propertiesRémi Verschelde
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2021-12-31Correctly use fallback Theme values as last resortYuri Sizov
2021-12-09Replace String comparisons with "", String() to is_empty()Nathan Franke
Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
2021-11-12Modules: Make sure to include modules_enabled.gen.h where neededRémi Verschelde
2021-11-06Fix Label and RichTextLabale text shadows and shadow outlines.bruvzg
2021-10-26Add focus font color to Button and derivativesYuri Sizov
2021-10-20Merge pull request #53926 from YeldhamDev/i_am_tabbar_nowRémi Verschelde
2021-10-20Merge pull request #53260 from Calinou/editor-inspector-warning-yellowRémi Verschelde
2021-10-19Rename `Tabs` to `TabBar`Michael Alexsander
2021-10-06Merge pull request #45699 from TokageItLab/implement-skeleton-editor-gizmoRémi Verschelde
Implement Skeleton Editor Gizmo
2021-10-07Implemented SkeletonEditorGizmoSilc Renew
Co-authored-by: Lyuma <xn.lyuma@gmail.com>
2021-10-05Use a yellow color for editable children properties instead of redHugo Locurcio
This matches the usual "Changes may be lost!" warning color. - Remove a duplicate editor theme color setting declaration.
2021-10-04Add the base scale factor to the Theme resourceYuri Sizov
2021-09-30Rename some elements of `Tabs`Michael Alexsander
2021-09-30Improved breakpoint gutter for CodeEdit.Eric M
Added preview of breakpoint placement on hover. Added override of icon for the Editor to use an SVG so it is no longer blurry.
2021-09-13Merge pull request #51805 from skysphr/scrollbar-icons-pressedHugo Locurcio
Added increment_pressed and decrement_pressed icons to scrollbars
2021-09-05Apply set_read_only() to child classes of EditorProperty elementsSilc 'Tokage' Renew
2021-09-02Tweak tooltip styleHendrik Brucker
2021-08-22Merge pull request #51700 from Geometror/fix-color-pickerK. S. Ernest (iFire) Lee
Reimplement ColorPicker presets
2021-08-18Merge pull request #50752 from Phischermen/indeterminate_checkmark_apiRémi Verschelde
Added icons and API for indeterminate checkmarks for the Tree class.
2021-08-18Reimplement ColorPicker presetsHendrik Brucker
2021-08-17Added increment_pressed and decrement_pressed icons to scrollbarsskysphr
2021-08-17Merge pull request #51651 from pycbouh/editor-merge-custom-themeRémi Verschelde
Add support for partial custom editor themes
2021-08-16Added icons and API for indeterminate checkmarks for the Tree class.Kevin Fischer
2021-08-16Reorganise text editor settingsPaulb23
2021-08-14Add support for partial custom editor themesYuri Sizov
2021-08-13Move CodeEdit theme overrides into EditorThemePaulb23
2021-08-12Cleanup and bind remaing methods in TextEditPaulb23
2021-08-10Merge pull request #49343 from theoway/node_auto_arrangement_graph_editK. S. Ernest (iFire) Lee
Node Auto Arrangement in GraphEdit/VisualScript/VisualShader
2021-08-11Automatic arrangement of nodes in VisualScript/VisualShaders editorsUmang Kalra
This PR and commit adds the functionality to arrange nodes in VisualScript/VisualShader editor. The layout generated by this feature is compact, with minimum crossings between connections & uniform horizontal & vertical gaps between the nodes. This work has been sponsored by GSoC '21. Full list of additions/changes: • Added arrange_nodes() method in GraphEdit module. • This method computes new positions for all the selected nodes by forming blocks and compressing them. The nodes are moved to these new positions. • Adding this method to GraphEdit makes it available for use in VisualScript/VisualShaders editors and its other subclasses. • Button with an icon has been added to call arrange_nodes() in GraphEdit. • This button is inherited by VisualScript/VisualShaders editors to invoke the method. • Undo/redo is functional with this method. • By using signals in arrange_nodes(), position changes are registered in undo/redo stack of the subclass that is using the method. • Metadata of the method has been updated in ClassDB • Method description has been added to class reference of GraphEdit
2021-08-07Fix Gradient, Color Picker BG, Fix CanvasItem::draw_texture_rect p_tileNathan Franke
2021-08-03Fix the editor theme application for the Mono build logYuri Sizov
2021-07-31Fix theming in the audio bus editorYuri Sizov
2021-07-30Make the focus outline translucent for editor viewportsHugo Locurcio
This makes the focus outline less distracting on the 2D and 3D editor viewports.
2021-07-27Multiple cosmetic fixes for embedded windowsMichael Alexsander
2021-07-20Merge pull request #50593 from SirQuartz/patch-24Rémi Verschelde
Fix Illegible text in audio bus editor
2021-07-18Optimize StringName usagereduz
* Added a new macro SNAME() that constructs and caches a local stringname. * Subsequent usages use the cached version. * Since these use a global static variable, a second refcounter of static usages need to be kept for cleanup time. * Replaced all theme usages by this new macro. * Replace all signal emission usages by this new macro. * Replace all call_deferred usages by this new macro. This is part of ongoing work to optimize GUI and the editor.
2021-07-18Fix Illegible text in audio bus editorNick Huelin
This pull request fixes an issue with the audio bus editor where the text would be illegible regardless of the theme being used.