aboutsummaryrefslogtreecommitdiff
path: root/scene/gui/control.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Makes all Godot API's methods Lower CaseIndah Sylvia2017-08-071-1/+1
|
* Fix property type expose of Control.stretch_ratio.Geequlim2017-07-311-1/+1
| | | | Fix set integer value from inspector to round instead of floor.
* -Renamed GlobalConfig to ProjectSettings, makes more sense.Juan Linietsky2017-07-191-1/+1
| | | | -Added system for feature overrides, it's pretty cool :)
* Add object type hint for docsPoommetee Ketson2017-07-191-1/+1
|
* Control: save SIZE_FILL size flag propertyPoommetee Ketson2017-07-131-2/+2
|
* removed floor so that global pos works with scalealexholly2017-07-081-2/+2
|
* More fill modes for containers, closes #9504Juan Linietsky2017-07-061-2/+4
|
* Ability to set rotation and scaling pivot for controls.Juan Linietsky2017-07-061-7/+35
|
* -Ability for controls to grow the left/top when anchored. This makes ↵Juan Linietsky2017-07-061-2/+54
| | | | anchoring controls to the right/bottom easier when they are resized.
* Properly adjust the visible editor rect and make limits respected, closes #8328Juan Linietsky2017-06-121-0/+1
|
* renamed all Rect2.pos to Rect2.positionalexholly2017-06-041-13/+13
|
* Fixing typo for rect_position in _change_notify call for ControlKristupas Stumbrys2017-05-281-1/+1
|
* Removal of InputEvent as built-in Variant type..Juan Linietsky2017-05-201-2/+2
| | | | this might cause bugs I haven't found yet..
* Rename [gs]et_pos to [gs]et_position for ControlsSergey Pusnei2017-04-101-17/+17
| | | | | | | | 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 more property names in _change_notify calls.Andreas Haas2017-04-031-1/+1
|
* Fixed Node2D/Control not updating propertiesRobert Hernandez2017-04-011-6/+6
|
* Fix typos in source code using codespellRémi Verschelde2017-03-241-1/+1
| | | | From https://github.com/lucasdemarchi/codespell
* Merge pull request #8023 from CrazyGuy108/masterRémi Verschelde2017-03-181-0/+2
|\ | | | | List Control::has_point as a virtual method
| * List Control::has_point as a virtual methodCrazyGuy1082017-03-141-0/+2
| | | | | | | | | | | | According to Issue #8018, a BIND_VMETHOD macro wasn't present in scene/gui/control.cpp, while it was declared to be a virtual method in scene/gui/control.h. classes.xml was updated to also list this method in Control.
* | fixed ClassDB inconsistenciesKarroffel2017-03-131-2/+2
|/ | | | fixes #7960
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-969/+810
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Refactoring: rename tools/editor/ to editor/Rémi Verschelde2017-03-051-1/+1
| | | | | | 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.
* Various fixes detected using PVS-Studio static analyzer.Thaer Razeq2017-02-281-2/+0
| | | | | | | - 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
* -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-93/+93
| | | | | | This new name also makes its purpose a little clearer This is a step towards fixing #56
* Remove use of _SCS from ADD_METHODHein-Pieter van Braam2017-02-131-24/+24
| | | | This saves typing and is a step towards fixing #56
* Style: Fix statements ending with ';;'Rémi Verschelde2017-01-161-1/+1
|
* Style: Fix whole-line commented codeRémi Verschelde2017-01-141-9/+13
| | | | | 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.
* Created new Engine singleton, and moved engine related OS functions to it.Juan Linietsky2017-01-131-1/+1
|
* New API for visibility in both CanvasItem and SpatialJuan Linietsky2017-01-131-8/+8
| | | | | | 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-10/+10
| | | | | -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).
* Proper inheritance checking when requesting theem resourcesJuan Linietsky2017-01-111-24/+113
|
* Type renames:Juan Linietsky2017-01-111-7/+7
| | | | | | | | | | | | Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
* -All types have editable script now in propertiesJuan Linietsky2017-01-091-3/+17
| | | | -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-23/+15
| | | | replaced by mouse filter
* Removed ratio anchoring (will have to fix multiple 3D views later..)Juan Linietsky2017-01-081-98/+19
|
* Swapped expand and fill flag bits, so scenes don't save this property by defaultJuan Linietsky2017-01-081-2/+2
|
* renamed _input_event for GUI events to _gui_input, so it's more ↵Juan Linietsky2017-01-081-2/+2
| | | | differentiated than generalized _input
* Editor settings categories are now tidy and beautiful!Juan Linietsky2017-01-051-1/+1
|
* Begin modifying properties to make them more friendly to script and doc.Juan Linietsky2017-01-031-20/+29
|
* ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky2017-01-021-116/+116
| | | | | | | | 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()
* 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!
* fixes #6464 lost icons in dock and file dialog, also #6443 , #6302Avril2016-11-181-4/+4
| | | | | Fixes lost icons in docks, file manager, sample library, settings and various other places.
* Prevent crash on focus change when no valid next control has been found.Andreas Haas2016-10-051-5/+5
| | | | Fixes the crash discussed in #6714.
* Add argument options for the theme override functions in ControlJuan Linietsky2016-09-111-0/+29
|
* -Added a ColorFrame control, kind of like Texture but for color.Juan Linietsky2016-09-111-1/+1
| | | | | -Added dropping nodes to text editor for them to become a path -Fixed issues with font not properly being set in code editor
* -Cleaned up find/replace bar for replace (made selection only default if ↵Juan Linietsky2016-09-111-9/+7
| | | | | | 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.
* More visual script improvementsJuan Linietsky2016-08-301-11/+38
| | | | | | -Added anti-aliasing on lines -Improved draw performance enormously -Removed sequence ports for most nodes, current visual scripts will likely be broken now. Sorry!
* More visual script workJuan Linietsky2016-08-251-1/+8
| | | | | | | | | -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