Poommetee Ketson
49c7620326
Add object type hint for docs
2017-07-19 02:03:34 +07:00
Rémi Verschelde
9cf72d0ae1
Merge pull request #9700 from djrm/button_fixes
...
Fixed button flat behavior when not in normal state.
2017-07-18 18:14:23 +02:00
Rémi Verschelde
1bed4c6783
Merge pull request #9629 from kubecz3k/tabs-addons
...
Tabs enhancements: get_tab_rect(), move_tab()
2017-07-18 18:12:26 +02:00
Daniel J. Ramirez
337c1238b9
Fixed button flat behavior when not in normal state.
...
Also changed some buttons to flat mode
2017-07-18 11:03:06 -05:00
Jakub Grzesik
b5de36b29d
Tabs enhancements: get_tab_rect(), move_tab_from_to()
...
exposed: get_tab_rect(tab_idx)
new and exposed: move_tab_from_to(idx_from, idx_to)
2017-07-18 17:57:02 +02:00
Rémi Verschelde
0afa77a8a2
Merge pull request #9689 from djrm/theme_fixes
...
Added separators using StyleBoxLine, some theme style fixes
2017-07-18 14:06:04 +02:00
Rémi Verschelde
e21ea393ea
Merge pull request #9688 from djrm/slider_fix
...
Fixed slider centering when using SIZE_EXPAND_FILL.
2017-07-18 14:05:54 +02:00
Daniel J. Ramirez
79d85b7ff6
Fixed slider centering when using SIZE_EXPAND_FILL.
2017-07-18 01:50:01 -05:00
Daniel J. Ramirez
17c3422431
Added separators using StyleBoxLine, some theme style fixes, added variant icon
2017-07-18 01:09:19 -05:00
Rémi Verschelde
5a42bbaace
Merge pull request #9482 from Noshyaar/pr-ramp
...
Fix shrunk ColorPickers
2017-07-18 07:52:32 +02:00
Poommetee Ketson
668d00ff2d
Fix ColorPicker to use theme constants
2017-07-18 09:43:16 +07:00
Juan Linietsky
69a4ea34c4
Change label so they appear vertically alligned on fill
2017-07-17 22:47:00 -03:00
Rémi Verschelde
2b8342e308
Merge pull request #9652 from djrm/theme_fixes
...
Improvements and fixes for the default theme.
2017-07-17 22:36:00 +02:00
Poommetee Ketson
9be034a8cd
LineEdit: don't undo uneditable LineEdit
2017-07-17 20:00:01 +07:00
Rémi Verschelde
4fe63ed7a3
Merge pull request #9642 from kubecz3k/checkbox-fix
...
Fix uncheckable checkboxes in RMB menu. closes #9625
2017-07-17 12:05:29 +02:00
Daniel J. Ramirez
a3c2d9a6bd
Improvements and fixes for the default theme.
...
Added customizable border size and window highlight.
2017-07-16 13:23:59 -05:00
Juan Linietsky
2e73be99d8
Lots of work on Audio & Physics engine:
...
-Added new 3D stream player node
-Added ability for Area to capture sound from streams
-Added small features in physics to be able to properly guess distance to areas for sound
-Fixed 3D CollisionObject so shapes are added the same as in 2D, directly from children
-Fixed KinematicBody API to make it the same as 2D.
2017-07-15 08:32:34 -03:00
Jakub Grzesik
7f31cbda4f
Fix uncheckable checkboxes in RMB menu. closes #9625
2017-07-14 10:59:11 +02:00
Rémi Verschelde
0ee47fefbe
Merge pull request #9627 from Noshyaar/dialog
...
AcceptDialog: fix child w/ ANCHOR_END sized wrong until resized
2017-07-13 11:51:46 +02:00
Poommetee Ketson
b5b4abb56d
AcceptDialog: fix child w/ ANCHOR_END sized wrong until resized
2017-07-13 15:57:24 +07:00
Poommetee Ketson
e2dd495ff2
Control: save SIZE_FILL size flag property
2017-07-13 13:50:15 +07:00
Rémi Verschelde
a5bb77d523
Merge pull request #9366 from GodotExplorer/pr-ime-position-flow-cursor
...
IME window follow the input cursor.
2017-07-11 17:07:14 +02:00
ducdetronquito
074801e7a9
[ #7212 ] Fixed missing 'Variant' return values in documentation.
2017-07-11 13:25:51 +02:00
geequlim
7358766ff6
IME window follow the input cursor.
...
Abstruct set_ime_position to OS class.
Update ime position for LineEdit and TextEdit.
2017-07-11 18:36:20 +08:00
Thomas Herzog
34edac54e3
Merge pull request #9510 from kubecz3k/tab-reposition
...
ability to reposition scene tabs with drag & drop
2017-07-11 00:11:03 +02:00
Thomas Herzog
e5334fdd29
Merge pull request #9586 from Noshyaar/slider
...
Slider: add set/is_editable
2017-07-11 00:08:54 +02:00
Thomas Herzog
e2e6c2ba43
Merge pull request #9521 from AlexHolly/control-posi-to-posr
...
removed floor so that global pos works with scale in control
2017-07-11 00:00:43 +02:00
Poommetee Ketson
0c66078bcb
Slider: add set/is_editable
2017-07-11 02:48:55 +07:00
Jakub Grzesik
29c2aabdaf
ability to reposition scene tabs with drag & drop
2017-07-10 10:31:15 +02:00
Rémi Verschelde
0bf88e4b38
Merge pull request #9489 from TwistedTwigleg/Additional_functions_for_Label_and_RichTextLabel
...
Added additional functions to RichTextLabel
2017-07-08 23:53:25 +02:00
alexholly
3b5ac579a9
removed floor so that global pos works with scale
2017-07-08 21:04:04 +02:00
TwistedTwigleg
d649140b9b
Added additional functions to RichTextLabel:
...
* Added set_text function to RichTextLabel
* Added percent_visible attributes and functions to RichTextLabel
This should make switching from Label to RichTextLabel easier.
2017-07-08 14:05:18 -04:00
Juan Linietsky
7c679dd830
More fill modes for containers, closes #9504
2017-07-06 19:06:55 -03:00
Juan Linietsky
bd9d98c172
Ability to set rotation and scaling pivot for controls.
2017-07-06 17:42:44 -03:00
Juan Linietsky
fd9b4ba6e6
-Ability for controls to grow the left/top when anchored. This makes anchoring controls to the right/bottom easier when they are resized.
2017-07-06 13:30:24 -03:00
Poommetee Ketson
3aff102fc3
ItemList: expose methods, in-editor items editing support
2017-07-04 20:12:33 +07:00
Juan Linietsky
2a3e00c8c7
-Many fixes to VisualScript, fixed property names, etc.
...
-Added ability to set/get a field in GetSet, as well as assignment ops
-Added a Select node
-Fixed update bugs related to variable list and exported properties, closes #9458
2017-06-30 21:35:05 -03:00
Robert Hernandez
f0f407e76e
Texture region now updates when changing an Atlas
...
- Removed atlas_changed signal for AtlasTexture
- Changes are now handled by _notify_change
- Removed unneccesary signal connections
- Texture preview now updates in real-time
Fixed TextureRegionEditor constantly regenerating
2017-06-29 10:49:24 -04:00
Juan Linietsky
db3b05d289
Reworked translation system
...
-Label and Button reload translation on the fly
-Resources are loaded and reload depending on locale
2017-06-28 17:01:35 -03:00
toger5
b941931c95
tree fix drawing order for header +
...
- the collapse arrow gets drawn after the background so its not hidden underneath anymore
- custom_bg_color no offset anymore
2017-06-25 17:12:36 -07:00
Juan Linietsky
760cdbe1a3
-Added folding to property editor, persistent on objects it edits
...
-Some changes to tree to support this properly
2017-06-25 17:31:22 -03:00
Poommetee Ketson
e3998528e0
BuildSystem: generated files have .gen.extension
2017-06-25 07:55:01 +07:00
Rémi Verschelde
44c7210387
Merge pull request #9249 from Noshyaar/pr-colorpick
...
ColorPicker: fix DPI, hue & color update issues
2017-06-24 23:02:02 +02:00
geequlim
81afb275eb
Add statements for script types of RichTextLabel
2017-06-24 14:18:23 +08:00
Juan Linietsky
3f2cd75c6f
Fix shortcuts, make them visible again and work.
2017-06-22 19:57:59 -03:00
Juan Linietsky
f27d2a3355
-Moved NinePatch to shader, saves a ton of draw calls rendering UI
...
-Implemented missing stretch modes, now tile and tile fit work
2017-06-21 23:37:25 -03:00
Thomas Herzog
86407aebc5
Merge pull request #8407 from Jylhis/popup_item_select_hide
...
Update PopupMenu hiding
2017-06-20 00:20:21 +02:00
Poommetee Ketson
443e58e88c
ColorPicker: fix DPI, hue & color update issues
2017-06-20 04:00:05 +07:00
Mariano Suligoy
f5185e7ba6
Fix ColorPicker's screen pick functionality
2017-06-19 09:23:57 -03:00
Juan Linietsky
b19225bfce
-Fix freezes caused by etccomp2, closes #9183
...
-Normalmaps are now detected and imported as RGTC, both in S3TC and ETC2, this improves their quality.
2017-06-16 21:49:37 -03:00
Rémi Verschelde
3e7bbf2ca3
Merge pull request #9196 from volzhs/scene-tab
...
Enhance scene tabs
2017-06-16 08:14:45 +02:00
volzhs
fc2fe7ebd1
Enhance scene tabs
...
- show scene thumbnail on hover
- resize if has many tabs
- show full scene file name with current edited scene
- can be customized EditorSettings > Interface > Scene Tab
- close scene with mouse middle button
2017-06-16 13:21:05 +09:00
remorse107
61feec28cf
Color Picker Fixed Appearance
...
Corrected bug with color picker hue section and with the wrong color array being sent to the 256x256 palette selector.
Color Picker Fixed Appearance and clang Format
2017-06-15 06:32:57 -05:00
Juan Linietsky
c1df35037f
get rid of button array
2017-06-14 18:27:44 -03:00
Karroffel
23c5fa8687
renamed occurances of ColorRamp with Gradient
...
ColorRamp got renamed to Gradient recently, reduz missed some occurances though.
2017-06-14 01:24:04 +02:00
Juan Linietsky
42b2d52c88
Properly adjust the visible editor rect and make limits respected, closes #8328
2017-06-12 16:19:12 -03:00
Juan Linietsky
bcc435094d
Restired multithread support in OSX and Windows, should stop the crashes.
2017-06-10 10:15:33 -03:00
Rémi Verschelde
606b4ee9df
Merge pull request #9051 from toger5/fixedScriptEditorListSeperation
...
fixed spacing for script editor script list
2017-06-08 07:34:27 +02:00
toger5
50e5c7f980
fixed overlapping of temp. colors (script editor)
...
+ added a little bit more spacing to the scripts in the script list.
the temp colors now expand to the vseperation, instead of having the same size than the stylebox
2017-06-07 02:41:08 -07:00
Rémi Verschelde
897d6377b7
Revert "Fix text warp in color blocks with CJK"
...
This reverts commit cd778e00dc
.
That commit introduced regressions for non-CJK languages are discussed
in #8952 . Fixes #9078 .
2017-06-07 07:38:53 +02:00
Andreas Haas
9e5efa4abd
GraphNode: Remove debug print.
2017-06-06 21:19:55 +02:00
Poommetee Ketson
5fd458e03a
Fix build error
2017-06-05 21:19:54 +07:00
Rémi Verschelde
f8d7670e82
Merge pull request #9038 from AlexHolly/rect2-rename-pos
...
renamed all Rect2.pos to Rect2.position
2017-06-05 15:52:05 +02:00
Juan Linietsky
01198cb896
Removed stupid right arrow to edit resource. Now simply click it..
2017-06-04 20:35:45 -03:00
alexholly
a3c90b0293
renamed all Rect2.pos to Rect2.position
2017-06-04 02:09:17 +02:00
Andreas Haas
9bc5348961
InputEvent: Renamed "pos" property to "position"
...
Make the naming consistent with other classes.
2017-06-03 11:26:39 +02:00
Juan Linietsky
bb20f230ad
-Added .hdr format support
...
-Added default environment editor setting
-Added environment created by default in new projects
-Removed default light and ambient from spatial editor, to make the editor more PBR compliant
2017-05-28 21:48:05 -03:00
Kristupas Stumbrys
0251e9eb01
Fixing typo for rect_position in _change_notify call for Control
2017-05-28 16:38:22 +03:00
Geequlim
b93fce1c18
Fix text warp in color blocks with CJK
...
(cherry picked from commit cd778e00dc
)
2017-05-27 11:37:33 +02:00
Sean Bohan
cba62864c8
Fix item list scroll speed.
...
Remove the extra `set_val` action after the proper one, so the right scroll value won’t get overrided any more.
(cherry picked from commit 064dce7a4c
)
2017-05-27 11:37:33 +02:00
Juan Linietsky
afcce9eb12
-Fix the "set_val" call deferred, it was the only one.. closes #8742
...
-Removed redundant bind in input_event
2017-05-23 09:06:22 -03:00
Rémi Verschelde
a6122ce68b
Merge pull request #8862 from volzhs/editor-theme-margin
...
Fit grid with label and component of editor
2017-05-22 15:16:57 +02:00
volzhs
a2ad2eedbb
Fit grid with label and component of editor
2017-05-22 20:25:19 +09:00
toger5
955615a3c3
fixed crash when dragging to change color in color picker
2017-05-21 19:11:11 -07:00
Juan Linietsky
5b3709d309
Removal of InputEvent as built-in Variant type..
...
this might cause bugs I haven't found yet..
2017-05-20 17:05:38 -03:00
Rémi Verschelde
231511b2a6
Merge pull request #8631 from volzhs/editor-theme-custom
...
New customizable editor theme
2017-05-20 07:16:11 +02:00
yanorax
7b00ad22b9
Add column_title_pressed signal to Tree node
...
The Tree node column/table form is missing the ability to
capture column title clicks easily.
Adding this functionality will give us the ability to
create functions such as sort by column, which is a common
table manipulation ability in games/apps.
https://godotengine.org/qa/7699
2017-05-18 13:12:27 +10:00
Juan Linietsky
98a3296702
Removal of Image from Variant, converted to a Resource.
2017-05-17 07:37:45 -03:00
Rémi Verschelde
27dd415196
Merge pull request #8759 from AlexHoratio/master
...
Fixed #8526 , popup menu width now responds to submenu icon
2017-05-15 08:00:50 +02:00
AlexHoratio
69359f2220
Fixed #8526 , popup menu width now responds to submenu icon
2017-05-14 18:55:55 +01:00
Damian Day
f2564ca97f
Fix natural sorting order in EditorFileDialog, FileDialog and EditorFileSystemDirectory
...
Make EditorFileDialog, FileDialog and EditorFileSystemDirectory alphanumerical sorting more natural
Added a new method 'naturalnocasecmp_to' and comparator 'NaturalNoCaseComparator' to String.
Fixes #8712 .
2017-05-12 13:02:25 +01:00
volzhs
bb81293047
New customizable editor theme
2017-05-09 17:46:54 +09:00
toger5
304a1f5b5a
Implemented scrolling factor for smooth trackpad scrolling
...
Working platforms platform: OSX, Windows.
Support for almost all ui elements, including project list.
2017-05-07 14:23:56 +02:00
Andreas Haas
def41b9856
Tree: Clear search string on selection.
...
The Tree node has the ability to jump to a specific item by typing the first few chars of it's name.
But on selection ('item_activated' signal), it didn't clear the search string used for that. It was especially annoying in `FileDialog`s and has been bugging me for
ages :P
With this, you can traverse a directory structure in a FileDiag quickly with the keyboard (like you'd expect from pretty much any modern file browser) :)
2017-05-04 22:08:09 +02:00
Poommetee Ketson
e64c473bc9
LineEdit: fix placeholder text affected by secret
2017-05-03 19:23:36 +07:00
volzhs
17e8e343fb
Revert "Add new editor and default theme (WIP)"
...
This reverts commit f045efe007
.
2017-05-03 06:19:15 +09:00
Marc Gilleron
d78efddbf5
Fix #8617 WindowDialog with custom panel background crashes godot
2017-05-02 02:18:50 +02:00
Rémi Verschelde
2feb24953c
Merge pull request #8520 from Hinsbart/tree_tooltips
...
Tree: Ability to add tooltips to TreeItem buttons.
2017-04-27 08:10:11 +02:00
Daniel J. Ramirez
f045efe007
Add new editor and default theme (WIP)
2017-04-27 08:04:57 +02:00
Andreas Haas
29999942a2
Tree: Ability to add tooltips to TreeItem buttons.
...
Adds a tooltip parameter to `TreeItem::add_button()` and set a few tooltips in the Project settings and SceneTree dock.
2017-04-26 19:14:35 +02:00
Rémi Verschelde
5939a9b8e8
Merge pull request #8343 from volzhs/prevent_uncheck
...
Prevent to uncheck selected item with button group
2017-04-24 11:19:14 +02:00
Rémi Verschelde
22b9c0207b
Merge pull request #8417 from neikeq/hello-there
...
External editor improvements and fixes
2017-04-20 02:20:04 +02:00
Rémi Verschelde
c88f56be64
Merge pull request #8376 from RayKoopa/fix_stylebox_expand_margin
...
Respect the expand margin for StyleBoxTextures again.
2017-04-20 02:10:55 +02:00
Paulb23
84bca4e72f
Added support for space indentation
2017-04-18 12:30:46 +01:00
Ignacio Etcheverry
4b8568006d
External editor improvements and fixes
...
Notable changes:
- Now ScriptLanguages have the option to override the global external editor setting.
If `ScriptLanguage::open_in_external_editor()` returns `ERR_UNAVAILABLE` (which it does by default), then the global external editor option will be used.
- Added formatting to the external editor execution arguments. Now it's possible to write something like this: `{project} -g {file}:{line}:{col}`.
- `VisualScript::get_member_line()` now can return the line of functions (well, it returns the id of the _Function_ node of the function). I guess there is nothing else we can get a "line" from.
Fixes:
- Fixes a bug where `ScriptEditor::script_goto_method()` would not work if the script is not already open in the built-in editor.
- Fixes wrong DEFVAL for `cursor_set_column` and `cursor_set_line` in TextEdit.
- `Script::get_member_line()` now returns -1 ("found nothing") by default.
2017-04-17 01:51:30 +02:00
Jylhis
8ccb9d13c3
Update PopupMenu hiding
...
Make PopupMenu hiding distinguish between checkable item and non checkable
item.
2017-04-14 15:00:38 +03:00
Ray Koopa
75f684bc17
Respect the expand margin for StyleBoTextures again.
2017-04-13 10:37:22 +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
volzhs
706ca4efd6
Prevent to uncheck selected item with button group
2017-04-10 13:57:24 +09:00
Rémi Verschelde
df61dc4b2b
Add "Godot Engine contributors" copyright line
2017-04-08 00:11:42 +02:00