Commit Graph

209 Commits

Author SHA1 Message Date
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
Ignacio Etcheverry a825cfd932 TextEdit/LineEdit: Handle numpad arrows if NumLock is disabled 2016-01-07 21:51:47 +01:00
George Marques 5be9ff7b67 Update copyright to 2016 in headers 2016-01-01 11:50:53 -02:00
neikeq f499fb6fcf Fix LineEdit cursor 2015-12-07 20:31:21 +01:00
Juan Linietsky b0d3c27d31 Merge pull request #2725 from SaracenOne/line_edit_alignment
nice!
2015-11-18 19:01:04 -03:00
MarianoGNU 7828986b1c Add <Select All>(Ctrl+A) shortcut to LineEdit. 2015-11-06 19:02:57 -03:00
Saracen e3c50ac63d Aligned line edit fix. 2015-11-02 17:37:49 +00:00
Saracen 0006f035eb Added alignment to LineEdit GUI control. 2015-11-02 17:37:47 +00:00
Juan Linietsky ab22203791 misc cleanup 2015-10-17 10:29:54 -03:00
ehriche 897a1aade5 optional formal changes 2015-05-06 01:22:31 +02:00
Juan Linietsky fdaa2920eb Updated copyright year in all headers 2015-04-18 14:38:54 -03:00
Juan Linietsky 0dbedd18fc SceneMainLoop -> SceneTree
-=-=-=-=-=-=-=-=-=-=-=-=-=-

*YOUR SOURCE MIGHT NOT WORK*
For mor information on fix:
https://github.com/okamstudio/godot/wiki/devel_scene_tree

Other stuff:
-Shower of bullets demo
-Fixes all around
2014-11-05 21:20:42 -03:00
Juan Linietsky 11a5ed508b Fixed too many little issues, check the issues closed today. 2014-09-21 01:43:42 -03:00
marynate 8090a4ebb1 Fix LineEdit selected text drag and drop behavior: move instead of duplicate selected text; maintain selection after drag and drop. 2014-05-11 12:16:08 +08:00
sanikoyes 51429bd8d6 fix android can't input unicode characters
fix hide soft keyboard by press 'back' button,
 then click current focus text edit/line edit control,
 soft keyboard won't show again

add features:
  press enter key with line edit control will hide soft keyboard
2014-03-13 16:58:03 +08:00
reduz b657d2df90 Merge pull request #151 from marynate/PR-fix-line-edit-bind-select
Fix LineEdit select method binding
2014-02-28 14:50:50 -02:00
marynate 8fb19e5843 Auto select custom property value field when pop up, user can start typing to change value right away. 2014-02-27 22:19:30 +08:00
marynate 3985660ca4 Fix LineEdit select method binding 2014-02-27 22:17:40 +08:00
Juan Linietsky 0b806ee0fc GODOT IS OPEN SOURCE 2014-02-09 22:10:30 -03:00