Commit Graph

222 Commits

Author SHA1 Message Date
Rémi Verschelde e4213e66b2 Add missing copyright headers and fix formatting
Using `misc/scripts/fix_headers.py` on all Godot files.
Some missing header guards were added, and the header inclusion order
was fixed in the Bullet module.
2018-01-05 01:22:23 +01:00
Rémi Verschelde dc2cc6bc2b
Merge pull request #15186 from GodotExplorer/default-theme
Fix errors with custom theme and custom font in project settings.
2018-01-04 14:50:15 +01:00
Rémi Verschelde edd78d54c4
Merge pull request #15073 from volzhs/editor-custom-font
Use .ttf or .otf file for editor custom font
2018-01-03 10:44:19 +01:00
Rémi Verschelde b50a9114b1 Update copyright statements to 2018
Happy new year to the wonderful Godot community!
2018-01-01 14:40:47 +01:00
geequlim bd0a9f4bd6 Fix errors with custom default theme and custom fonts. 2017-12-30 17:30:37 +08:00
volzhs 4b0f075e95 Respect text editor highlighting color changes
Fix #14838
2017-12-28 23:49:15 +09:00
volzhs 2c8ebab93b Use .ttf or .otf file for editor custom font 2017-12-27 03:14:48 +09:00
Daniel J. Ramirez e7b24c648c Added default close and title color to editor themed graph nodes 2017-12-24 13:08:53 -06:00
volzhs 4073de88cb Refactoring FPS & information on 3D viewport
- FPS label position adjusted with Preview button
- Remove unnecessary Panel control
- Remove unnecessary check condition
2017-12-17 21:49:44 +09:00
volzhs 3c04d7798c Fix CheckButton minimum size 2017-12-11 14:52:32 +09:00
Rémi Verschelde bf45e569c9
Merge pull request #11510 from AndreaCatania/skel
Added skeleton x-ray
2017-12-10 13:03:53 +01:00
AndreaCatania 63ec5823d1 Implemented skeleton visibility
Removed code visibility code from popup menu
2017-12-10 03:15:52 +01:00
Paulb23 48ad133cf9 Changed current line draw order and added code folding color 2017-12-07 19:17:43 +00:00
Michael Alexsander Silva Dias 2773c12156 Add disabled theme to TextEdit. 2017-12-01 01:32:26 -02:00
Daniel J. Ramirez e5de5b4908 Visual fixes
Added some icons (Including the onion one)
Fixed text editor ellipsis style and editor tabs
2017-11-20 13:03:22 -06:00
Daniel J. Ramirez 592ee82010 Fixed theme update and some widgets. 2017-11-11 11:58:30 -06:00
Daniel J. Ramirez 8cf0d6ceb4 Some fixes and improvements.
Changed FileDialogs for EditorFileDialogs in EditorNode.
Updated CheckButton.
2017-11-10 16:45:08 -06:00
Daniel J. Ramirez 12251a3a15 Fix theme with custom font. 2017-11-09 20:45:18 -06:00
Daniel J. Ramirez e524cc7135 Fixed project manager and dialog fonts. 2017-11-09 19:38:48 -06:00
Rémi Verschelde 6361e24f29 Cleanup unnecessary debug prints 2017-10-21 20:41:07 +02:00
scorched 3ba5ee42c3 Fix compilation on Visual Studio 2013 (#10219). 2017-10-20 12:55:22 +02:00
Rémi Verschelde 0c9d201044 Merge pull request #11407 from toger5/selection_override_color
added option to keep font color on selection + use consistent selection color in help (fixes: #11501)
2017-10-15 20:49:38 +02:00
Daniel J. Ramirez dbc37afcd9 Added and improved some icons, plus some other minor visual fixes. 2017-10-12 14:43:11 -05:00
Daniel J. Ramirez bb69855f1a VS now supports white themes. 2017-10-02 21:31:32 -05:00
toger5 975e18895a added spacing to tabs 2017-10-03 00:34:47 +02:00
Poommetee Ketson 34ea271380 Merge pull request #11646 from djrm/pr_visual_improvements
Several visual improvements.
2017-10-02 23:49:44 +07:00
Gilles Roudiere 6af38d119e Merge pull request #11399 from toger5/bottom_panel_debugger
Bottom panel debugger
2017-10-01 21:30:43 +02:00
Gilles Roudiere e6dfce6b52 Merge pull request #11704 from Hinsbart/move_interface_properties
EditorSettings: Move interface/ properties to interface/editor
2017-09-30 12:38:59 +02:00
Andreas Haas 20eb17a685
EditorSettings: Move interface/ properties to interface/editor
Fixes inconsistent behaviour where clicking on the "Interface"
in the Editor Settings wouldn't collapse the category as is the
case for all the other categories.
2017-09-29 18:52:56 +02:00
toger5 541b0d0238 fixed help bg 2017-09-28 23:21:44 +02:00
Daniel J. Ramirez 15986ea343 Several visual improvements.
Added proper label sizing
Improved text editor status bar
Fixed some issues with ItemList and also some style fixes
Added background to color picker samples (the mrcdk fix)
Fixed slider ticks.
Added VS breakpoint and error styleboxes.
2017-09-28 15:00:43 -05:00
toger5 e8c620abac fixed bottom panel debugger exception
- make it work in combination with the border for tabs
 - fixed updating when changing theme
2017-09-28 16:52:34 +02:00
toger5 e49ac08c24 do not overlap current line with selection color 2017-09-28 16:12:12 +02:00
toger5 d58a159e38 keep font color on selection as default 2017-09-28 14:17:14 +02:00
volzhs 3e0d18b9c0 Update theme property respectively 2017-09-26 20:08:25 +09:00
Daniel J. Ramirez b622c92fad Removed most of the custom colors from the interface. 2017-09-25 21:43:20 -05:00
Daniel J. Ramirez ee9f8ec1d6 Fixed tooltip font color 2017-09-25 02:23:41 -05:00
Daniel J. Ramirez 29d3ecf29a Improved a lot of icons, and some style fixes 2017-09-21 15:55:07 -05:00
Rémi Verschelde 82f13288dd Merge pull request #11453 from djrm/pr_visuals
Visual tweaks.
2017-09-21 10:51:06 +02:00
Rémi Verschelde 34c4c8046c Merge pull request #11221 from toger5/editor_spacing
added editor spacing
2017-09-21 10:25:40 +02:00
Daniel J. Ramirez 00755ff2c0 Visual tweaks.
Updated icons
Updated some color
2017-09-20 19:29:52 -05:00
Rémi Verschelde 752a116847 Merge pull request #11256 from djrm/pr_visual_improvements
Visual improvements and new look for VS
2017-09-19 23:44:09 +02:00
toger5 8f460bb73d added editor spacing 2017-09-19 00:37:54 +02:00
Daniel J. Ramirez 957e85dcac Fixed a lot of HiDPI metrics. 2017-09-18 14:48:15 -05:00
Daniel J. Ramirez 4d14097439 Fixed metrics. 2017-09-17 18:58:36 -05:00
Rémi Verschelde c24ca2c7a8 Merge pull request #10900 from toger5/theme_tab_border
Added border for tabs + container.
2017-09-17 12:41:36 +02:00
Daniel J. Ramirez ba11dc3f48 Added adaptive text editor theme, this includes the shader editor 2017-09-15 16:08:22 -05:00
toger5 10c400c456 Added border for tabs + container.
- moved tabConetent position to be more reasonable.
 - fixed drawing order to allow those kind of styles.
2017-09-15 00:50:34 +02:00
Daniel J. Ramirez 74d028729f Improved VisualScriptEditor 2017-09-14 12:45:42 -05:00
Daniel J. Ramirez d31215e4cd Match status icons colors with the theme status colors. 2017-09-14 11:21:56 -05:00
Rémi Verschelde 8c08f2380d Merge pull request #11253 from djrm/pr_better_docs
Improved editor docs
2017-09-14 12:06:36 +02:00
Daniel J. Ramirez d21f20eb5f Several fixed to editor doc.
Improved style
Fixed editor help issues
Added editor help index
2017-09-14 01:13:37 -05:00
Daniel J. Ramirez 7a362afb88 More consistent script color temperatures. 2017-09-13 14:07:05 -05:00
Rémi Verschelde 57a5548965 Merge pull request #11191 from toger5/slider_highlight_area
added highlight area to slider
2017-09-13 20:09:28 +02:00
Rémi Verschelde 095ff6dda8 Merge pull request #11063 from toger5/svg_generation_optimization
optimized color conversion for svg generation
2017-09-13 19:27:21 +02:00
Hein-Pieter van Braam 4140e5261c Merge pull request #11207 from toger5/fixed_margin_for_theme
fixed margin beeing squared
2017-09-13 17:32:34 +02:00
toger5 c40fb45e59 fixed border on the right of viewport 2017-09-13 15:36:05 +02:00
toger5 3ee0086f2d fixed margin beeing squared 2017-09-12 23:46:23 +02:00
toger5 ee5dc05a09 optimized color conversion for svg generation 2017-09-12 23:33:51 +02:00
toger5 c2c8aac9a3 added highlight area to slider 2017-09-12 22:55:23 +02:00
Daniel J. Ramirez 57fff67580 Fixed some inconsistent styles, plus some cleanup 2017-09-12 13:16:47 -05:00
Daniel J. Ramirez 60f054d3ac Improved VS node coloring 2017-09-12 13:16:47 -05:00
Daniel J. Ramirez 3a05bdbaab Improved alternative size thumbnail generation 2017-09-12 13:16:47 -05:00
Daniel J. Ramirez 1e8048dd45 Improved theme generation, and other fixes 2017-09-12 13:16:38 -05:00
volzhs 41cc85fb20 Fit script editor grid with others 2017-09-07 06:25:57 +09:00
toger5 18917ad1d6 fixed log colors 2017-09-05 01:10:04 +02:00
toger5 2083263e4f changed tree font color to be more saturated 2017-09-04 18:06:41 +02:00
toger5 45d57ccf28 fixed hover line for menu button 2017-09-04 18:06:13 +02:00
toger5 e85f025771 Fixed theme (chagnes introduced in light theme)
- adapted contrast color intensity (to make buttons less bright)
 - added missing border for lineEdit
 - removed unnecassary code for option button
2017-09-04 18:06:13 +02:00
Rémi Verschelde df11de72c9 Merge pull request #10932 from djrm/pr_fix_metrics
Fixed some metrics (some issues caused by the new Noto Sans font).
2017-09-04 08:10:04 +02:00
Daniel J. Ramirez e298f931a6 Fixed some metrics (some issues caused by the new Noto Sans font).
plus other minor fixes
2017-09-03 01:49:31 -05:00
toger5 b606285219 Unified script panel backgrounds.
- simplefied it with using the new rtl.
 - removed ("ScriptPanel", "EditorStyles") for since rtl now can be used
 - unified backgrounds when script editor color is set to transparent => option to set background color adapt to theme is deprecated.
2017-09-02 18:28:35 +02:00
toger5 2aa735757a unified draw_center naming for (9patch,StyleBoxes)
- filled -> draw_center
 - is_draw_center -> is_draw_center_enabled
 - get_draw_center -> is_draw_center_enabled
2017-08-31 15:25:24 +02:00
toger5 ff0a149de9 added setting for icon/font color: auto,dark,light 2017-08-30 21:47:10 +02:00
toger5 97d7d84cac renamed light_color to contrast_color
- added tab highlighting
 - other changes to the theme to make use of contrast color
2017-08-30 21:46:27 +02:00
toger5 b2f70ca10c White Theme
- almost all the colors are generated now. They get adapted based on
   the theme color. All the correct icons are used
 - error label now uses error color
 - added missing button colors in editor theme
2017-08-30 21:44:48 +02:00
toger5 aa8feff8c1 Implement color conversion for dark SVG icons 2017-08-30 21:20:02 +02:00
Daniel J. Ramirez e5a71e3f95 Added missing gizmo icons and fixed ugly looking gizmo icons. 2017-08-28 15:49:16 -05:00
Rémi Verschelde bd282ff43f Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
Rémi Verschelde 172519bec6 Merge pull request #10551 from djrm/pr_editor_fixes
Do not use old styles for tab buttons

[ci skip]
2017-08-23 00:05:27 +02:00
Rémi Verschelde 4fc0a2d776 Merge pull request #10519 from toger5/remove_addition_border
Remove addition border
2017-08-22 08:10:15 +02:00
Daniel J. Ramirez 1f90f5ed4c Do not use old styles for tab buttons 2017-08-21 21:10:12 -05:00
Rémi Verschelde e9c43cecbf Merge pull request #10433 from djrm/pr_svg_support
SVG support
2017-08-21 23:49:07 +02:00
toger5 d0c610d9ba removed additional border function. (not needed with new styleboxes) 2017-08-21 23:07:38 +02:00
toger5 1a4d8b3e76 fixed rounded corners for visual script editor 2017-08-21 21:32:56 +02:00
Daniel J. Ramirez 0c18009665 Added missing icon and svgs upscaling 2017-08-20 13:53:09 -05:00
Daniel J. Ramirez c873661c30 Added pure vector theme, with dark icons variation 2017-08-20 13:53:09 -05:00
Rémi Verschelde a8a6082dc0 Merge pull request #8899 from toger5/BetterFlatStylebox
Better flat stylebox with rounded corners
2017-08-16 18:15:04 +02:00
toger5 059a0496da Adapted godot to the new StyleBoxFlat 2017-08-15 19:36:34 +02:00
kbake a72d17cf11 Scroll bars now look different on press 2017-08-12 17:46:26 -04:00
Daniel J. Ramirez 03f62495ca Improved add texture as node dialog 2017-08-10 11:40:28 -05:00
Daniel J. Ramirez 273d2ab9d4 Several ui improvements (mostly margins)
Improved colors

Added some missing icons
2017-08-08 11:44:37 -05:00
Rémi Verschelde dcadbb8b40 Merge pull request #10087 from volzhs/editor-button-align
Fix label align of button in editor
2017-08-07 14:44:41 +02:00
Rémi Verschelde ebf19d72b5 Merge pull request #9878 from toger5/theme_border_settings_change
Theme border settings change + updating styles
2017-08-07 14:07:57 +02:00
volzhs 9f6f7e0fcf Fix label align of button in editor
Fix #9927
2017-08-04 23:52:36 +09:00
toger5 3b2a4cc52a editor: update helps and script panel on theme could change. 2017-08-04 14:57:15 +02:00
toger5 2bff914512 border settings doesn't remove necessary borders anymore 2017-08-03 12:10:19 +02:00
Daniel J. Ramirez cd8feed0df Some theme and usability improvements
Fixed create script editor dialog not changing extension
Options menu for inspector element is bigger
2017-07-31 13:19:45 -05:00
Daniel J. Ramirez 95f55c8f0d Icons can now be added inside line edits (Search icon).
Fixed window title bar margins.

fixed compilation error
2017-07-19 13:23:16 -05:00
Daniel J. Ramirez 17c3422431 Added separators using StyleBoxLine, some theme style fixes, added variant icon 2017-07-18 01:09:19 -05:00
Daniel J. Ramirez a3c2d9a6bd Improvements and fixes for the default theme.
Added customizable border size and window highlight.
2017-07-16 13:23:59 -05:00
geequlim b95ba28800 Justify the editor theme style colors 2017-07-08 16:33:42 +08:00
toger5 5374145afa margins for item list
- without margins there are too little gaps on the left and the selecting looks weird
 - also changed the styles for selected and focus so they both have the same size
2017-06-26 13:45:36 -07:00
toger5 3d89893cb8 style box margins for Inspector and list. 2017-06-25 17:21:12 -07:00
volzhs fc2fe7ebd1 Enhance scene tabs
- show scene thumbnail on hover
- resize if has many tabs
- show full scene file name with current edited scene
- can be customized EditorSettings > Interface > Scene Tab
- close scene with mouse middle button
2017-06-16 13:21:05 +09:00
Rémi Verschelde 606b4ee9df Merge pull request #9051 from toger5/fixedScriptEditorListSeperation
fixed spacing for script editor script list
2017-06-08 07:34:27 +02:00
toger5 50e5c7f980 fixed overlapping of temp. colors (script editor)
+ added a little bit more spacing to the scripts in the script list.
the temp colors now expand to the vseperation, instead of having the same size than the stylebox
2017-06-07 02:41:08 -07:00
toger5 9774c8260f added style for panel class 2017-06-06 21:11:13 -07:00
Juan Linietsky 01198cb896 Removed stupid right arrow to edit resource. Now simply click it.. 2017-06-04 20:35:45 -03:00
Nuno Donato fa5aa11898 Added color presets for easy theme switching
Also tweaked the default colors (darker and less satured)
2017-05-26 17:16:15 +01:00
Nuno Donato 5c65547804 Improved default colors for the new theme
Colors inspired from solarized themes.
Also moved the theme settings to the Interface category.
2017-05-24 21:41:56 +01:00
Rémi Verschelde a77e53b0a5 Merge pull request #8872 from volzhs/editor-theme-lineedit
Fix disabled style of LineEdit
2017-05-23 08:42:52 +02:00
volzhs de9fb136b1 Fix disabled style of LineEdit 2017-05-23 14:36:07 +09:00
volzhs ea78bcbe60 Show disabled item with proper color on FileDialog of editor theme
Fix #8635
2017-05-22 20:07:13 +09:00
volzhs bb81293047 New customizable editor theme 2017-05-09 17:46:54 +09:00
volzhs 17e8e343fb Revert "Add new editor and default theme (WIP)"
This reverts commit f045efe007.
2017-05-03 06:19:15 +09:00
volzhs 3223305e5a Fix to use editor theme instead of handling each UI 2017-04-28 22:42:52 +09:00
volzhs be454ba2d6 Update editor theme 2017-04-28 11:01:17 +09:00
Daniel J. Ramirez f045efe007 Add new editor and default theme (WIP) 2017-04-27 08:04:57 +02:00
Rémi Verschelde df61dc4b2b Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
Rémi Verschelde 5dbf1809c6 A Whole New World (clang-format edition)
I can show you the code
Pretty, with proper whitespace
Tell me, coder, now when did
You last write readable code?

I can open your eyes
Make you see your bad indent
Force you to respect the style
The core devs agreed upon

A whole new world
A new fantastic code format
A de facto standard
With some sugar
Enforced with clang-format

A whole new world
A dazzling style we all dreamed of
And when we read it through
It's crystal clear
That now we're in a whole new world of code
2017-03-05 16:44:50 +01:00
Rémi Verschelde 49c065d29c Refactoring: rename tools/editor/ to editor/
The other subfolders of tools/ had already been moved to either
editor/, misc/ or thirdparty/, so the hiding the editor code that
deep was no longer meaningful.
2017-03-05 14:21:25 +01:00