volzhs
17e8e343fb
Revert "Add new editor and default theme (WIP)"
...
This reverts commit f045efe007
.
2017-05-03 06:19:15 +09:00
Daniel J. Ramirez
f045efe007
Add new editor and default theme (WIP)
2017-04-27 08:04:57 +02:00
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
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
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
f44ee891be
Style: Fix statements ending with ';;'
2017-01-16 08:49:52 +01: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
Juan Linietsky
04c749a1f0
New API for visibility in both CanvasItem and Spatial
...
visible (property) - access set_visible(bool) is_visible()
is_visible_in_tree() - true when visible and parents visible
show() hide() - for convenience
2017-01-13 10:45:50 -03:00
Juan Linietsky
94ee7798ce
-removed stop mouse and ignore mouse from control, which were confusing, replaced by mouse filter
2017-01-08 19:54:19 -03:00
Juan Linietsky
fa170cbc58
PopupMenu now emits both index_pressed and id_pressed instead of item_pressed, closes #3188
2017-01-08 18:18:54 -03:00
Juan Linietsky
920947f297
renamed _input_event for GUI events to _gui_input, so it's more differentiated than generalized _input
2017-01-08 16:28:12 -03:00
Juan Linietsky
99ceddd11e
Editor settings categories are now tidy and beautiful!
2017-01-05 19:41:36 -03:00
Juan Linietsky
b085c40edf
-Conversion of most properties to a simpler syntax, easier to use by script
...
-Modified help to display properties
GDScript can still not make use of them, though.
2017-01-04 01:16:14 -03:00
Juan Linietsky
118eed485e
ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant.
...
All usages of "type" to refer to classes were renamed to "class"
ClassDB has been exposed to GDScript.
OBJ_TYPE() macro is now GDCLASS()
2017-01-02 23:03:46 -03: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
volzhs
384625aa31
Emit "*_changed" signal in set_*
2016-11-14 04:21:29 +09:00
Paulb23
7b036a94bf
Caret blink will no longer cause redraw without focus, issue 6167
2016-11-06 14:15:59 +00:00
Pawel Kowal
3edc0a4832
LineEdit long indicator, fix #6624
2016-09-28 22:05:34 +02:00
Andreas Haas
9c71e5a9df
Fix ability to cut/paste text in LineEdit/TextEdit in readonly mode.
...
Fixes #6466
2016-09-19 14:17:48 +02:00
Rémi Verschelde
b48e6230f4
LineEdit: Quick fix to set_expand_to_text_length argument name
2016-09-07 08:52:42 +02:00
Juan Linietsky
405f6af79c
-Added diectly editable expressions on node to VSEditor, closes #6392
...
-Added ability for LineEdit to expand to fit text
2016-09-06 20:34:24 -03:00
Waldson Patrício
3d84973184
Fixes LineEdit text selection with mouse selecting more than intended
2016-09-02 13:04:15 -03:00
Ignacio Etcheverry
35cb8ff89e
LineEdit: Fix event handled as text when a mod key is pressed
2016-07-27 19:32:46 +02:00
Ignacio Etcheverry
71ee8eeb3f
LineEdit: Fix rtl scrolling with mouse drag selection
2016-07-15 22:57:46 +02:00
Ovnuniarchos
061cadcae5
LineEdit placeholder now accepts translated strings.
2016-07-10 00:39:17 +02:00
Rémi Verschelde
454b210242
Remove unused variables (third pass) + dead code
...
Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
2016-07-07 23:16:21 +02:00
Paulb23
050a514799
Fixed signal connection prints when moving docks, issue 5498
2016-06-30 15:12:14 +01:00
sanikoyes
c702981d57
add placeholder alpha property
2016-06-28 11:45:17 +08:00
sanikoyes
081c400ac6
Add placeholder property for line_edit
...
this useful for user input tip
2016-06-27 19:47:40 +08:00
Rémi Verschelde
06c6516604
Merge pull request #5379 from neikeq/pr-issue-5375
...
Fix weird deselection behaviour with text field
2016-06-24 21:14:47 +02:00
Ignacio Etcheverry
f1e7552722
Fix weird deselection behaviour with text field
...
- TextEdit will now deselect if Ctrl+Left/Right is pressed
- TextEdit and LineEdit no longer deselect text when Alt is pressed (except with Apple style keys)
2016-06-24 14:26:40 +02:00
Paulb23
4f54e72189
Added setting to toggle line edit caret blink
2016-06-22 13:26:44 +01:00
Paulb23
e09e036565
Line edit caret no longer draws on focus loss
2016-06-22 13:26:44 +01:00
Paulb23
e65eba664f
Added caret blink to line edit
2016-06-22 13:20:48 +01:00
Ignacio Etcheverry
4928cc34eb
LineEdit: Word jumping and OSX hotkeys
2016-06-18 20:53:46 +02:00
Ignacio Etcheverry
99612207b7
LineEdit: Fix and improve selection behaviour
2016-06-18 16:14:43 +02:00
Juan Linietsky
83bf8036de
rewrote LineEdit window repositioning code so it does not eat the last character, closes #4992
2016-06-12 12:05:21 -03:00
Juan Linietsky
8266cf46b5
Reverted a PR i don't understand how to find but fixes #5097
2016-06-09 22:05:41 -03:00
Rémi Verschelde
f1cd33b539
Merge pull request #5030 from sanikoyes/Pr-fix-label-minsize
...
fix line_edit&label get min size bug&draw problem
2016-06-04 16:08:25 +02:00
sanikoyes
5f7b42cb87
fix line_edit&label get min size bug
...
fix line_edit draw char(x ofs_max)
2016-06-04 18:10:11 +08: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
Juan Linietsky
f93aaa9b78
Default editing popup for LineEdit and TextEdit
2016-05-16 20:25:17 -03:00
Ignacio Etcheverry
fac027cb14
LineEdit/TextEdit: Add Shift+Delete shortcut for cut
2016-03-15 13:03:38 +01:00
Hubert Jarosz
4a4f247914
remove trailing whitespace
2016-03-09 00:00:52 +01:00
Juan Linietsky
dbcca7bea2
-Removed bizarre code introduced in a 2 years old PR, fixes #3483
2016-01-31 18:09:45 -03:00
Ignacio Etcheverry
ccbf8b42f4
Fix LineEdit not capturing text input events
2016-01-14 16:26:22 +01:00
Ignacio Etcheverry
6541f6418e
TextEdit/LineEdit: Handle numpad PageUp, PageDown, Home and End
2016-01-07 22:59:23 +01:00