Avril
958dbc1173
fixes #6464 lost icons in dock and file dialog, also #6443 , #6302
...
Fixes lost icons in docks, file manager, sample library, settings and
various other places.
2016-11-18 06:13:36 +01:00
Andreas Haas
8dd026e4f9
Prevent crash on focus change when no valid next control has been found.
...
Fixes the crash discussed in #6714 .
2016-10-05 08:56:58 +02:00
Juan Linietsky
b874cede20
Add argument options for the theme override functions in Control
2016-09-11 11:48:31 -03:00
Juan Linietsky
95eb7466df
-Added a ColorFrame control, kind of like Texture but for color.
...
-Added dropping nodes to text editor for them to become a path
-Fixed issues with font not properly being set in code editor
2016-09-11 11:28:01 -03:00
Juan Linietsky
1bf684cea2
-Cleaned up find/replace bar for replace (made selection only default if selection exists), also made buttons look like buttons
...
-Fixed a bug related to theme propagation, may be able to solve #6443 , #6302 and others. Please test.
2016-09-11 10:05:46 -03:00
Juan Linietsky
fb4d6d1db0
More visual script improvements
...
-Added anti-aliasing on lines
-Improved draw performance enormously
-Removed sequence ports for most nodes, current visual scripts will likely be broken now. Sorry!
2016-08-30 23:46:41 -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
259418f827
VisualScript can now execute visual scripts, but there is no debugger or profiler yet.
2016-08-05 22:48:00 -03:00
Johan Manuel
fc4ace3120
Fix the rotation not updating in the inspector with Controls
2016-07-21 00:26:36 +02:00
Juan Linietsky
f10bd217a2
properly fixed notificaitons for theme changed, closes #5774
2016-07-18 16:41:59 -03:00
Juan Linietsky
88e28af5e3
Add a small workaround to avoid modal tabs to be closed if they are spawned in the same frame, closes #3837
2016-06-27 11:22:13 -03:00
Juan Linietsky
e2d208f122
Ability to rotate controls using tool, closes #3800
2016-06-27 10:47:51 -03:00
Juan Linietsky
a8f8f52b19
Fix issue saving flags (size fill expand), fixes #4176
2016-06-23 17:03:34 -03:00
Juan Linietsky
6a68ce9c93
Fix bug in GridContainer not updating minimumsize when columns changes, fixes #4677
2016-06-17 16:40:40 -03:00
Juan Linietsky
55b83157e7
Keep track of when fonts change, so theme or controls that use fonts as overrides get properly updated.
...
closes #4622 , probably closes many other issues too
2016-06-17 16:01:30 -03:00
Juan Linietsky
944c7e2603
fix crash when clearing dynamicfontdata, closes #4877
2016-06-13 22:24:11 -03:00
Juan Linietsky
4866713bc3
added a function CanvasItem.get_item_and_children_rect() , fixes #4738
2016-06-13 21:37:04 -03:00
Juan Linietsky
26d63b5594
propagate theme changes properly even through 2D nodes, fixes #4754
2016-06-13 21:11:24 -03:00
Juan Linietsky
c1056a9bfb
Fixed ancient bug that prevented proper theme editing, closes #4924
2016-06-12 15:31:38 -03:00
Juan Linietsky
736b65e566
Merge pull request #4977 from SaracenOne/scripting_expose
...
Expose extra methods and constants to scripts
2016-06-06 20:27:40 -03:00
Saracen
b160a26abd
Expose control theme element and override detection methods to scripting side.
2016-06-04 16:42:07 +01:00
Rémi Verschelde
cbba9c4506
Merge pull request #4300 from leezh/control_focus_mode
...
Exposed Control::focus_mode to the scene editor
2016-06-04 14:41:36 +02:00
Juan Linietsky
df139f57b3
Some cleanup to GDScript
...
separated GDFunction (VM) from GDScript in two different files
2016-05-31 22:33:43 -03:00
Zher Huei Lee
0ccf153a15
GUI Focus mode improvements
...
Exposed `get_focus_mode()` to the script
Added `focus_mode` to the property panels for line-edit and sliders
Added `enabled_focus_mode` to the property panels for buttons
enabled_focus_mode is used when button is enabled/disabled
2016-05-23 15:08:50 +01:00
Rémi Verschelde
7b471068cf
Merge pull request #4612 from bojidar-bg/fix-anchor-builds
...
Fix #4588 (crash in Control::_set_anchor)
2016-05-11 17:46:29 +02:00
Bojidar Marinov
0b572b35c2
Fix #4588 (crash Control::_set_anchor)
...
Thanks to @vnen for testing this
2016-05-10 20:23:58 +03:00
Rémi Verschelde
bc31be9812
Sync classes.xml with current sources
...
Also fix a typo in the binding of Control::set_drag_forwarding.
2016-05-09 22:20:35 +02:00
Rémi Verschelde
4eab767a6f
Rotation APIs: Better exposure for degrees methods
...
Made public the various set/getters for rotations in degrees.
For consistency, renamed the exposed method names to remove the leading
underscore, and kept the old names with a deprecation warning.
Fixes #4511 .
2016-05-06 23:38:08 +02:00
Juan Linietsky
c7e8def446
Add ability to send drag events to another object
...
will be documented/tested later
2016-05-03 11:10:28 -03:00
Aren Villanueva
d75856146c
Adds a remove class item option in the theme editor.
...
I've also added a get_stylebox_types helper function to the theme class in order to figure out exactly what types are available to a theme.
2016-04-21 11:58:53 +10:00
sanikoyes
5ec7d3f264
Fix warn print when hide an control does not inside_tree
2016-04-07 15:46:38 +08:00
Rémi Verschelde
15d1fca061
Merge pull request #4102 from SaracenOne/dynamic_margin_properties
...
Dynamic property list for control margins
2016-03-23 09:36:18 +01:00
sanikoyes
0c6f089ce4
Fix GDScript crash when call show/hide in func _exit_tree
2016-03-22 12:46:33 +08:00
Saracen
d8392dd117
Dynamic property list for control margins allowing floating point properties to be used with ratio anchors.
2016-03-20 05:59:18 +00:00
Bojidar Marinov
bac875be66
Fix a crash when running a game with Controls with a tools build
...
Regression from #3997
TOOLS_ENABLED is defined, even when running from editor, but EDITOR_DEF SEGFAULTs
2016-03-10 21:01:49 +02:00
Bojidar Marinov
0e8a8d2cb1
Add option to keep margins when changing anchors, closes #3979
...
Amend: Fixed an issue for non-tool builds
Amend2: Same, just fixed doing nothing at some times
2016-03-09 21:14:17 +02:00
Hubert Jarosz
4a4f247914
remove trailing whitespace
2016-03-09 00:00:52 +01:00
Juan Linietsky
9109e41a20
Property handle rotated controls in 2D editor, fixes #3613
2016-02-08 11:29:32 -03:00
Juan Linietsky
b587614653
Make sure variant parser recognizes "nil" for compatibility with old engine.cfg style cofig. Closes #3531
2016-02-01 19:01:06 -03:00
Juan Linietsky
35a28f3442
-Take in consideration canvas layers for GUI input
2016-01-24 10:57:42 -03:00
Juan Linietsky
5a1593951b
-Added a "modal_close" signal for controls
...
-Used it to keep changes on lineedit when focused out
2016-01-23 11:45:36 -03:00
Juan Linietsky
891e31b139
-Some fixes to drag and drop and canvas offset for GUI that were introduced after rewrite
2016-01-19 20:28:20 -03:00
Rémi Verschelde
c0b9634235
Merge pull request #2854 from MarianoGnu/color_picker
...
new ColorPicker
2016-01-18 13:52:51 +01:00
Juan Linietsky
74a48a0140
-Massive editor dialog cleanup
...
-Added a bottom menu list
2016-01-17 20:03:57 -03:00
Juan Linietsky
72fcb8a35b
-Moved all the "root" input handling for GUI from individual Controls to Viewport.
...
-Should fix several reported bugs when controls don't have a common parent
This may have added new bugs, so please report if so!
2016-01-16 22:41:10 -03:00
MarianoGNU
1f3d6824c8
Move shaders to default theme and add shader_override related methods to Control class
2016-01-15 17:23:19 -03:00
Juan Linietsky
3a3ce982b0
removed this fix, which brought more problems than solutions
2016-01-10 00:26:35 -03:00
Rémi Verschelde
a0c39a4b33
Merge pull request #3191 from neikeq/filedialog_hotkeys
...
Add keyboard shortcut to toggle "show hidden files" in FileDialog
2016-01-07 07:50:26 +01:00
Ignacio Etcheverry
3ca800226e
FileDialog: keyboard shortcut to toggle "show hidden files"
2016-01-02 12:58:38 +01:00
George Marques
5be9ff7b67
Update copyright to 2016 in headers
2016-01-01 11:50:53 -02:00