Age | Commit message (Collapse) | Author |
|
Reimplement ColorPicker presets
|
|
Added icons and API for indeterminate checkmarks for the Tree class.
|
|
|
|
Add support for partial custom editor themes
|
|
|
|
|
|
|
|
|
|
|
|
Node Auto Arrangement in GraphEdit/VisualScript/VisualShader
|
|
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
|
|
|
|
|
|
|
|
This makes the focus outline less distracting on the
2D and 3D editor viewports.
|
|
|
|
Fix Illegible text in audio bus editor
|
|
* 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.
|
|
This pull request fixes an issue with the audio bus editor where the text would be illegible regardless of the theme being used.
|
|
|
|
|
|
|
|
|
|
|
|
* Labels are now bold
* Categories in trees are bold
* Main editor buttons are bold
* Fixed section folding arrows in inspector
|
|
Rename the bundled text editor themes for consistency with themes
|
|
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.
|
|
This makes light themes look more natural with regards to UI design
guidelines around "elevation".
|
|
|
|
Increase icon saturation by 30% for all editor icons
|
|
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.
|
|
|
|
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.
|
|
Highlight control flow keywords with a different color
|
|
This makes them easier to distinguish from other keywords.
|
|
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.
|
|
|
|
|
|
|
|
FileDialog: add Back/Forward buttons, add message for inaccessible folders.
|
|
Fix transparent editor theme being brighter
|
|
|
|
|
|
|
|
|
|
|
|
-Allows for more theme freedom
-Allows for entirely B&W themes.
|
|
-Better margins
-Colors to delimit subresources better.
|
|
Change themes font_color_selected to font_selected_color
|
|
Add an editor setting for minimap opacity in visual editors
|