593598c592
Calling popup_center* with the default size will use the current size
2023-02-11 18:53:53 +08:00
b342dcdf04
Remove some unused signals
...
Part of #37604 .
2023-01-31 18:54:04 +01:00
aade5abd4f
Reorganize main and sub-window initial position properties.
2023-01-19 13:44:06 +02:00
c6ed9bb77e
Fix typo and add missing docs for WINDOW_FLAG_MOUSE_PASSTHROUGH.
2023-01-16 14:25:32 +02:00
34b34b104c
Add WINDOW_FLAG_MOUSE_PASSTHROUGH flag and enabled it for tooltips. Expose window_set_mouse_passthrough to Window.
2023-01-16 11:42:49 +02:00
2718a7b7d3
Add support for the custom initial screen for the main window, fix primary screen detection.
2023-01-07 11:14:35 +02:00
29cc86fa6c
Copy local theme overrides from Control to Window
2022-12-07 20:50:51 +03:00
edf13eb5a6
Rename window_get_real_size to window_get_size_with_decorations, add window_get_position_with_decorations.
2022-12-07 11:07:30 +02:00
293ed314fd
Fix typo minimize button -> maximize button
...
Seems like a typo.
2022-10-30 16:28:44 +02:00
5ae012e6e9
Add documentation for viewport's input handling
2022-10-05 12:56:04 +02:00
8574dac00e
[Docs] Synchronize and update Window and Display Server documentation.
2022-10-05 08:43:37 +03:00
0dab11afa4
[macOS extend-to-title] Add scene/project name to the editor title, fix incorrect window button position/order when system primary language is RTL.
2022-09-22 23:09:56 +03:00
d104a4cdbd
Add missing initial window flags and window mode to the project settings.
2022-09-19 12:30:10 +03:00
bc4ba6cb78
[macOS] Extend editor contents to the window titlebar for better space usage.
2022-08-26 15:12:43 +03:00
74eb2a70bd
Refactor and remove excessive calls of NOTIFICATION_THEME_CHANGED
2022-08-25 14:50:49 -06:00
5361585832
[doc] Use "param" instead of "code" to refer to parameters
...
Co-authored-by: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com >
2022-08-09 10:09:07 -04:00
c5d7115038
Rename the argument tag to param in XML documentation
2022-08-08 22:34:31 +03:00
2b86c458bf
Fix some bugs with Windows
2022-08-05 02:25:15 -03:00
0f630f8307
Document most of the Window's members
2022-06-22 20:46:27 +02:00
3073b85de9
Rename theme properties to include underscores
...
- check_vadjust -> check_v_adjust
- close_h_ofs -> close_h_offset
- close_v_ofs -> close_v_offset
- commentfocus -> comment_focus
- hseparation -> h_separation
- ofs -> offset
- selectedframe -> selected_frame
- state_machine_selectedframe -> state_machine_selected_frame
- table_hseparation -> table_h_separation
- table_vseparation -> table_v_separation
- vseparation -> v_separation
2022-04-23 11:16:18 -05:00
63de41b996
Improvements to files_dropped signal
2022-04-11 00:37:06 +02:00
b870b40d79
Remove files_dropped signal from SceneTree
2022-02-28 07:51:50 +01:00
74ff5921d6
Improve popup window handling.
...
Add window FLAG_POPUP and a platform specific routines to control popup auto-hiding and event forwarding.
2022-02-25 09:33:27 +02:00
b68dd2e189
Add an XML schema for documentation
...
This makes it easier to spot syntax errors when editing the
class reference. The schema is referenced locally so validation
can still work offline.
Each class XML's schema conformance is also checked on GitHub Actions.
2022-02-15 00:03:31 +01:00
ef81dc1831
Remove code to update the layout direction of submenus from PopupMenu
2022-02-09 01:36:20 -03:00
f4ea9cd9f3
[Windows] Add WS_BORDER flag to windows in WINDOW_MODE_FULLSCREEN mode to allow multi-window interface in full-screen.
...
[Windows] Add WINDOW_MODE_EXCLUSIVE_FULLSCREEN without WS_BORDER flag enabled (no multi-window support).
2022-02-04 12:08:46 +02:00
84a69d7429
Improve the default project theme
...
The new default project theme uses StyleBoxFlat extensively for
a more modern design and better scalability to multiple resolutions.
SVG icons are now used in place of PNG icons. While this does not
allow for true vector-based icon drawing (icons are still rasterized
at load-time), this makes the design work easier for contributors
and opens the door to vector drawing in the future (e.g. with polygons
or SDFs).
Like for editor icons, the SVG header file is now built automatically
when a SVG file is changed. This removing the need for running
`make_header.py` manually (TODO).
The "Use Hidpi" project setting has been removed in favor of a
"Default Theme Scale" project setting, which allows creating the
default theme at a higher/lower scale than the default.
This can be used when designing GUIs with a high base resolution
to ensure crisp visuals.
Co-authored-by: Yuri Sizov <yuris@humnom.net >
2022-01-19 18:46:01 +03:00
2db30ef223
Add missing 'theme_changed' signal to Window class
2022-01-19 07:59:42 +00:00
c7a03412ac
add 2d scale factor property
2021-12-17 19:19:41 +01:00
397e56964d
Sort and group theme properties in docs, improve formatting for theme and enums
2021-12-01 21:02:20 +03:00
eabf8f5edf
Added reset_size method to Control and Window classes
2021-11-22 16:55:21 +03:00
6c1bd4d227
Replace Godot docs URL with $DOCS_URL in XML class reference
2021-11-15 13:02:21 +01:00
4a42a66cd9
Add the base scale factor to the Theme resource
2021-10-04 15:25:07 +03:00
fe16460474
Merge pull request #50182 from SirQuartz/patch-15
...
Add many descriptions to the `Window` class
2021-09-15 23:55:33 +02:00
bf2839ea3e
Add theme item descriptions to the online documentation
2021-08-04 22:27:10 +03:00
7adf4cc9b5
doc: Use self-closing tags for return and argument
...
For the time being we don't support writing a description for those, preferring
having all details in the method's description.
Using self-closing tags saves half the lines, and prevents contributors from
thinking that they should write the argument or return documentation there.
2021-07-30 15:29:52 +02:00
94a64d557e
Add auto_translate toggle for automatic translation
2021-07-29 18:30:34 -03:00
79fc188fc4
Multiple cosmetic fixes for embedded windows
2021-07-27 23:55:06 -03:00
4ee0e6ddf5
Add type variations to Theme
2021-07-13 02:26:28 +03:00
e9cbe896cc
Add many descriptions to the Window class
...
This pull request adds many missing descriptions to `Window` in the class docs.
2021-07-05 09:43:51 -04:00
a829e88ddc
Expose Window.get_contents_minimum_size() to scripts
2021-07-02 15:35:56 -03:00
0ff4095b36
Better format arguments in variant parser
2021-06-18 00:06:40 -03:00
6710ad1737
Let var2str display StringName with correct sigil
2021-06-10 16:30:28 -05:00
9eaa139c1f
Add theme_custom_type property to Control and Window
2021-05-17 17:20:42 +03:00
0d1d719178
doc: Sync classref with current source
...
And fix various bogus bindings following previous PRs.
2021-02-19 14:39:14 +01:00
d78336c65e
[CTL] Add missing font outline drawing routines and theme constants.
2021-02-14 14:11:44 +02:00
7e2c0ffd1a
[Complex Text Layouts] Add TextServer documentation. Update Font, CanvasItem, Theme and modified controls documentation.
2020-11-26 14:25:52 +02:00
a1f81a52df
Improve the documentation related to fullscreen and borderless settings
2020-10-28 14:30:33 +01:00
96644d23a0
doc: Sync classref with current source
2020-07-03 16:09:12 +02:00
e5033d3952
doc: Sync classref with DisplayServer/Window changes
2020-03-31 11:56:58 +02:00