Sergey Pusnei
8589ca3903
Rename [gs]et_pos to [gs]et_position for Controls
...
Control set_pos -> set_position
Control set_global_pos -> set_global_position
[gs]et_mouse_pos -> [gs]et_mouse_position
[gs]et_global_mouse_pos -> [gs]et_global_mouse_position
fixes #8005
2017-04-10 08:27:34 +02:00
Rémi Verschelde
df61dc4b2b
Add "Godot Engine contributors" copyright line
2017-04-08 00:11:42 +02:00
supaiku
d51fe99a8b
Fix highlight typo
2017-04-06 17:35:08 +02:00
Rémi Verschelde
4d3ed11212
Merge pull request #8248 from Hinsbart/fix_notify_renames
...
Fix more property names in _change_notify calls.
2017-04-04 00:21:12 +02:00
Andreas Haas
0a287cfe4c
Fix more property names in _change_notify calls.
2017-04-03 18:35:15 +02:00
Rémi Verschelde
1bd3648bb0
Merge pull request #8211 from robertdhernandez/NinePatch-Fix
...
[3.0] Fixed NinePatchRect/StyleBoxTexture incorrectly drawing AtlasTexture
2017-04-03 14:41:53 +02:00
Robert Hernandez
8078b5ecf6
Fixed Node2D/Control not updating properties
2017-04-01 20:13:52 -04:00
Robert Hernandez
7a428206fe
Fixed WindowDialog not aligning properly
2017-03-31 01:48:02 -04:00
Robert Hernandez
a4a12a2b7b
Fixed AtlasTexture being incorrectly
...
Fixed StyleBoxTexture and NinePatchRect drawing the entire texture of an
AtlasTexture.
2017-03-30 21:09:25 -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
3cf4103a89
Merge pull request #8023 from CrazyGuy108/master
...
List Control::has_point as a virtual method
2017-03-18 10:36:55 +01:00
Rémi Verschelde
3ceefab232
Merge pull request #8020 from karroffel/class-db-inconsistency
...
fixed ClassDB inconsistencies
2017-03-15 19:09:43 +01:00
CrazyGuy108
9589936d6e
List Control::has_point as a virtual method
...
According to Issue #8018 , a BIND_VMETHOD macro wasn't present in scene/gui/control.cpp, while it was declared to be a virtual method in scene/gui/control.h.
classes.xml was updated to also list this method in Control.
2017-03-14 19:08:13 -07:00
Karroffel
6ab3213a55
fixed ClassDB inconsistencies
...
fixes #7960
2017-03-13 21:17:31 +01:00
Andreas Haas
a2776af672
WindowDialog: Fix crash when running as ProjectManager
...
Fixes a bug introduced in #7970
2017-03-13 16:05:18 +01:00
Andreas Haas
9080232f17
Editor: Dim UI when a WindowDialog is shown.
...
Darkens the editor on WindowDialog popup.
This adds the following new Editor settings:
- interface/dim_editor_on_dialog_popup (true) # Enable/Disable editor dimming
- interface/dim_amount (0.6) # Percentage of how much the editor will be darkened (0-1)
- interface/dim_transition_time # The duration (in seconds) of the color blending effect (0-1), 0 is instant.
Please test this thoroughly, I haven't yet seen a case where it fails to work properly but I'm sure I didn't test all
windows of the editor :P
2017-03-06 20:14:41 +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
Rémi Verschelde
e1c1d7d1d7
Add a bunch of missing Godot headers in own files
2017-03-05 15:47:28 +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
Rémi Verschelde
630158c992
Merge pull request #7916 from RebelliousX/tab_container
...
TabContainer's signal changes (v3)
2017-03-05 12:03:09 +01:00
Thaer Razeq
c9bda06dfd
- tab_changed
signal emits only by selecting a different tab.
...
- Added `tab_selected` signal. Which emits a signal by selecting any tab, if current tab is selected again.
- Added `get_previous_tab()`. Which returns the previous shown tab. **Note:** only `tab_changed` can modify previous tab index.
- Add documentation for the added function and signals. Fix a typo too.
2017-03-05 02:47:09 -06:00
Rémi Verschelde
723f74c851
Merge pull request #7929 from RayKoopa/editor_resizable_dialogs
...
Resizable editor / project settings dialogs & save their bounds
2017-03-04 17:04:27 +01:00
Ray Koopa
7623fd10bf
Make Editor, Export and Project settings dialogs resizable and store their bounds
2017-03-03 18:45:53 +01:00
volzhs
66b7586fb0
Fix wrong TreeItem reference after reconstructing
2017-03-03 04:01:04 +09: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
Ray Koopa
fc9077a213
Fix several drawing and logic issues in TabContainer
2017-02-27 15:47:47 +01:00
Rémi Verschelde
3de1415b6a
Merge pull request #7653 from Dumbeldor/RichTextLabel_remove_line
...
RichTextLabel add function remove_line
2017-02-26 21:16:30 +01:00
Rémi Verschelde
4d6a3cf7fc
Merge pull request #7874 from volzhs/issue-7820-master
...
Fix crash when click icon while editing node name
2017-02-26 20:28:00 +01:00
Rémi Verschelde
caa74b70e7
Merge pull request #7831 from volzhs/tr-buttonarray-3
...
Translate ButtonArray text
2017-02-26 20:15:33 +01:00
volzhs
3ae0ffa182
Fix crash when click icon while editing node name
2017-02-23 02:20:46 +09:00
Juan Linietsky
de0045cf1b
-renamed globals.h to global_config.cpp (this seems to have caused a few modified files)
...
-.pck and .zip exporting redone, seems to be working..
2017-02-21 00:06:30 -03:00
Juan Linietsky
f6950956bd
Editor Export Settings Dialog is completed!! Now on to make some exporters..
2017-02-19 23:21:35 -03:00
volzhs
57ed6ef741
Translate ButtonArray text
2017-02-18 00:20:55 +09:00
Vincent
c20b186e73
RichTextLabel add function remove_line
2017-02-16 20:36:25 +01:00
Andreas Haas
dd4c2709e4
Spinbox: don't ignore double clicks.
...
Fixes the problem with spinboxes not updating when clicking too fast.
2017-02-14 00:57:49 +01:00
Rémi Verschelde
ea7e8c8e86
Merge pull request #7795 from hpvb/rename-md-macro
...
Rename the _MD macro to D_METHOD
2017-02-13 15:46:17 +01:00
geequlim
4ebc30e303
Fix compile error with TextureButton
...
Export TextureButton::ResizeMode as its own enum values
2017-02-13 21:17:47 +08:00
Hein-Pieter van Braam
411ee71b4d
Rename the _MD macro to D_METHOD
...
This new name also makes its purpose a little clearer
This is a step towards fixing #56
2017-02-13 12:50:02 +01:00
Hein-Pieter van Braam
0f687f0ccb
Remove use of _SCS from ADD_METHOD
...
This saves typing and is a step towards fixing #56
2017-02-13 10:37:47 +01:00
Rémi Verschelde
b2db9279fa
Merge pull request #7769 from GodotExplorer/pr-resizeable-texturebutton_3
...
Enhance TextureButton and TextureRect with resize
2017-02-12 23:22:41 +01:00
geequlim
ab375117ba
Add STRETCH_KEEP_ASPECT_COVERED to TextureRect StretchMode
...
Make TextureButton to the same resize behavior with TextureRect
2017-02-09 22:52:52 +08:00
kbake
1169f4e040
Selected text is now deselected on ctrl+home/end
...
This fixes Issue #7694 and also the error mentioned in the comments of that issue.
2017-02-03 02:01:41 -05:00
Pawel Kowal
b602096b9b
Fix #7011 ScrollContainer takes into account child's EXPAND flag when scrolling is enabled
...
(cherry picked from commit e9316a009e
)
2017-02-02 08:24:37 +01:00
Paulb23
6b42cd5fe6
Fixed line lenght guideline drawing with color option
2017-01-28 14:36:57 +00:00
Rémi Verschelde
5ec3b5f2c9
Merge pull request #7604 from RayKoopa/gui_button_style_pressed
...
Respect style boxes for Button states other than "normal"
2017-01-23 07:55:24 +01:00
Juan Linietsky
0aa7242624
WIP new AudioServer, with buses, effects, etc.
2017-01-21 19:01:00 -03:00
Ray Koopa
2baeb531e6
Respect style boxes for Button states other than "normal"
2017-01-21 23:00:59 +01:00
Ferenc Arn
6f4f9aa6de
Overloaded basic math funcs (double and float variants). Use real_t rather than float or double in generic functions (core/math) whenever possible.
...
Also inlined some more math functions.
2017-01-16 13:36:33 -06:00