summaryrefslogtreecommitdiff
path: root/scene/gui/control.h
AgeCommit message (Collapse)Author
2017-08-27Dead code tells no talesRémi Verschelde
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-08-15Changed anchor constants to enum, removed ANCHOR_CENTER, fixes #9889Juan Linietsky
2017-08-13Avoids inverted anchorsGilles Roudiere
Add a push_opposite_anchor argument pushing the opposite anchor if needed
2017-08-13Adds a function to set Anchors with a layout presetGilles Roudiere
2017-08-13Replace GUI anchor type by a float between 0 and 1Gilles Roudiere
2017-07-06More fill modes for containers, closes #9504Juan Linietsky
2017-07-06Ability to set rotation and scaling pivot for controls.Juan Linietsky
2017-07-06-Ability for controls to grow the left/top when anchored. This makes ↵Juan Linietsky
anchoring controls to the right/bottom easier when they are resized.
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-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-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-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-09-11Add argument options for the theme override functions in ControlJuan Linietsky
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-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-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-13propagate theme changes properly even through 2D nodes, fixes #4754Juan Linietsky
2016-06-06Merge pull request #4977 from SaracenOne/scripting_exposeJuan Linietsky
Expose extra methods and constants to scripts
2016-06-04-customizable shortcuts in editorJuan Linietsky
-editor settings now save to .tres instead of .xml -buttons can now hold a shortcut
2016-06-04Expose control theme element and override detection methods to scripting side.Saracen
2016-05-06Rotation APIs: Better exposure for degrees methodsRémi Verschelde
Made public the various set/getters for rotations in degrees. For consistency, renamed the exposed method names to remove the leading underscore, and kept the old names with a deprecation warning. Fixes #4511.
2016-05-03Add ability to send drag events to another objectJuan Linietsky
will be documented/tested later
2016-03-09Add option to keep margins when changing anchors, closes #3979Bojidar Marinov
Amend: Fixed an issue for non-tool builds Amend2: Same, just fixed doing nothing at some times
2016-03-09remove trailing whitespaceHubert Jarosz
2016-01-24-Take in consideration canvas layers for GUI inputJuan Linietsky
2016-01-19-Some fixes to drag and drop and canvas offset for GUI that were introduced ↵Juan Linietsky
after rewrite
2016-01-18Merge pull request #2854 from MarianoGnu/color_pickerRémi Verschelde
new ColorPicker
2016-01-16-Moved all the "root" input handling for GUI from individual Controls to ↵Juan Linietsky
Viewport. -Should fix several reported bugs when controls don't have a common parent This may have added new bugs, so please report if so!
2016-01-15Move shaders to default theme and add shader_override related methods to ↵MarianoGNU
Control class
2016-01-07Merge pull request #3191 from neikeq/filedialog_hotkeysRémi Verschelde
Add keyboard shortcut to toggle "show hidden files" in FileDialog
2016-01-02FileDialog: keyboard shortcut to toggle "show hidden files"Ignacio Etcheverry
2016-01-01Update copyright to 2016 in headersGeorge Marques
2015-12-12added rotation and scale support to gui controlsJuan Linietsky
2015-10-17misc cleanupJuan Linietsky
2015-04-18Updated copyright year in all headersJuan Linietsky
2015-02-14fixes to mouse warpJuan Linietsky
-can warp now from viewport and control, in their respective coordinate systems -warp is now local to the window on Windows and OSX. IF YOU RUN OSX, PLEASE TEST THIS! And make sure it works!, new code is in OS_OSX::warp_mouse_pos. I don't have OSX so i can't test!
2014-09-17Small FixesJuan Linietsky
----------- -Added Ability for centering on top left for centercontainer -Added ability to bind more than 5 parameters (must include an extra file)
2014-04-18-Fixed viewport stretch bugsJuan Linietsky
-Fixed input in viewport stretch bugs -Fixed tilemap pixel overlap (really?)
2014-03-31Add anchor options "Center"sanikoyes