summaryrefslogtreecommitdiff
path: root/scene/gui/tree.cpp
AgeCommit message (Collapse)Author
2017-04-10Rename [gs]et_pos to [gs]et_position for ControlsSergey Pusnei
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-08Add "Godot Engine contributors" copyright lineRémi Verschelde
2017-03-24Fix typos in source code using codespellRémi Verschelde
From https://github.com/lucasdemarchi/codespell
2017-03-05A Whole New World (clang-format edition)Rémi Verschelde
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-03Fix wrong TreeItem reference after reconstructingvolzhs
2017-02-26Merge pull request #7874 from volzhs/issue-7820-masterRémi Verschelde
Fix crash when click icon while editing node name
2017-02-23Fix crash when click icon while editing node namevolzhs
2017-02-21-renamed globals.h to global_config.cpp (this seems to have caused a few ↵Juan Linietsky
modified files) -.pck and .zip exporting redone, seems to be working..
2017-02-13Rename the _MD macro to D_METHODHein-Pieter van Braam
This new name also makes its purpose a little clearer This is a step towards fixing #56
2017-01-21WIP new AudioServer, with buses, effects, etc.Juan Linietsky
2017-01-16Overloaded basic math funcs (double and float variants). Use real_t rather ↵Ferenc Arn
than float or double in generic functions (core/math) whenever possible. Also inlined some more math functions.
2017-01-16Style: Fix statements ending with ';;'Rémi Verschelde
2017-01-14Style: Fix whole-line commented codeRémi Verschelde
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-13Renamed button functions to be more verboes, same with Range unit value -> ratioJuan Linietsky
2017-01-13New API for visibility in both CanvasItem and SpatialJuan Linietsky
visible (property) - access set_visible(bool) is_visible() is_visible_in_tree() - true when visible and parents visible show() hide() - for convenience
2017-01-12Renamed most signals so they refer to:Juan Linietsky
-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).
2017-01-09-All types have editable script now in propertiesJuan Linietsky
-Changed clip to a property in Control which can be set by the user
2017-01-08-removed stop mouse and ignore mouse from control, which were confusing, ↵Juan Linietsky
replaced by mouse filter
2017-01-08PopupMenu now emits both index_pressed and id_pressed instead of ↵Juan Linietsky
item_pressed, closes #3188
2017-01-08renamed _input_event for GUI events to _gui_input, so it's more ↵Juan Linietsky
differentiated than generalized _input
2017-01-05-Changed most project settings in the engine, so they have major and minor ↵Juan Linietsky
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
2017-01-04-Conversion of most properties to a simpler syntax, easier to use by scriptJuan Linietsky
-Modified help to display properties GDScript can still not make use of them, though.
2017-01-02ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky
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-02Merge pull request #7341 from bruno-ortiz/masterRémi Verschelde
Bugfixes for Tree node
2017-01-02Merge pull request #7385 from bojidar-bg/tree-range-drag-lockRémi Verschelde
Fix #7098 by not accepting right clicks while dragging the range
2017-01-02Making deselect work for TreeItem when select_mode is SELECT_SINGLE and ↵Bruno Ortiz
item_selected is now properly emitted
2017-01-02Merge pull request #7382 from volzhs/fix-visibilityRémi Verschelde
Able to change visibility when ancestor node is hidden
2017-01-01Welcome in 2017, dear changelog reader!Rémi Verschelde
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!
2016-12-28Fix #7098 by not accepting right clicks while dragging the rangeBojidar Marinov
2016-12-28Show visual notice for visibility on Scene Dockvolzhs
2016-11-13Clarify a NULL comparisoneska
'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.
2016-11-01Fix to focus or rename node by double clickvolzhs
2016-10-09Merge pull request #6553 from pkowal1982/treecheckboxRémi Verschelde
Use full width of TreeItem::Cell to change value in CELL_MODE_CHECK
2016-09-19Use full width of TreeItem::Cell to change value in CELL_MODE_CHECKPawel Kowal
2016-09-17Add scrolling to Tree control in Drag and Drop modePawel Kowal
2016-08-30More visual script improvementsJuan Linietsky
-Added anti-aliasing on lines -Improved draw performance enormously -Removed sequence ports for most nodes, current visual scripts will likely be broken now. Sorry!
2016-08-29Merge pull request #6220 from volzhs/issue-5789Rémi Verschelde
Make LineEdit not to cover whole line when rename node
2016-08-29Merge pull request #5956 from djrm/tree_behaviorRémi Verschelde
Double click on scene tree element to focus currently selected node
2016-08-28Show last added action on Input Map and implement InputEvent "=="volzhs
2016-08-27Double click on scene tree element to focus currently selected nodeDaniel J. Ramirez
In 3D it will focus in the first viewport Enable double click for trees
2016-08-23Make LineEdit not to cover whole line when rename nodevolzhs
2016-07-26Changed the way the step decimals are computed to a safer way, fixes many ↵Juan Linietsky
issues.
2016-07-16TreeItem.set_button exposed.Ovnuniarchos
2016-07-10Fix tree drawing the pressed stylebox in all buttons in the columnFranklin Sobrinho
2016-07-09Changed tree so shift-selection skips folded children, closes #5515Juan Linietsky
2016-07-07Remove unused variables (third pass) + dead codeRémi Verschelde
Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
2016-07-04Fix TreeItem range editing by dragging on the inspectorFranklin Sobrinho
2016-06-30Only emit item_selected once per Tree row, closes #5280Juan Linietsky
2016-06-15Adds the ability to draw parent-children relationship lines in scene tree editorUgisBrekis
Can be turned on/off in editor settings + line color change available as well
2016-06-11fix how some display values are shown, fixes #4953Juan Linietsky