reduz
75688772b3
Fix editor suffixes and degrees conversion
...
* Functions to convert to/from degrees are all gone. Conversion is done by the editor.
* Use PROPERTY_HINT_ANGLE instead of PROPERTY_HINT_RANGE to edit radian angles in degrees.
* Added possibility to add suffixes to range properties, use "min,max[,step][,suffix:<something>]" example "0,100,1,suffix:m"
* In general, can add suffixes for EditorSpinSlider
Not covered by this PR, will have to be addressed by future ones:
* Ability to switch radians/degrees in the inspector for angle properties (if actually wanted).
* Animations previously made will most likely break, need to add a way to make old ones compatible.
* Only added a "px" suffix to 2D position and a "m" one to 3D position, someone needs to go through the rest of the engine and add all remaining suffixes.
* Likely also need to track down usage of EditorSpinSlider outside properties to add suffixes to it too.
2021-06-30 12:38:25 -03:00
Rémi Verschelde
90982d60cb
Merge pull request #37181 from jitspoe/master.button_icon_alignment
2021-06-29 13:31:53 +02:00
Rémi Verschelde
9c6d7f840f
Merge pull request #49970 from trollodel/graphnode_fix_port_position
...
Fix GraphNode port position when the control has the Expand flag
2021-06-29 12:41:58 +02:00
jitspoe
e192eb05db
Add alignment options to icons on buttons.
...
They can now be centered and right-aligned.
Fixes #11380 .
2021-06-29 12:31:40 +02:00
Rémi Verschelde
8fb7a9f023
Merge pull request #49719 from LightningAA/rename-node-is-ancestor-of
...
Rename `is_a_parent_of()` to `is_ancestor_of()`
2021-06-29 12:07:25 +02:00
Gilles Roudière
c5b65236d8
Fixes crash in case no column in tree is expanded and has minimum size
2021-06-29 11:27:09 +02:00
trollodel
07c3b40aa2
Fix GraphNode port position when the control has the Expand flag
2021-06-28 18:52:13 +02:00
Rémi Verschelde
89f270f4c5
Merge pull request #49917 from groud/tree_disable_scroll
...
Allow disabling scrolling in Tree and implement horizontal scrolling
2021-06-28 18:41:23 +02:00
Gilles Roudière
d7d32ced5b
Implement Tree's internal minimum width calculation
2021-06-28 15:54:31 +02:00
reduz
b1d15c51bc
Implement native extension system
...
* Deprecates GDNative in favor of a simpler, lower level interface.
* New extension system allows registering core engine classes.
* Simple header interface in gdnative_interace.h
2021-06-25 17:32:45 -03:00
Gilles Roudière
b2dddc3c82
Allow disabling scrolling in Tree
2021-06-25 21:19:46 +02:00
Rémi Verschelde
c8444c3ee0
Merge pull request #49908 from KoBeWi/ 📎 🔫
...
Remove clips_input() method and use clip_content
2021-06-25 16:53:00 +02:00
kobewi
452e10ba7b
Remove clips_input() method and use clip_content
2021-06-25 15:46:37 +02:00
Eric M
cfbdaa2eb7
Fix RichTextLabel custom_effects export to be properly filtered in the Editor
2021-06-25 22:58:46 +10:00
Rémi Verschelde
b9bf01a9b0
Merge pull request #49798 from pycbouh/tree-lines-items-draw-order
...
Make relationship lines draw on top of `TreeItem`s
2021-06-21 20:54:51 +02:00
Lightning_A
899e5f8685
Rename `is_a_parent_of()` to `is_ancestor_of()`
2021-06-21 08:39:28 -06:00
Yuri Sizov
483f8ffbe4
Make relationship lines draw on top of TreeItems
2021-06-21 16:46:43 +03:00
Haoyu Qiu
a57a51750a
Update min size on Label::set_text
2021-06-21 19:54:40 +08:00
Rémi Verschelde
9da7f06900
Merge pull request #49665 from Paulb23/code_edit_indent
...
Move indentation into CodeEdit
2021-06-21 09:13:15 +02:00
floppyhammer
b08dc1ea35
Improve nine patch behavior of TextureProgressBar
2021-06-21 10:07:49 +08:00
Paulb23
1a0cfc219b
Move indent management to CodeEdit
2021-06-20 20:00:54 +01:00
Rémi Verschelde
953de68cfc
Merge pull request #35608 from golfinq/master
2021-06-20 18:51:15 +02:00
Aaron Franke
0ce49800ac
Use mouse and joypad enums instead of plain integers
...
Also MIDIMessage
2021-06-20 11:54:24 -04:00
golfinq
0c1d10d1ca
Rich Text Label now allows for foreground colors and background colors
2021-06-20 11:29:37 -04:00
Lightning_A
e28fd07b2b
Rename `instance()`->`instantiate()` when it's a verb
2021-06-19 20:49:18 -06:00
Rémi Verschelde
60dcc4f39c
Merge pull request #49742 from Paulb23/remove_keywords_textedit
...
Remove redundant keywords from TextEdit
2021-06-20 00:39:18 +02:00
Rémi Verschelde
4effadc0ba
Merge pull request #48696 from madmiraal/fix-48692
...
Fix `InputMap.action_erase_event()` failing to erase events correctly.
2021-06-20 00:29:42 +02:00
Paulb23
ab49ea032c
Remove redundant keywords from TextEdit
2021-06-19 13:56:54 +01:00
Aaron Franke
8b692e8872
Add PROPERTY_USAGE_NONE and use it
2021-06-17 19:10:26 -04:00
Lightning_A
13ba788b63
Scrollwheel (w/o ctrl) to zoom, mouse warping when panning
...
Now uses Ctrl + Scrollwheel for vertical scrolling
Ctrl + Shift Scrollwheel for horizontal scrolling
Also converts some macros to constants
2021-06-17 08:21:32 -06:00
Rémi Verschelde
74850b3511
Merge pull request #38261 from pycbouh/adjust-graph-edit-zoom-levels
...
Make zoom limits and step adjustable in `GraphEdit`
2021-06-17 12:12:34 +02:00
Rémi Verschelde
bb4c464fec
Merge pull request #49258 from megalobyte/editor-fix
...
Fixes for documentation search
2021-06-17 02:25:41 +02:00
Rémi Verschelde
341cb8da31
Merge pull request #49238 from Paulb23/code_edit_code_folding
...
Move code folding into CodeEdit and hide line hiding API
2021-06-16 20:11:39 +02:00
Gregory Basile
8ab13f8ace
Documentation search fixes
...
Updates rich_text_label so that the built-in documentation can be searched
Previously, it would only find the first result and would not select other results
Renames "_entered" functions to "_submitted"
2021-06-16 09:43:34 -07:00
Haoyu Qiu
bf5f13e6a0
Fix typo in CodeEdit methods
2021-06-16 22:15:29 +08:00
Yuri Sizov
0a82a669e3
Make zoom limits and step adjustable in GraphEdit
2021-06-16 16:39:18 +03:00
Rémi Verschelde
1129439f09
Merge pull request #49011 from KoBeWi/totally_h
...
Fix valign with stylebox borders
2021-06-15 16:25:49 +02:00
Rémi Verschelde
e479abeb98
Merge pull request #49437 from Calinou/graphedit-allow-higher-lower-zoom-values
...
Allow higher and lower maximum zoom values in GraphEdit
2021-06-15 15:18:17 +02:00
Rémi Verschelde
7efde449b2
Merge pull request #49508 from kleonc/texture_button-updating-min_size
...
TextureButton Update min size on any texture change
2021-06-15 15:01:16 +02:00
Rémi Verschelde
5da885e1f7
Merge pull request #49582 from timothyqiu/codeedit-update-cache
...
Update cache after clearing delimiters in CodeEdit
2021-06-15 00:05:59 +02:00
Rémi Verschelde
16027e7cf4
Merge pull request #49572 from azagaya/fix_grabber_area
...
Fix vertical slider grabber_area height calculation
2021-06-14 19:22:25 +02:00
Haoyu Qiu
a1db7088ed
Update cache after clearing delimiters in CodeEdit
2021-06-14 21:23:01 +08:00
azagaya
be8667944d
Fix vertical slider grabber_area height calculation
2021-06-13 11:23:26 -03:00
Rémi Verschelde
ef7974f3d9
Merge pull request #49526 from Chaosus/fix_textureregion_errors
2021-06-13 14:44:50 +02:00
Yuri Roubinsky
19afaa0203
Fixed a bunch of connection errors in TextureEditorPlugin
2021-06-12 08:01:02 +03:00
kobewi
7ff135b015
Consistently prefix bound virtual methods with _
2021-06-12 00:55:52 +02:00
Pedro J. Estébanez
04688b92ff
Rename Reference to RefCounted
2021-06-11 18:48:42 +02:00
Rémi Verschelde
9e328bb5b7
Core: Move DirAccess and FileAccess to `core/io`
...
File handling APIs are typically considered part of I/O, and we did have most
`FileAccess` implementations in `core/io` already.
2021-06-11 14:52:39 +02:00
kleonc
6c3c269f24
TextureButton Update min size on any texture change
2021-06-11 13:39:51 +02:00
Marcel Admiraal
f38fe846f4
Move default values from definition to declaration in GraphEdit
2021-06-10 17:22:56 +01:00