summaryrefslogtreecommitdiffstats
path: root/editor/editor_themes.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #67871 from Calinou/editor-theme-add-oled-presetRémi Verschelde2022-11-281-12/+63
|\ | | | | | | Add Black (OLED) editor theme preset
| * Add Black (OLED) editor theme presetHugo Locurcio2022-10-261-12/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This preset uses a fully black background to reduce power usage on OLED displays, leading to increased battery life on laptops with OLED displays. This preset is also useful for late night sessions, as OLED displays have a near-infinite contrast ratio. This also adds a Draw Extra Borders editor setting which draws borders around some interactive nodes. This setting is required for good usability of a theme with a fully black background. Visibility of disabled text (including unselected tab names) has been slightly increased for better accessibility, regardless of the editor theme preset in use.
* | ImageLoaderSVG: Improve error reportingRémi Verschelde2022-11-231-1/+2
| |
* | Merge pull request #68132 from Mickeon/doc-help-colourfulRémi Verschelde2022-11-141-0/+10
|\ \ | | | | | | | | | Improve Editor Documentation colors
| * | Improve Editor Documentation colorsMicky2022-11-011-0/+10
| | |
* | | Merge pull request #67578 from KoBeWi/GEDITORRémi Verschelde2022-10-311-1/+1
|\ \ \ | |/ / |/| | | | | Unify usage of GLOBAL/EDITOR_GET
| * | Unify usage of GLOBAL/EDITOR_GETkobewi2022-10-181-1/+1
| |/
* / Remove override_selected_font_color propertykobewi2022-10-261-1/+1
|/
* Polish rendering driver refactor further (take 2)Pedro J. Estébanez2022-10-111-2/+2
|
* Merge pull request #62910 from Vitika9/gsoc-colorpicker-uxRémi Verschelde2022-10-071-0/+5
|\ | | | | | | ColorPicker UX
| * ColorPicker UX improvementsVitika92022-09-061-0/+5
| | | | | | | | | | | | | | | | | | | | | | - Tabs and MenuButton for mode selection and enabling/disabling colorized sliders - MenuButton for shape selection with new icon for each shape - Drag and drop functionality for presets to arrange order - A chronological list of recently selected presets which are global for the editor - Presets are now highlighted as being active or inactive - Thicker sliders for easy targeting - `grabber_offset` theme constant for Slider - Uncolorized sliders
* | Fix typos with codespellRémi Verschelde2022-09-301-1/+1
| | | | | | | | | | | | | | Using codespell 2.3-dev from current git. And fix typo in `methods.py` for `vsproj=yes` option (still won't work though).
* | Improve icon generation in the editor themeYuri Sizov2022-09-161-160/+214
| |
* | Fix some errors affecting the Web editorRémi Verschelde2022-09-121-21/+1
| | | | | | | | | | | | | | | | | | | | | | - Don't warn about minimized/maximized modes not being available. - Blender and FBX export both depend on running thirdparty applications, which can't be done (easily at least) for Web and Android editors. - Editor theme complained about not being able to retrieve texture data for an icon. It was only used once so instead of flipping at runtime, let's just add a flipped icon. Part of #65702.
* | Allow images to be imported "for editor use" and respect editor settingsYuri Sizov2022-09-071-0/+8
| |
* | Merge pull request #59069 from fire-forge/stylebox_margin_functionsRémi Verschelde2022-09-071-48/+12
|\ \ | | | | | | | | | Add all/individual setters for StyleBox default margins and StyleBoxTexture margin size and unbind `StyleBox*.set_*_individual()` methods
| * | Add set_default_margin_all/individual to StyleBoxFireForge2022-09-071-48/+12
| | |
* | | Merge pull request #65355 from groud/split_container_min_grab_thicknessRémi Verschelde2022-09-071-0/+3
|\ \ \ | |/ / |/| | | | | Allow SplitContainer to have a grab area larger than its visual grabber
| * | Allow SplitContainer to have a grab area larger than its visual grabberGilles Roudière2022-09-071-0/+3
| | |
* | | Merge pull request #65446 from YuriSizov/dialogs-make-styleboxes-matterRémi Verschelde2022-09-071-0/+1
|\ \ \ | | | | | | | | | | | | Make `AcceptDialog` and derivatives utilize `StyleBox` fully
| * | | Make AcceptDialog and derivatives utilize StyleBox fullyYuri Sizov2022-09-071-0/+1
| | |/ | |/|
* / | Improve naming of theme properties throughout GUI codeYuri Sizov2022-09-061-17/+17
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | Rename ItemList's bg -> panel Rename ItemList's bg_focus -> focus Rename ProgressBar's bg -> background Rename ProgressBar's fg -> fill Rename Tree's bg -> panel Rename Tree's bg_focus -> focus Rename ScrollContainer's bg -> panel Rename FileDialog's *_icon_modulate -> *_icon_color Rename FileDialog's files_disabled -> file_disabled_color Rename CheckButton's on/off -> checked/unchecked Rename check_v_adjust -> check_v_offset
* | Various editor UI fixes (bottom panel corner radius and scene tab bar)FireForge2022-09-051-13/+11
| | | | | | | | | | | | | | | | | | - Fix top corners of bottom panel not having rounded corners - Fix scene tab bar background expanding vertically by corner radius - Remove two unneccesary theme items from the editor theme: - EditorStyles/SceneTabFG - EditorStyles/SceneTabBG - Remove an instance where the scene TabBar was having its styleboxes overriden to the default value, which has no effect.
* | Merge pull request #65230 from fire-forge/itemlist-spacingYuri Sizov2022-09-051-1/+1
|\ \ | |/ |/|
| * Increase ItemList v_separation in editor themeFireForge2022-09-011-1/+1
| | | | | | | | ItemList now uses the same value for v_separation as PopupMenu. This makes it easier to select items.
* | Merge pull request #65181 from fire-forge/corner-detailsRémi Verschelde2022-09-021-6/+8
|\ \
| * | Decrease StyleBoxFlat corner detail in editor themeFireForge2022-09-011-6/+8
| |/ | | | | | | Also makes some minor changes to other areas of the editor theme.
* | EditorTheme: Remove rounded corners for all popupsRedMser2022-09-021-3/+3
| | | | | | | | | | Expands #59045 to apply to all kinds of popups, since they all render as separate windows.
* | Rework oriented containerskobewi2022-09-011-0/+2
|/
* Merge pull request #65089 from YuriSizov/editor-launch-bar-with-styleRémi Verschelde2022-08-301-2/+20
|\ | | | | Improve style and add contextual highlight to the editor launch pad
| * Improve style and add contextual highlight to the editor launch padYuri Sizov2022-08-301-2/+20
| |
* | Merge pull request #65042 from YuriSizov/editor-docks-tabbar-bgRémi Verschelde2022-08-301-27/+35
|\ \ | |/ |/|
| * Add background to TabContainer's tabbar and editor docksYuri Sizov2022-08-291-27/+35
| |
* | Fix some editor theme regressionsYuri Sizov2022-08-291-2/+10
|/
* Extract editor color map and simplify SVG color conversionYuri Sizov2022-08-241-126/+144
|
* Disable editing properties in foreign resourcesSaracenOne2022-08-231-2/+2
| | | | | | from imported scenes or objects returning true from a function named '_is_read_only' and disable resaving imported resources.
* Create a SVG default project icon in new projectsHugo Locurcio2022-08-201-6/+6
| | | | | | | This allows the icon's scale to be changed using the `svg/scale` import option, including to scales greater than the default 128×128. Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
* Merge pull request #59045 from Calinou/editor-theme-popup-no-rounded-cornersYuri Sizov2022-08-191-0/+3
|\ | | | | Don't use rounded corners for PopupMenus in the editor theme
| * Don't use rounded corners for PopupMenus in the editor themeHugo Locurcio2022-08-181-0/+3
| | | | | | | | | | | | | | PopupMenus use separate windows by default in the editor, and windows no longer support per-pixel transparency for now in 4.0. Even if per-pixel transparency was reimplemented, we can't assume that it'll always work in practice (e.g. when compositing is disabled).
* | Merge pull request #63950 from bruvzg/menu_bar3Max Hilbrunner2022-08-191-0/+19
|\ \ | | | | | | Implement MenuBar control to wrap Popup menus or native menu, use native menu for editor.
| * | Implement `MenuBar` control to wrap `PopupMenu`s or native menu, use native ↵bruvzg2022-08-181-0/+19
| |/ | | | | | | menu for editor.
* / Improve editor toolbar for Control nodesYuri Sizov2022-08-161-0/+11
|/
* Add missing properties to default themekobewi2022-08-111-2/+1
|
* Tweak PopupMenu item spacing in the editor themeHugo Locurcio2022-08-051-11/+10
| | | | | | | - Increase spacing between items for easier clicking with the mouse. - Increase lateral margins for better visual appearance. - Decrease margin at the top and bottom to compensate for the increased per-item height.
* Fix text position when hovering pressed `CheckButton/Box` elements in the editorMichael Alexsander2022-08-031-0/+2
|
* Visually line up the selected tab with the underlying panel with bordersHugo Locurcio2022-08-031-0/+4
|
* Remove `CustomPropertyEditor` completelyYuri Sizov2022-08-011-0/+3
|
* Improve script editor's light theme syntax colors for better readabilityHugo Locurcio2022-07-311-21/+18
| | | | | | | | New colors were hand-picked to have a better contrast rate, while still following the general coloring of the previous light theme. This improves the light theme's accessibility, especially in outdoor environments with direct sunlight.
* Fix code folding icon color not matching defined colorPhoenixFlame1012022-07-201-4/+16
| | | | | | | | | | | | | | Caused by reusing icons from the main editor in the code editor. These icons were converted based on the main editor theme and not the code editor theme. - Create new icons for use specifically in the code editor - Add these icons to the exceptions when converting dark theme icons to light theme automatically - Change the default value of the code folding color to match previous color - Code folding icon is now pure white by default to correctly match the color defined in settings
* Add static methods for creating Image and ImageTexturekobewi2022-07-081-6/+3
|