aboutsummaryrefslogtreecommitdiff
path: root/scene/gui/dialogs.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-0/+1
| | | | | | 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.
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Fixes close button overlapping window titleBernhard Liebl2017-12-151-3/+10
|
* Improved theme generation, and other fixesDaniel J. Ramirez2017-09-121-1/+1
|
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* Convert Object::cast_to() to the static versionHein-Pieter van Braam2017-08-241-4/+4
| | | | | | | | | | | | 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/
* Merge pull request #10319 from neikeq/pr-engine-editor-hintJuan Linietsky2017-08-201-2/+2
|\ | | | | Adds Engine::is_editor_hint() method
| * Removes editor_hint from SceneTreeIgnacio Etcheverry2017-08-191-2/+2
| |
* | Rename localization method to `tr` againRémi Verschelde2017-08-181-1/+1
| | | | | | | | Partial revert of #10380 based on contributor ~~bullying~~ feedback.
* | Merge pull request #10380 from akien-mga/XL_MESSAGERémi Verschelde2017-08-171-1/+1
|\ \ | | | | | | Rename `XL_MESSAGE`/`tr` to `localize`
| * | Rename `XL_MESSAGE` aka `tr` to `localize`Rémi Verschelde2017-08-171-1/+1
| | | | | | | | | | | | | | | Also renames `set_message_translation` to `set_message_localization` for consistency.
* | | Merge pull request #8899 from toger5/BetterFlatStyleboxRémi Verschelde2017-08-161-4/+4
|\ \ \ | |/ / |/| | Better flat stylebox with rounded corners
| * | Adapted godot to the new StyleBoxFlattoger52017-08-151-4/+4
| |/
* / Replace GUI anchor type by a float between 0 and 1Gilles Roudiere2017-08-131-2/+2
|/
* Removes type information from method bindsIgnacio Etcheverry2017-08-101-5/+5
|
* Icons can now be added inside line edits (Search icon).Daniel J. Ramirez2017-07-191-1/+3
| | | | | | Fixed window title bar margins. fixed compilation error
* Added separators using StyleBoxLine, some theme style fixes, added variant iconDaniel J. Ramirez2017-07-181-0/+1
|
* AcceptDialog: fix child w/ ANCHOR_END sized wrong until resizedPoommetee Ketson2017-07-131-0/+3
|
* renamed all Rect2.pos to Rect2.positionalexholly2017-06-041-13/+13
|
* InputEvent: Renamed "pos" property to "position"Andreas Haas2017-06-031-2/+2
| | | | Make the naming consistent with other classes.
* Removal of InputEvent as built-in Variant type..Juan Linietsky2017-05-201-7/+11
| | | | this might cause bugs I haven't found yet..
* New customizable editor themevolzhs2017-05-091-17/+26
|
* Fix #8617 WindowDialog with custom panel background crashes godotMarc Gilleron2017-05-021-12/+16
|
* Respect the expand margin for StyleBoTextures again.Ray Koopa2017-04-131-29/+26
|
* Rename [gs]et_pos to [gs]et_position for ControlsSergey Pusnei2017-04-101-8/+8
| | | | | | | | 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
|
* Fixed WindowDialog not aligning properlyRobert Hernandez2017-03-311-1/+12
|
* Fix typos in source code using codespellRémi Verschelde2017-03-241-1/+1
| | | | From https://github.com/lucasdemarchi/codespell
* WindowDialog: Fix crash when running as ProjectManagerAndreas Haas2017-03-131-2/+2
| | | | Fixes a bug introduced in #7970
* Editor: Dim UI when a WindowDialog is shown.Andreas Haas2017-03-061-0/+14
| | | | | | | | | | | | | 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
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-124/+92
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Make Editor, Export and Project settings dialogs resizable and store their ↵Ray Koopa2017-03-031-0/+28
| | | | bounds
* Added functionality for resizable dialogs.Ray Koopa2017-03-011-47/+152
|
* Various fixes detected using PVS-Studio static analyzer.Thaer Razeq2017-02-281-1/+1
| | | | | | | - 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
* Editor Export Settings Dialog is completed!! Now on to make some exporters..Juan Linietsky2017-02-191-2/+2
|
* Rename the _MD macro to D_METHODHein-Pieter van Braam2017-02-131-18/+18
| | | | | | 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-3/+3
| | | | This saves typing and is a step towards fixing #56
* Removed the set_child_rect() in AcceptDialog. AcceptDialog now works as a ↵Juan Linietsky2017-01-101-28/+27
| | | | container!
* renamed _input_event for GUI events to _gui_input, so it's more ↵Juan Linietsky2017-01-081-2/+2
| | | | differentiated than generalized _input
* -Conversion of most properties to a simpler syntax, easier to use by scriptJuan Linietsky2017-01-041-3/+4
| | | | | | -Modified help to display properties GDScript can still not make use of them, though.
* ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky2017-01-021-19/+19
| | | | | | | | 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!
* Fix Accept/ConfirmationDialog UI brokenvolzhs2016-10-311-5/+8
|
* Revert "Place child control under label in AcceptDialog."volzhs2016-10-311-25/+10
| | | | This reverts commit 3ef272290460670b82621727ba2e876fa0a5a01e.
* Place child control under label in AcceptDialog.Mateusz Adamczyk2016-10-091-10/+25
| | | | Fixes #6199.
* -Added bindings to the resource filesystem for editorJuan Linietsky2016-09-101-0/+1
| | | | -Added set_child_rect, which was unavailable for script
* fixed wrong placement of AcceptDialog Buttons issue-6143bebae2016-09-071-2/+0
|
* Remove unused variables (third pass) + dead codeRémi Verschelde2016-07-071-2/+0
| | | | Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
* Make dialogs translatableGeequlim2016-05-301-4/+4
|
* -Some fixes to OSX retina scaling for window functionsJuan Linietsky2016-05-301-6/+73
| | | | -Implemented HiDPI detection and support for Godot Editor!