summaryrefslogtreecommitdiff
path: root/scene/gui/control.cpp
AgeCommit message (Collapse)Author
2017-03-13fixed ClassDB inconsistenciesKarroffel
fixes #7960
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-05Refactoring: rename tools/editor/ to editor/Rémi Verschelde
The other subfolders of tools/ had already been moved to either editor/, misc/ or thirdparty/, so the hiding the editor code that deep was no longer meaningful.
2017-02-28 Various fixes detected using PVS-Studio static analyzer.Thaer Razeq
- Add FIXME tags comments to some unfixed potential bugs - Remove some checks (always false: unsigned never < 0) - Fix some if statements based on reviews. - Bunch of missing `else` statements
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-02-13Remove use of _SCS from ADD_METHODHein-Pieter van Braam
This saves typing and is a step towards fixing #56
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-13Created new Engine singleton, and moved engine related OS functions to it.Juan 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-11Proper inheritance checking when requesting theem resourcesJuan Linietsky
2017-01-11Type renames:Juan Linietsky
Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
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-08Removed ratio anchoring (will have to fix multiple 3D views later..)Juan Linietsky
2017-01-08Swapped expand and fill flag bits, so scenes don't save this property by defaultJuan Linietsky
2017-01-08renamed _input_event for GUI events to _gui_input, so it's more ↵Juan Linietsky
differentiated than generalized _input
2017-01-05Editor settings categories are now tidy and beautiful!Juan Linietsky
2017-01-03Begin modifying properties to make them more friendly to script and doc.Juan Linietsky
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-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-11-18fixes #6464 lost icons in dock and file dialog, also #6443 , #6302Avril
Fixes lost icons in docks, file manager, sample library, settings and various other places.
2016-10-05Prevent crash on focus change when no valid next control has been found.Andreas Haas
Fixes the crash discussed in #6714.
2016-09-11Add argument options for the theme override functions in ControlJuan Linietsky
2016-09-11-Added a ColorFrame control, kind of like Texture but for color.Juan Linietsky
-Added dropping nodes to text editor for them to become a path -Fixed issues with font not properly being set in code editor
2016-09-11-Cleaned up find/replace bar for replace (made selection only default if ↵Juan Linietsky
selection exists), also made buttons look like buttons -Fixed a bug related to theme propagation, may be able to solve #6443, #6302 and others. Please test.
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-25More visual script workJuan Linietsky
-Block switches to 2d/3d editor if editing visual script -Added cast node in flow control -Added ability to do RPC in visual script -Comment nodes -Fix bug with inverted cable in connecting backwards -Copy and paste nodes, including from different scripts
2016-08-05VisualScript can now execute visual scripts, but there is no debugger or ↵Juan Linietsky
profiler yet.
2016-07-21Fix the rotation not updating in the inspector with ControlsJohan Manuel
2016-07-18properly fixed notificaitons for theme changed, closes #5774Juan Linietsky
2016-06-27Add a small workaround to avoid modal tabs to be closed if they are spawned ↵Juan Linietsky
in the same frame, closes #3837
2016-06-27Ability to rotate controls using tool, closes #3800Juan Linietsky
2016-06-23Fix issue saving flags (size fill expand), fixes #4176Juan Linietsky
2016-06-17Fix bug in GridContainer not updating minimumsize when columns changes, ↵Juan Linietsky
fixes #4677
2016-06-17Keep track of when fonts change, so theme or controls that use fonts as ↵Juan Linietsky
overrides get properly updated. closes #4622 , probably closes many other issues too
2016-06-13fix crash when clearing dynamicfontdata, closes #4877Juan Linietsky
2016-06-13added a function CanvasItem.get_item_and_children_rect() , fixes #4738Juan Linietsky
2016-06-13propagate theme changes properly even through 2D nodes, fixes #4754Juan Linietsky
2016-06-12Fixed ancient bug that prevented proper theme editing, closes #4924Juan Linietsky
2016-06-06Merge pull request #4977 from SaracenOne/scripting_exposeJuan Linietsky
Expose extra methods and constants to scripts
2016-06-04Expose control theme element and override detection methods to scripting side.Saracen
2016-06-04Merge pull request #4300 from leezh/control_focus_modeRémi Verschelde
Exposed Control::focus_mode to the scene editor
2016-05-31Some cleanup to GDScriptJuan Linietsky
separated GDFunction (VM) from GDScript in two different files
2016-05-23GUI Focus mode improvementsZher Huei Lee
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-11Merge pull request #4612 from bojidar-bg/fix-anchor-buildsRémi Verschelde
Fix #4588 (crash in Control::_set_anchor)
2016-05-10Fix #4588 (crash Control::_set_anchor)Bojidar Marinov
Thanks to @vnen for testing this
2016-05-09Sync classes.xml with current sourcesRémi Verschelde
Also fix a typo in the binding of Control::set_drag_forwarding.