Hugo Locurcio
53e94a1ce1
Optimize images losslessly using oxipng -o6 --strip all --zopfli
2018-06-28 19:17:41 +02:00
Juan Linietsky
0a1c1c660f
-Added AnimationGraphPlayer (still missing features)
...
-Added ability to edit resources from built-in inspector (wip, needs testing and feedback)
2018-06-18 22:12:08 -03:00
Pedro J. Estébanez
12a87b257f
Remove default non-zero left margin
2018-06-06 20:10:43 +02:00
Mintormo
5d28a21454
Added support Python 3 in "make_header.py" file
2018-05-27 12:51:57 +03:00
Juan Linietsky
005b69cf6e
-New inspector.
...
-Changed UI resizing code, gained huge amount of speed.
-Reorganized timer sync to clean up behavior (sorry forgot commit this before)
-
2018-05-15 17:14:31 -03:00
Ruslan Mustakov
863dd9aa46
Always emit dynamic font change in update_oversampling
...
Fixes #15787 .
The issue occurred when two (or more) separate DynamicFont instances
used the same DynamicFontAtSize instance due to having equal
properties. The first instance updated its data_at_size and emitted
"changed" signal, but the second did not because it considered the
data_at_size to be up to date, even though it has just been updated.
2018-05-08 19:01:15 +07:00
Ruslan Mustakov
5cd12f6649
Perfect FreeType-based outlines for DynamicFonts
...
- Implement outlines based on FreeType Stroker API. This allows
artifact-free results, similar to what you will see in Web or any text
editing tools. Outline is a part of DynamicFont rather than Label,
because outlines have to be baked into the font's atlas. Font has a
default outline_color and a Label can specify font_outline_modulator
that will be multiplied with the Font's color to get the final result.
- draw_char now has to be called twice to fully render a text - first
with p_outline == true for each character and then with
p_outline == false for each character.
- Number of draw-calls is reduced from 5 to 2 per outlined character.
- Overall cleanup of DynamicFont code, extracted duplicated code pieces
into separate methods.
- The change is backward-compatible - Labels still have outline
properties that work exactly as they worked before.
Closes #16279 .
2018-05-08 13:45:24 +07:00
Markus Törnqvist
1c6ea572ca
Implement font shadows for RichTextLabel
2018-04-12 15:09:48 +03:00
Pedro J. Estébanez
ab3b1d9f3e
Add radio-button-looking entries to PopupMenu
...
They work exactly the same as current checkbox-decorated items, but in order to preserve compatibility, separate methods are used, like `add_radio_check_item()`. The other option would have been to add a new parameter at the end of `add_check_item()` and the like, but that would have forced callers to provide the defaults manually.
`is_item_checkable()`, `is_item_checked()` and `set_item_checked()` are used regardless the item is set to look as check box or radio button.
Keeping check in the name adds an additional clue about these facts.
Closes #13055 .
2018-03-27 19:19:45 +02:00
Paul Joannon
842cb1ad8c
set a better initial size to TextEdit nodes
...
Address #15163
2018-01-11 12:11:44 +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
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
2afa2bc389
Fix CheckBox minimum size
2017-12-11 15:37:29 +09:00
volzhs
3c04d7798c
Fix CheckButton minimum size
2017-12-11 14:52:32 +09:00
Paulb23
48ad133cf9
Changed current line draw order and added code folding color
2017-12-07 19:17:43 +00:00
Rémi Verschelde
7b557a4e1f
Merge pull request #13409 from YeldhamDev/textedit_disabled
...
Add disabled theme to TextEdit
2017-12-06 23:42:54 +01:00
Waldson Patrício
62b0799ba0
Fix missing stylebox for LinkButton's hover states
2017-12-06 16:36:44 -03:00
Michael Alexsander Silva Dias
6b07e8c624
Fixed FileDialog's "parent folder" button not having a texture.
2017-12-02 04:30:20 -02:00
Michael Alexsander Silva Dias
2773c12156
Add disabled theme to TextEdit.
2017-12-01 01:32:26 -02:00
geequlim
f3588b6b65
Fix style error with MenuButton in default theme
2017-11-24 19:31:20 +08:00
Rémi Verschelde
15a20f9746
Remove obsolete ButtonArray theming
...
ButtonArrays have been removed in 3.0.
[ci skip]
2017-11-15 22:53:38 +01:00
Daniel J. Ramirez
9001ba26aa
Added and improved some missing icons, plus some other visual fixes.
2017-10-13 16:39:17 -05:00
hickop
57d8ff636c
Added grabber_area to default_theme sliders. Fixes #11261
2017-10-11 16:33:17 +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
Gilles Roudiere
b5f29fe073
Add some options and reorganize the 2D editor menus. Makes available forced snapping.
2017-09-18 23:20:18 +02:00
toger5
1c07d0e9aa
rtl uses styleBoxEmpty as defualt
2017-09-06 16:29:22 +02:00
Rémi Verschelde
fb263b73aa
Merge pull request #10901 from toger5/script_background_cleanup
...
StyleBoxSupport for RichTextLabel and cleanup for script+docs backgrounds fixes #10685
2017-09-04 08:05:17 +02: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
Poommetee Ketson
ed606ded52
Fix files header
2017-09-01 21:07:55 +07:00
toger5
afc66f2f90
changed-"HSlider" -> "VSlider" for focus style fixes #728
2017-08-31 18:02:38 +02:00
Rémi Verschelde
b7f4dcbdd1
Merge pull request #10096 from toger5/label_stylebox
...
fixed Import LineEdit to label + label stylebox
2017-08-31 13:58:52 +02:00
Rémi Verschelde
bd282ff43f
Use HTTPS URL for Godot's website in the headers
2017-08-27 14:16:55 +02:00
toger5
9fdc4874b2
fixed Import LineEdit to label + label stylebox
...
- added a normal stylebox to label. default is StyleBoxEmpty
- changed drawing so that it draws correct with styleboxes with margins
- changed the LineEdit in the import to use a label with the lineEdit
stylebox
2017-08-17 00:15:11 +02:00
TwistedTwigleg
00f6c85928
Synchronize parameter names in definition and declaration
...
Fixes #10244 .
2017-08-16 17:22:23 +02:00
kbake
a72d17cf11
Scroll bars now look different on press
2017-08-12 17:46:26 -04:00
Poommetee Ketson
668d00ff2d
Fix ColorPicker to use theme constants
2017-07-18 09:43:16 +07:00
Poommetee Ketson
0c66078bcb
Slider: add set/is_editable
2017-07-11 02:48:55 +07:00
Rémi Verschelde
f8d7670e82
Merge pull request #9038 from AlexHolly/rect2-rename-pos
...
renamed all Rect2.pos to Rect2.position
2017-06-05 15:52:05 +02:00
Juan Linietsky
01198cb896
Removed stupid right arrow to edit resource. Now simply click it..
2017-06-04 20:35:45 -03:00
alexholly
a3c90b0293
renamed all Rect2.pos to Rect2.position
2017-06-04 02:09:17 +02:00
Rémi Verschelde
231511b2a6
Merge pull request #8631 from volzhs/editor-theme-custom
...
New customizable editor theme
2017-05-20 07:16:11 +02:00
Juan Linietsky
98a3296702
Removal of Image from Variant, converted to a Resource.
2017-05-17 07:37:45 -03: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
Rémi Verschelde
5f15f03d38
Fix theme_data.h formatting via make_header.py
...
Should make clang-format happy.
2017-04-27 08:58:11 +02:00
Daniel J. Ramirez
f045efe007
Add new editor and default theme (WIP)
2017-04-27 08:04:57 +02:00
Rémi Verschelde
c88f56be64
Merge pull request #8376 from RayKoopa/fix_stylebox_expand_margin
...
Respect the expand margin for StyleBoxTextures again.
2017-04-20 02:10:55 +02:00
Ray Koopa
75f684bc17
Respect the expand margin for StyleBoTextures again.
2017-04-13 10:37:22 +02:00
volzhs
25a4daa5ce
Fix editor style box for ToolButton
2017-04-12 12:40:16 +09:00
Rémi Verschelde
df61dc4b2b
Add "Godot Engine contributors" copyright line
2017-04-08 00:11:42 +02:00
Juan Linietsky
74808ac4d9
New particle system, mostly working, some small features missing.
2017-04-06 23:49:27 -03:00
Robert Hernandez
7a428206fe
Fixed WindowDialog not aligning properly
2017-03-31 01:48:02 -04:00
Rémi Verschelde
debeee56f7
Fix typos in source code using codespell
...
From https://github.com/lucasdemarchi/codespell
2017-03-24 21:45:31 +01: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
Ray Koopa
e07aa5deb8
Added functionality for resizable dialogs.
2017-03-01 23:40:10 +01:00
Thaer Razeq
f50488a361
Various fixes detected using PVS-Studio static analyzer.
...
- Add FIXME tags comments to some unfixed potential bugs
- Remove some checks (always false: unsigned never < 0)
- Fix some if statements based on reviews.
- Bunch of missing `else` statements
2017-02-28 07:52:02 -06:00
Ray Koopa
5cf063ca9d
Add disabled tabs
2017-02-27 19:07:50 +01:00
Juan Linietsky
0aa7242624
WIP new AudioServer, with buses, effects, etc.
2017-01-21 19:01:00 -03:00
Rémi Verschelde
93ab45b6b5
Style: Fix whole-line commented code
...
They do not play well with clang-format which aligns the `//` part
with the rest of the code block, thus producing badly indented commented code.
2017-01-14 14:52:23 +01:00
Rémi Verschelde
7b9f2d9929
Finish renaming *Frame GUI classes to *Rect
...
ReferenceFrame had been overlooked, and the cpp files still used the old
names. Also ripgrep'ed it all to find some forgotten references.
2017-01-14 10:52:54 +01:00
Juan Linietsky
d8e54b1e26
Merge pull request #7431 from MarianoGnu/gles3
...
Fix Color Picker
2017-01-04 20:28:28 -03:00
Rémi Verschelde
3f3f5a5359
Merge remote-tracking branch 'origin/gles3' into gles3-on-master
...
Various merge conflicts have been fixed manually and some mistakes
might have been made - time will tell :)
2017-01-02 21:52:26 +01:00
Rémi Verschelde
c7bc44d5ad
Welcome in 2017, dear changelog reader!
...
That year should bring the long-awaited OpenGL ES 3.0 compatible renderer
with state-of-the-art rendering techniques tuned to work as low as middle
end handheld devices - without compromising with the possibilities given
for higher end desktop games of course. Great times ahead for the Godot
community and the gamers that will play our games!
2017-01-01 22:03:33 +01:00
Zher Huei Lee
191fdc873e
Reused Button styleboxes for ButtonArray
...
Plus other tweaks to make it look more similar to a VBoxContainer of
Buttons.
2016-11-19 22:07:12 +08:00
Paulb23
0e2c15e91a
Made background and symbol color follow the color API
2016-11-06 13:50:23 +00:00
Rémi Verschelde
f34151ff0f
style: Various other PEP8 fixes in Python files
...
Done with `autopep8 --select=E7`, fixes:
- E701 - Put colon-separated compound statement on separate lines.
- E702 - Put semicolon-separated compound statement on separate lines.
- E703 - Put semicolon-separated compound statement on separate lines.
- E711 - Fix comparison with None.
- E712 - Fix (trivial case of) comparison with boolean.
- E713 - Fix (trivial case of) non-membership check.
- E721 - Fix various deprecated code (via lib2to3).
2016-11-01 00:35:16 +01:00
Rémi Verschelde
817dd7ccbb
style: Fix PEP8 blank lines issues in Python files
...
Done with `autopep8 --select=E3,W3`, fixes:
- E301 - Add missing blank line.
- E302 - Add missing 2 blank lines.
- E303 - Remove extra blank lines.
- E304 - Remove blank line following function decorator.
- E309 - Add missing blank line.
- W391 - Remove trailing blank lines.
2016-11-01 00:35:16 +01:00
Rémi Verschelde
d4c17700aa
style: Fix PEP8 whitespace issues in Python files
...
Done with `autopep8 --select=E2,W2`, fixes:
- E201 - Remove extraneous whitespace.
- E202 - Remove extraneous whitespace.
- E203 - Remove extraneous whitespace.
- E211 - Remove extraneous whitespace.
- E221 - Fix extraneous whitespace around keywords.
- E222 - Fix extraneous whitespace around keywords.
- E223 - Fix extraneous whitespace around keywords.
- E224 - Remove extraneous whitespace around operator.
- E225 - Fix missing whitespace around operator.
- E226 - Fix missing whitespace around operator.
- E227 - Fix missing whitespace around operator.
- E228 - Fix missing whitespace around operator.
- E231 - Add missing whitespace.
- E231 - Fix various deprecated code (via lib2to3).
- E241 - Fix extraneous whitespace around keywords.
- E242 - Remove extraneous whitespace around operator.
- E251 - Remove whitespace around parameter '=' sign.
- E261 - Fix spacing after comment hash.
- E262 - Fix spacing after comment hash.
- E265 - Format block comments.
- E271 - Fix extraneous whitespace around keywords.
- E272 - Fix extraneous whitespace around keywords.
- E273 - Fix extraneous whitespace around keywords.
- E274 - Fix extraneous whitespace around keywords.
- W291 - Remove trailing whitespace.
- W293 - Remove trailing whitespace.
2016-11-01 00:35:16 +01:00
Rémi Verschelde
97c8508f5e
style: Start applying PEP8 to Python files, indentation issues
...
Done with `autopep8 --select=E1`, fixes:
- E101 - Reindent all lines.
- E112 - Fix under-indented comments.
- E113 - Fix over-indented comments.
- E115 - Fix under-indented comments.
- E116 - Fix over-indented comments.
- E121 - Fix a badly indented line.
- E122 - Fix a badly indented line.
- E123 - Fix a badly indented line.
- E124 - Fix a badly indented line.
- E125 - Fix indentation undistinguish from the next logical line.
- E126 - Fix a badly indented line.
- E127 - Fix a badly indented line.
- E128 - Fix a badly indented line.
- E129 - Fix a badly indented line.
2016-11-01 00:33:51 +01:00
Mariano Suligoy
6d38f79dc5
Fix Color Picker
...
Replace shaders with procedurally generated controls
2016-10-19 19:43:49 -03:00
Rémi Verschelde
fc8ccd5b8c
SCsub: Add python shebang as a hint for syntax highlighting
...
Also switch existing shebangs to "better" /usr/bin/env python.
2016-10-17 20:10:46 +02:00
Pawel Kowal
d3a8087659
Fix #5959 , contrasting texture for toggled button
2016-10-10 13:54:48 +02:00
Juan Linietsky
22d83bc9f6
Begining of GLES3 renderer:
...
-Most 2D drawing is implemented
-Missing shaders
-Missing all 3D
-Editor needs to be set on update always to be used, otherwise it does not refresh
-Large parts of editor not working
2016-10-03 21:35:16 +02:00
Pawel Kowal
9e5aaa27bc
Add scrolling to Tree control in Drag and Drop mode
2016-09-17 21:29:55 +02:00
Juan Linietsky
8bcb6a290c
-Added VeryLowDPI and MidDPI modes to Godot editor.
...
-Improved HiDPI detection (requires resolution of > 2000 in X axis)
2016-09-13 11:05:47 -03:00
Juan Linietsky
b780679302
-Added focus to comment node
...
-Make comment node not grab focus on main area
2016-09-02 12:03:49 -03:00
Juan Linietsky
9c6175db11
More visual script work
...
-Block switches to 2d/3d editor if editing visual script
-Added cast node in flow control
-Added ability to do RPC in visual script
-Comment nodes
-Fix bug with inverted cable in connecting backwards
-Copy and paste nodes, including from different scripts
2016-08-25 17:45:20 -03:00
Juan Linietsky
231c72b5eb
prettier connections for graph edit
2016-08-23 10:15:47 -03:00
Daniel J. Ramirez
287b6d0e04
Some new icons for visual script and graphs
2016-08-08 17:23:31 -05:00
Juan Linietsky
9890c1d2ca
Likely with bugs and with some features are missing, as well as profiler support, but VisualScript should be more or less done!
2016-08-06 19:00:54 -03:00
Juan Linietsky
6ed5d48d0c
Concluded base visual scripting! can edit but not run though.
2016-08-04 00:05:35 -03:00
Juan Linietsky
ad313097eb
WIP visual scripting, not working yet but you can check out stuff
2016-08-02 19:11:05 -03:00
Juan Linietsky
7a4d67ae71
Property convert images to RGBA before applying hq2x, fixes #5168
2016-07-18 18:30:30 -03:00
Paulb23
54f720ac06
Added block caret to TextEdit
2016-07-12 16:07:17 +01:00
Paulb23
12e3bb1f01
Removed duplicate color
2016-07-11 15:40:04 +01:00
Paulb23
cc133c9289
Expose colors to theme
2016-07-11 14:57:32 +01:00
Rémi Verschelde
e4c5a16a2c
Merge pull request #5397 from djrm/gizmos_fix
...
Added high resolution icons for the Gizmos
2016-06-25 10:28:58 +02:00
Daniel J. Ramirez
b8190fbef6
Added high resolution icons for the Gizmos, fixes #1638
2016-06-24 22:42:42 -05:00
Rémi Verschelde
001294ed35
Merge pull request #5386 from Paulb23/code_completion_color_theme
...
Exposed code completion colors to the text edit theme
2016-06-24 21:19:30 +02:00
Paulb23
b643d9af6f
Exposed code completion colors to the text edit theme
2016-06-24 16:33:29 +01:00
J08nY
0ab05b09e4
Fixed iCCp chunk in pngs
...
neccesary for libpng 1.6.27 to work silently
2016-06-22 21:13:29 +02:00
Paulb23
45f0dec55c
Added code completion existing color setting
2016-06-21 17:34:38 +01:00
Paulb23
706895a922
Added code completion selected color setting
2016-06-21 17:21:55 +01:00
Rémi Verschelde
a7fc04626a
Add missing license headers in our source files ( #5255 )
...
Also removes a couple wrong Godot headers from third-party source files.
2016-06-18 14:46:12 +02:00
Juan Linietsky
9f2f8c9130
fixes compilation error on visual studio, closes #5249
2016-06-17 10:34:44 -03:00
Juan Linietsky
f0d9245ecf
-added missing .inc files
...
-Made it possible to change the editor theme
-Added two options to theme editor plugin to create empty template themes and editor themes
-Make sure that saved themes to .tres keep the null theme fields, to make it easier to keep those when saving/loading the theme
2016-06-17 01:13:23 -03:00
Juan Linietsky
816b3fa94d
It is now possible to set a default custom theme, whether you want a hidpi default theme, or just use a custom font for the default theme
2016-06-16 20:05:22 -03:00
UgisBrekis
d97e46ffb6
Adds the ability to draw parent-children relationship lines in scene tree editor
...
Can be turned on/off in editor settings + line color change available as
well
2016-06-15 18:10:19 +01:00
Daniel J. Ramirez
131cd1399c
Added some theme icons and its sources
2016-06-14 21:40:24 -05:00