summaryrefslogtreecommitdiff
path: root/editor/editor_themes.cpp
AgeCommit message (Collapse)Author
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
2020-11-26[Complex Text Layouts] Refactor Font class, default themes and controls to ↵bruvzg
use Text Server interface. Implement interface mirroring. Add TextLine and TextParagraph classes. Handle UTF-16 input on macOS and Windows.
2020-11-16Use 75% editor scale on small displays automaticallyHugo Locurcio
This also makes borders always display in the editor theme, even if the editor scale is below 100%. Otherwise, "focus" outlines would vanish when using an editor scale below 100%, which harms usability.
2020-09-22Fixes DefaultProjectIcon scaling with editor scaleLunatoid
Should fix #27009 where the DefaultProjectIcon was scaling with the EDSCALE. Now it checks if the icon name is equal to "DefaultProjectIcon" and sets the scale to 1.0 instead of EDSCALE.
2020-09-10Add folding gutter to code_editPaulb23
2020-09-10Add main_gutter (breakpoints, bookmarks, execution lines) to code_editPaulb23
2020-09-10Add and convert editor to use CodeEditPaulb23
2020-08-08Add missing #ifdef MODULE_SVG_ENABLEDtotlmstr
2020-06-24Fix default editor/project Button styles after ToolButton removalHugo Locurcio
Before this fix, all Buttons made with the default project theme looked flat until hovered.
2020-06-19Remove ToolButton in favor of ButtonHugo Locurcio
ToolButton has no redeeming differences with Button; it's just a Button with the Flat property enabled by default. Removing it avoids some confusion when creating GUIs. Existing ToolButtons will be converted to Buttons, but the Flat property won't be enabled automatically. This closes https://github.com/godotengine/godot-proposals/issues/1081.
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-29[Core] Rename linear_interpolate to lerpAaron Franke
2020-04-10Merge pull request #37517 from nekomatata/slider-grab-area-highlightRémi Verschelde
Add style for highlighted Slider grab area
2020-04-06Remove unnecessary panel in EditorHelpBitMichael Alexsander
2020-04-05Added missing LinkButton colors in Editor ThemeYuri Sizov
2020-04-02Add style for highlighted Slider grab areaPouleyKetchoupp
2020-04-02Replace NULL with nullptrlupoDharkael
2020-03-26Reworked tooltips to use the popup system.Juan Linietsky
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-21Working sky shader implementationclayjohn
2020-02-22Remove extra margin in the top of the debuggerMichael Alexsander
2020-02-22Fix visuals of the new debugger editorMichael Alexsander
2020-02-14Fix various GCC compilation warnings after Vulkan mergeRémi Verschelde
Part of #36132.
2020-02-12Added high-end (Vulkan) label to some functions in visual shaderYuri Roubinsky
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-07Use modules_enabled.gen.h to improve inter dependency checksRémi Verschelde
- Fix build with gdscript module disabled. Fixes #31011. - Remove unused `gdscript` compile option. - Fix build with regex module disabled. - Fix ImageLoaderSVG to forward declare thirdparty structs.
2020-01-20Optimize the editor icon generationHugo Locurcio
Icons are no longer upsampled when using an integer editor scale. This makes some icons slightly less crisp, but the icons themselves can be adjusted to mitigate this. When using a non-integer editor scale setting, upsampling is kept as it improves crispness in a far more visible manner. When upsampling is disabled, this speeds up the theme generation by about 100 ms on average, making the project manager and editor start slightly faster. This also speeds up switching between themes.
2020-01-19Only create the editor theme onceHugo Locurcio
This prevents the editor theme from being created twice. This speeds up the project editor and editor startup significantly; startup is now 1.3 times faster on average (tested on a debug build). RAM usage was also lowered by 7.5 MB on average. This partially addresses #35321.
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-22Set proper icon for LineEdit in editor themeHaoyu Qiu
2019-12-20Set proper icons for FileDialog in editor themevolzhs
2019-12-12Fix OptionButton's arrow margin in editor themeMichael Alexsander
2019-10-31Fix a constant name typo for GridContainer when creating an editor theme.conankzhang
2019-10-27Add "panel" style to PopupDialogMichael Alexsander
2019-09-28Highlight singletons and class_names in GDScriptBojidar Marinov
Also, implement a small QoL change for auto-typed variables. Closes #5739