summaryrefslogtreecommitdiff
path: root/scene/gui/popup.cpp
AgeCommit message (Collapse)Author
2020-01-01Update copyright statements to 2020Rémi Verschelde
Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
2019-08-14Merge pull request #31267 from sparkart/fix_optionbutton_offsetRémi Verschelde
Fix Offset with OptionButton Popup
2019-08-14Exposed set_as_minsize to gdscriptFabian
2019-08-12Fix Offset with OptionButton PopupEmmanuel Barroga
Fixes the offset issue with the OptionButton's popup.
2019-07-09Improve the node configuration warning displayHugo Locurcio
- Refer to properties explicitly when possible - When multiple warnings are returned, always separate them by one blank line to make them easier to distinguish - Improve grammar and formatting
2019-07-06Fix editor remaining dimmed after certain actionsBojidar Marinov
Fixes #30368
2019-06-25Fix Popup::popup_centered not centering at the first callGuilherme Felipe
2019-05-28Merge pull request #28454 from homer666/popup-centered-maxsizeRémi Verschelde
Add `popup_centered_clamped()` method to Popup
2019-04-30Add Popup::popup_centered_clamped methodhomer666
- Also replace redundant duplicate code in editor dialogs with calls to popup_centered_clamped()
2019-04-29Make buttons that trigger popups have the same scaleMichael Alexsander Silva Dias
2019-02-13Fix button alignment of Package Installer on OSXNaoto Kondo
This problem occurs only in the HiDPI environment.
2019-01-14Hide visible popups by default if visible when entering tree, unless on ↵Juan Linietsky
editor. Fixes #24737
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-09-12Make core/ includes absolute, remove subfolders from include pathRémi Verschelde
This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
2018-09-07Many fixes to gradient editor, which was pretty broken. Closes #19308Juan Linietsky
2018-06-06Fix #16069, #19292, #19267 and #18940Guilherme Felipe
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-09-27Remove unecessary anchors&margins set causing bad display (sons of containers)Gilles Roudiere
2017-09-22Remove set_area_as_parent_rect and replace it by ↵Gilles Roudiere
set_anchors_and_margins_preset(PRESET_WIDE)
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-24Convert Object::cast_to() to the static versionHein-Pieter van Braam
Currently we rely on some undefined behavior when Object->cast_to() gets called with a Null pointer. This used to work fine with GCC < 6 but newer versions of GCC remove all codepaths in which the this pointer is Null. However, the non-static cast_to() was supposed to be null safe. This patch makes cast_to() Null safe and removes the now redundant Null checks where they existed. It is explained in this article: https://www.viva64.com/en/b/0226/
2017-08-21Merge pull request #10351 from neikeq/enums-are-for-the-weakJuan Linietsky
ClassDB: Provide the enum name of integer constants
2017-08-20ClassDB: Provide the enum name of integer constantsIgnacio Etcheverry
2017-08-20Merge pull request #10319 from neikeq/pr-engine-editor-hintJuan Linietsky
Adds Engine::is_editor_hint() method
2017-08-19Some control fixes and removed useless linesGilles Roudiere
2017-08-19Removes editor_hint from SceneTreeIgnacio Etcheverry
2017-08-16Synchronize parameter names in definition and declarationTwistedTwigleg
Fixes #10244.
2017-08-13Replace GUI anchor type by a float between 0 and 1Gilles Roudiere
2017-06-04renamed all Rect2.pos to Rect2.positionalexholly
2017-05-20Removal of InputEvent as built-in Variant type..Juan Linietsky
this might cause bugs I haven't found yet..
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-03-03Make Editor, Export and Project settings dialogs resizable and store their ↵Ray Koopa
bounds
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-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-08renamed _input_event for GUI events to _gui_input, so it's more ↵Juan Linietsky
differentiated than generalized _input
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-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-07-17Remove some noisy debug printsRémi Verschelde
Part of #5031
2016-05-17-Added configuration warning system for nodesJuan Linietsky
-Added a new "add" and "instance" buttons for scene tree -Added a vformat() function to ease translation work
2016-03-09remove trailing whitespaceHubert Jarosz
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-01Update copyright to 2016 in headersGeorge Marques
2015-12-29-forgot a check for tools enabled, closes #3166reduz
2015-12-29make it easy to edit popupmenus, fixes #2595reduz