summaryrefslogtreecommitdiffstats
path: root/scene/gui/tree.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* -Renamed GlobalConfig to ProjectSettings, makes more sense.Juan Linietsky2017-07-191-15/+29
| | | | -Added system for feature overrides, it's pretty cool :)
* Lots of work on Audio & Physics engine:Juan Linietsky2017-07-151-0/+8
| | | | | | | | -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.
* tree fix drawing order for header +toger52017-06-251-16/+20
| | | | | - the collapse arrow gets drawn after the background so its not hidden underneath anymore - custom_bg_color no offset anymore
* -Added folding to property editor, persistent on objects it editsJuan Linietsky2017-06-251-12/+107
| | | | -Some changes to tree to support this properly
* Fix build errorPoommetee Ketson2017-06-051-1/+1
|
* Merge pull request #9038 from AlexHolly/rect2-rename-posRémi Verschelde2017-06-051-34/+34
|\ | | | | renamed all Rect2.pos to Rect2.position
| * renamed all Rect2.pos to Rect2.positionalexholly2017-06-041-34/+34
| |
* | Removed stupid right arrow to edit resource. Now simply click it..Juan Linietsky2017-06-041-7/+67
|/
* InputEvent: Renamed "pos" property to "position"Andreas Haas2017-06-031-7/+7
| | | | Make the naming consistent with other classes.
* -Fix the "set_val" call deferred, it was the only one.. closes #8742Juan Linietsky2017-05-231-1/+1
| | | | -Removed redundant bind in input_event
* Removal of InputEvent as built-in Variant type..Juan Linietsky2017-05-201-405/+404
| | | | this might cause bugs I haven't found yet..
* Add column_title_pressed signal to Tree nodeyanorax2017-05-181-0/+21
| | | | | | | | | | | 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
* Implemented scrolling factor for smooth trackpad scrollingtoger52017-05-071-2/+2
| | | | | Working platforms platform: OSX, Windows. Support for almost all ui elements, including project list.
* Tree: Clear search string on selection.Andreas Haas2017-05-041-0/+2
| | | | | | | | 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) :)
* Tree: Ability to add tooltips to TreeItem buttons.Andreas Haas2017-04-261-2/+16
| | | | Adds a tooltip parameter to `TreeItem::add_button()` and set a few tooltips in the Project settings and SceneTree dock.
* Rename [gs]et_pos to [gs]et_position for ControlsSergey Pusnei2017-04-101-12/+12
| | | | | | | | 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
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|
* Fix typos in source code using codespellRémi Verschelde2017-03-241-1/+1
| | | | From https://github.com/lucasdemarchi/codespell
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-1466/+1247
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Fix wrong TreeItem reference after reconstructingvolzhs2017-03-031-2/+3
|
* Merge pull request #7874 from volzhs/issue-7820-masterRémi Verschelde2017-02-261-0/+1
|\ | | | | Fix crash when click icon while editing node name
| * Fix crash when click icon while editing node namevolzhs2017-02-231-0/+1
| |
* | -renamed globals.h to global_config.cpp (this seems to have caused a few ↵Juan Linietsky2017-02-211-1/+1
|/ | | | | | modified files) -.pck and .zip exporting redone, seems to be working..
* Rename the _MD macro to D_METHODHein-Pieter van Braam2017-02-131-91/+91
| | | | | | This new name also makes its purpose a little clearer This is a step towards fixing #56
* WIP new AudioServer, with buses, effects, etc.Juan Linietsky2017-01-211-3/+21
|
* Overloaded basic math funcs (double and float variants). Use real_t rather ↵Ferenc Arn2017-01-161-3/+3
| | | | | | than float or double in generic functions (core/math) whenever possible. Also inlined some more math functions.
* Style: Fix statements ending with ';;'Rémi Verschelde2017-01-161-5/+5
|
* Style: Fix whole-line commented codeRémi Verschelde2017-01-141-17/+22
| | | | | 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.
* Renamed button functions to be more verboes, same with Range unit value -> ratioJuan Linietsky2017-01-131-1/+1
|
* New API for visibility in both CanvasItem and SpatialJuan Linietsky2017-01-131-14/+14
| | | | | | visible (property) - access set_visible(bool) is_visible() is_visible_in_tree() - true when visible and parents visible show() hide() - for convenience
* Renamed most signals so they refer to:Juan Linietsky2017-01-121-1/+1
| | | | | -An action being requested to the user in present tense: (ie, draw, gui_input, etc) -A notification that an action happened, in past tense (ie, area_entered, modal_closed, etc).
* -All types have editable script now in propertiesJuan Linietsky2017-01-091-2/+2
| | | | -Changed clip to a property in Control which can be set by the user
* -removed stop mouse and ignore mouse from control, which were confusing, ↵Juan Linietsky2017-01-081-1/+1
| | | | replaced by mouse filter
* PopupMenu now emits both index_pressed and id_pressed instead of ↵Juan Linietsky2017-01-081-1/+1
| | | | item_pressed, closes #3188
* renamed _input_event for GUI events to _gui_input, so it's more ↵Juan Linietsky2017-01-081-2/+2
| | | | differentiated than generalized _input
* -Changed most project settings in the engine, so they have major and minor ↵Juan Linietsky2017-01-051-1/+1
| | | | | | | | categories. -Changed SectionedPropertyEditor to support this -Renamed Globals singleton to GlobalConfig, makes more sense. -Changed the logic behind persisten global settings, instead of the persist checkbox, a revert button is now available
* -Conversion of most properties to a simpler syntax, easier to use by scriptJuan Linietsky2017-01-041-26/+26
| | | | | | -Modified help to display properties GDScript can still not make use of them, though.
* ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky2017-01-021-91/+91
| | | | | | | | 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()
* Merge pull request #7341 from bruno-ortiz/masterRémi Verschelde2017-01-021-16/+6
|\ | | | | Bugfixes for Tree node
| * Making deselect work for TreeItem when select_mode is SELECT_SINGLE and ↵Bruno Ortiz2017-01-021-16/+6
| | | | | | | | item_selected is now properly emitted
* | Merge pull request #7385 from bojidar-bg/tree-range-drag-lockRémi Verschelde2017-01-021-0/+3
|\ \ | | | | | | Fix #7098 by not accepting right clicks while dragging the range
| * | Fix #7098 by not accepting right clicks while dragging the rangeBojidar Marinov2016-12-281-0/+3
| |/
* | Merge pull request #7382 from volzhs/fix-visibilityRémi Verschelde2017-01-021-1/+10
|\ \ | | | | | | Able to change visibility when ancestor node is hidden
| * | Show visual notice for visibility on Scene Dockvolzhs2016-12-281-1/+10
| |/
* / Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-011-1/+1
|/ | | | | | | | 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!
* Clarify a NULL comparisoneska2016-11-131-1/+1
| | | | | | | | 'TreeItem::get_children()' does not return the child count, but rather a pointer to the children. This comparison caused an error during WebAssembly builds using the LLVM backend path.
* Fix to focus or rename node by double clickvolzhs2016-11-011-30/+4
|
* Merge pull request #6553 from pkowal1982/treecheckboxRémi Verschelde2016-10-091-9/+4
|\ | | | | Use full width of TreeItem::Cell to change value in CELL_MODE_CHECK
| * Use full width of TreeItem::Cell to change value in CELL_MODE_CHECKPawel Kowal2016-09-191-9/+4
| |
* | Add scrolling to Tree control in Drag and Drop modePawel Kowal2016-09-171-0/+31
|/