summaryrefslogtreecommitdiff
path: root/scene/gui/dialogs.cpp
AgeCommit message (Collapse)Author
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-12-15Fixes close button overlapping window titleBernhard Liebl
2017-09-12Improved theme generation, and other fixesDaniel J. Ramirez
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-20Merge pull request #10319 from neikeq/pr-engine-editor-hintJuan Linietsky
Adds Engine::is_editor_hint() method
2017-08-19Removes editor_hint from SceneTreeIgnacio Etcheverry
2017-08-18Rename localization method to `tr` againRémi Verschelde
Partial revert of #10380 based on contributor ~~bullying~~ feedback.
2017-08-17Merge pull request #10380 from akien-mga/XL_MESSAGERémi Verschelde
Rename `XL_MESSAGE`/`tr` to `localize`
2017-08-17Rename `XL_MESSAGE` aka `tr` to `localize`Rémi Verschelde
Also renames `set_message_translation` to `set_message_localization` for consistency.
2017-08-16Merge pull request #8899 from toger5/BetterFlatStyleboxRémi Verschelde
Better flat stylebox with rounded corners
2017-08-15Adapted godot to the new StyleBoxFlattoger5
2017-08-13Replace GUI anchor type by a float between 0 and 1Gilles Roudiere
2017-08-10Removes type information from method bindsIgnacio Etcheverry
2017-07-19Icons can now be added inside line edits (Search icon).Daniel J. Ramirez
Fixed window title bar margins. fixed compilation error
2017-07-18Added separators using StyleBoxLine, some theme style fixes, added variant iconDaniel J. Ramirez
2017-07-13AcceptDialog: fix child w/ ANCHOR_END sized wrong until resizedPoommetee Ketson
2017-06-04renamed all Rect2.pos to Rect2.positionalexholly
2017-06-03InputEvent: Renamed "pos" property to "position"Andreas Haas
Make the naming consistent with other classes.
2017-05-20Removal of InputEvent as built-in Variant type..Juan Linietsky
this might cause bugs I haven't found yet..
2017-05-09New customizable editor themevolzhs
2017-05-02Fix #8617 WindowDialog with custom panel background crashes godotMarc Gilleron
2017-04-13Respect the expand margin for StyleBoTextures again.Ray Koopa
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-31Fixed WindowDialog not aligning properlyRobert Hernandez
2017-03-24Fix typos in source code using codespellRémi Verschelde
From https://github.com/lucasdemarchi/codespell
2017-03-13WindowDialog: Fix crash when running as ProjectManagerAndreas Haas
Fixes a bug introduced in #7970
2017-03-06Editor: Dim UI when a WindowDialog is shown.Andreas Haas
Darkens the editor on WindowDialog popup. This adds the following new Editor settings: - interface/dim_editor_on_dialog_popup (true) # Enable/Disable editor dimming - interface/dim_amount (0.6) # Percentage of how much the editor will be darkened (0-1) - interface/dim_transition_time # The duration (in seconds) of the color blending effect (0-1), 0 is instant. Please test this thoroughly, I haven't yet seen a case where it fails to work properly but I'm sure I didn't test all windows of the editor :P
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-03-01Added functionality for resizable dialogs.Ray Koopa
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-19Editor Export Settings Dialog is completed!! Now on to make some exporters..Juan Linietsky
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-10Removed the set_child_rect() in AcceptDialog. AcceptDialog now works as a ↵Juan Linietsky
container!
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-10-31Fix Accept/ConfirmationDialog UI brokenvolzhs
2016-10-31Revert "Place child control under label in AcceptDialog."volzhs
This reverts commit 3ef272290460670b82621727ba2e876fa0a5a01e.
2016-10-09Place child control under label in AcceptDialog.Mateusz Adamczyk
Fixes #6199.
2016-09-10-Added bindings to the resource filesystem for editorJuan Linietsky
-Added set_child_rect, which was unavailable for script
2016-09-07fixed wrong placement of AcceptDialog Buttons issue-6143bebae
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-05-30Make dialogs translatableGeequlim
2016-05-30-Some fixes to OSX retina scaling for window functionsJuan Linietsky
-Implemented HiDPI detection and support for Godot Editor!