aboutsummaryrefslogtreecommitdiff
path: root/scene/gui/tree.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-1447/+1228
| | | | | | | | | | | | | | | | | | | | | | | | 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
|/
* More visual script improvementsJuan Linietsky2016-08-301-1/+27
| | | | | | -Added anti-aliasing on lines -Improved draw performance enormously -Removed sequence ports for most nodes, current visual scripts will likely be broken now. Sorry!
* Merge pull request #6220 from volzhs/issue-5789Rémi Verschelde2016-08-291-12/+13
|\ | | | | Make LineEdit not to cover whole line when rename node
| * Make LineEdit not to cover whole line when rename nodevolzhs2016-08-231-12/+13
| |
* | Merge pull request #5956 from djrm/tree_behaviorRémi Verschelde2016-08-291-3/+35
|\ \ | | | | | | Double click on scene tree element to focus currently selected node
| * | Double click on scene tree element to focus currently selected nodeDaniel J. Ramirez2016-08-271-3/+35
| |/ | | | | | | | | In 3D it will focus in the first viewport Enable double click for trees
* / Show last added action on Input Map and implement InputEvent "=="volzhs2016-08-281-1/+1
|/
* Changed the way the step decimals are computed to a safer way, fixes many ↵Juan Linietsky2016-07-261-4/+4
| | | | issues.
* TreeItem.set_button exposed.Ovnuniarchos2016-07-161-0/+1
|
* Fix tree drawing the pressed stylebox in all buttons in the columnFranklin Sobrinho2016-07-101-1/+1
|
* Changed tree so shift-selection skips folded children, closes #5515Juan Linietsky2016-07-091-4/+4
|
* Remove unused variables (third pass) + dead codeRémi Verschelde2016-07-071-15/+0
| | | | Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
* Fix TreeItem range editing by dragging on the inspectorFranklin Sobrinho2016-07-041-1/+1
|