summaryrefslogtreecommitdiff
path: root/editor/editor_themes.cpp
AgeCommit message (Collapse)Author
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.
2021-07-16Fix control picker in the Theme editorYuri Sizov
2021-07-13Add type variations to ThemeYuri Sizov
2021-06-19Rename `instance()`->`instantiate()` when it's a verbLightning_A
2021-06-14Overhaul the theme editor and improve user experienceYuri Sizov
2021-06-03Improve radio checkboxes in the default editor themeHugo Locurcio
2021-06-02Use bold fonts in editorreduz
* Labels are now bold * Categories in trees are bold * Main editor buttons are bold * Fixed section folding arrows in inspector
2021-05-31Merge pull request #49132 from Calinou/editor-syntax-themes-rename-defaultRémi Verschelde
Rename the bundled text editor themes for consistency with themes
2021-05-31Rename the bundled text editor themes for consistency with themesHugo Locurcio
The Adaptive text editor theme is the default, and has therefore been renamed Default for consistency with the Default theme preset. It keeps its automatic dark/light switch status. The Default text editor theme was actually a legacy Godot 2-style theme, so it has been renamed to Godot 2 to match the theme preset. Its background color has been changed to be a constant opaque color, since the new editor theme made the theme look less good on a translucent background. The previous background color on light theme also lacked contrast.
2021-05-27Use a negative contrast setting for light editor themesHugo Locurcio
This makes light themes look more natural with regards to UI design guidelines around "elevation".
2021-05-25Add highlight to the relationship lines of selected Tree itemsYuri Sizov
2021-05-24Merge pull request #48644 from Calinou/editor-increase-icon-saturationRémi Verschelde
Increase icon saturation by 30% for all editor icons
2021-05-22Tweak pressed CheckBox appearance in the editorHugo Locurcio
This uses the accent color to match pressed CheckButtons after they were updated. Checked checkboxes are now more prominent in the user's peripheral vision, which can be useful at times. This also matches how checkboxes look in most operating systems and web browsers.
2021-05-12Add outlines and contrasting backgrounds to the editor UI elementsYuri Sizov
2021-05-11Increase icon saturation by 30% for all editor iconsHugo Locurcio
More saturated icons go better with the new editor theme. These color changes only apply when using a dark theme. The editor icon saturation can still be adjusted in the Editor Settings. Setting the editor icon saturation setting to 0.77 should roughly match the old icon saturation.
2021-05-07Merge pull request #33577 from Calinou/highlight-control-flow-keywordsRémi Verschelde
Highlight control flow keywords with a different color
2021-05-05Highlight control flow keywords with a different colorHugo Locurcio
This makes them easier to distinguish from other keywords.
2021-04-27Improve the editor themeHugo Locurcio
The editor theme now makes use of rounded corners and less borders to follow modern visual trends. The default theme's colors were also tweaked to make the blue hue more subtle (similar to the Arc theme, which was removed as a consequence). The Alien theme was replaced by a Breeze Dark theme, which should blend in well with the KDE theme.
2021-04-17Rename LineEdit caret_* properties getters and setters to match propertyMarcel Admiraal
2021-04-06Add Various ColorPicker shapesKongfa Waroros
2021-03-28Rename Texture.get_data() to get_image()Marcel Admiraal
2021-03-26Merge pull request #47163 from bruvzg/macos_sandbox_file_dialogRémi Verschelde
FileDialog: add Back/Forward buttons, add message for inaccessible folders.
2021-03-23Merge pull request #36004 from nathanfranke/fix-transparent-theme-colorRémi Verschelde
Fix transparent editor theme being brighter
2021-03-23FileDialog: add Back/Forward buttons, add message for inaccessible folders.bruvzg
2021-03-20Fix project icon size in Project ManagerHaoyu Qiu
2021-03-12Fix Tree focus border disappears when Border Size is set to 0ray90514
2021-03-09Add interpolation bar on each channel in ColorPickerKongfa Waroros
2021-02-15Improved PopupMenu visuals. Removed x-y margin, made it 'padding' instead.Eric M
2021-02-12Add ability to change Icon Saturationreduz
-Allows for more theme freedom -Allows for entirely B&W themes.
2021-02-12Improved Inspector Sub-Resource Editingreduz
-Better margins -Colors to delimit subresources better.
2021-01-26Merge pull request #44194 from madmiraal/fix-font_selected_colorRémi Verschelde
Change themes font_color_selected to font_selected_color
2021-01-25Fix minimap capturing events and improve its themeYuri Sizov
Add an editor setting for minimap opacity in visual editors
2021-01-24Change themes *_color_* to *_*_colorMarcel Admiraal
Changed: font_color_accel -> font_accelerator_color font_color_bg -> font_unselected_color font_color_disabled -> font_disabled_color font_color_fg -> font_selected_color font_color_hover -> font_hover_color font_color_hover_pressed -> font_hover_pressed_color font_color_pressed -> font_pressed_color font_color_readonly -> font_readonly_color font_color_selected -> font_selected_color font_color_shadow -> font_shadow_color font_color_uneditable -> font_uneditable_color icon_color_disabled -> icon_disabled_color icon_color_hover -> icon_hover_color icon_color_hover_pressed -> icon_hover_pressed_color icon_color_normal -> icon_normal_color icon_color_pressed -> icon_pressed_color Also includes: font_outline_modulate -> font_outline_color tab_fg -> tab_selected tab_bg -> tab_unselected
2021-01-18Fix typo in theming methods ("botton" -> "bottom")Hugo Locurcio
2021-01-01Update copyright statements to 2021Rémi Verschelde
Happy new year to the wonderful Godot community! 2020 has been a tough year for most of us personally, but a good year for Godot development nonetheless with a huge amount of work done towards Godot 4.0 and great improvements backported to the long-lived 3.2 branch. We've had close to 400 contributors to engine code this year, authoring near 7,000 commit! (And that's only for the `master` branch and for the engine code, there's a lot more when counting docs, demos and other first-party repos.) Here's to a great year 2021 for all Godot users 🎆
2020-12-23Rename Control margin to offsetMarcel Admiraal
2020-12-17Merge pull request #43416 from pycbouh/graph-minimapRémi Verschelde
Add a minimap to the GraphEdit
2020-12-03Add "font_color_separator" theme property to 'PopupMenu'Michael Alexsander
2020-11-30Add a minimap to the GraphEditYuri Sizov
2020-11-30Reduced margin on PopupMenuEric M