summaryrefslogtreecommitdiff
path: root/editor/editor_themes.cpp
AgeCommit message (Collapse)Author
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
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-25Merge pull request #32119 from Calinou/unify-axis-colorsRémi Verschelde
Use the same axis colors consistently in the 2D and 3D editors
2019-09-22Fix various problems with tab-related iconsMichael Alexsander Silva Dias
2019-09-20Merge pull request #32112 from Calinou/project-manager-add-hover-styleRémi Verschelde
Add an "hover" style to items in the project manager
2019-09-20Merge pull request #32206 from Calinou/remove-unused-tree-constantsRémi Verschelde
Remove an unused icon and constant in Tree
2019-09-20Remove an unused icon and constant in TreeHugo Locurcio
2019-09-19Improve folding appearance in the editor inspectorHugo Locurcio
The arrow is now displayed at the left to be consistent with other places where folding is used. The arrow icons used are now consistent with the rest of the editor. The `arrow_up` icon is no longer used anywhere, so it was removed. Additional spacing was also added for a better visual appearance.
2019-09-13Use the same axis colors consistently in the 2D and 3D editorsHugo Locurcio
2019-09-13Add an "hover" style to items in the project managerHugo Locurcio
This makes the project manager feel more responsive to user input.
2019-09-01Fix resizer icon visiblity on light theme in GraphNodeChaosus89
2019-08-30Fix graph edit lines color on light themeChaosus89
2019-08-29Improve more light theme colors in the editor for better readabilityHugo Locurcio
This also makes the "pressed icon" color easier to distinguish on a light theme. This closes #31763.
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-15Add an outline to box selection rectangles for better visibilityHugo Locurcio
This also refactors selection box color definitions to avoid repetition.