summaryrefslogtreecommitdiffstats
path: root/scene/gui/popup_menu.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit godotengine/godot@cb411fa960f0b7fdbd97dcdb4c90f9346360ee0eSpartan3222024-11-121-9/+9
|\
| * Fix `PopupMenu.id_focused` signal using index as IDHaoyu Qiu2024-10-071-9/+9
| |
* | Fix copyright headers referring to GodotSpartan3222024-10-271-2/+2
| |
* | Rebrand preambles to RedotDubhghlas McLaughlin2024-10-111-0/+2
|/ | | | | | | | | | | | | | | | | | | | | | Credits: Co-authored-by: Skogi <skogi.b@gmail.com> Co-authored-by: Spartan322 <Megacake1234@gmail.com> Co-authored-by: swashberry <swashdev@pm.me> Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: radenthefolf <radenthefolf@gmail.com> Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com> Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com> Co-authored-by: decryptedchaos <nixgod@gmail.com> Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com> Co-authored-by: Mister Puma <MisterPuma80@gmail.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: SingleError <isaaconeoneone@gmail.com> Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com>
* Merge pull request #95902 from kitbdev/remove-forced-mouse-focusRémi Verschelde2024-09-031-8/+0
|\ | | | | | | Clean up Viewport's `forced_mouse_focus`
| * Clean up Viewport forced_mouse_focuskit2024-08-211-8/+0
| |
* | Always store ID of PopupMenu itemskobewi2024-08-201-1/+1
|/
* Stop popup release timeout on click.bruvzg2024-08-121-0/+1
|
* [PopupMenu] Increase mouse button release timeout and reset it from ↵bruvzg2024-08-071-1/+2
| | | | `post_popup`.
* Fix a bunch of orphan StringName errors at ProjectSettings/Editor exitYuri Rubinsky2024-07-091-0/+1
|
* [NativeMenu] Do not auto toggle check/multi-state items. Add ↵bruvzg2024-07-081-0/+11
| | | | `is_native_menu` method.
* [Scene] Add `SceneStringNames::panel`A Thousand Ships2024-05-301-1/+1
|
* [Scene] Add `SceneStringNames::id_pressed`A Thousand Ships2024-05-301-1/+1
|
* Fix `PopupMenu` focus issues after `Viewport::set_embedding_subwindows` is ↵bruvzg2024-05-221-3/+4
| | | | changed.
* Use Core/Scene stringnames consistentlykobewi2024-05-131-1/+1
|
* Fix PropertyListHelper::_get_property returning a valid value even if an ↵Gilles Roudière2024-05-101-0/+1
| | | | | | index is outside the array valid indices Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
* [PopupMenu] Fix incorrect vertical scroll bar visible at fractional content ↵Koyper2024-04-251-3/+4
| | | | scale
* Merge pull request #86553 from Koyper/fix_popup_panel_content_scalingRémi Verschelde2024-04-181-14/+24
|\ | | | | | | Fix non-embedded tooltips, popups and dialogs resizing to match Viewport content scale factors != 1.0
| * Fix non-embedded Windows resizing to match Viewport content scale factorKoyper2024-04-171-14/+24
| |
* | Fix submenus erroneously closing on some occasionsMichael Alexsander2024-04-131-0/+6
|/
* Fix NativeMenu layout direction on macOS, add extra check for Windows menu.bruvzg2024-03-151-1/+1
|
* [NativeMenu] Implement native popup menu support on Windows.bruvzg2024-03-131-5/+56
|
* Move `global_menu_*` methods to a separate `NativeMenu` class.bruvzg2024-03-041-186/+192
|
* Fix PopupMenu doesn't respect it's ScrollContainer's marginsMounir Tohami2024-02-231-76/+58
|
* Add methods to add submenus without using nameskobewi2024-02-221-86/+76
|
* Merge pull request #87967 from jsjtxietian/set_item_submenuRémi Verschelde2024-02-221-0/+5
|\ | | | | | | Fix `set_item_submenu` infinite recursion crash
| * Fix `set_item_submenu` infinite recursion crashjsjtxietian2024-02-221-0/+5
| |
* | Revert "Fix selecting popup menu items on mouse release"Rémi Verschelde2024-02-201-48/+43
|/
* Merge pull request #86952 from ↵Rémi Verschelde2024-02-141-43/+48
|\ | | | | | | | | | | ryevdokimov/fix-selecting-popup-menu-items-on-mouse-release Fix selecting popup menu items on mouse release
| * Fix selecting popup menu items on mouse releaseRobert Yevdokimov2024-01-141-43/+48
| |
* | Add PropertyListHelper to PopupMenukobewi2024-02-111-97/+35
| |
* | Remove unnecessary `this->` expressionsA Thousand Ships2024-01-291-1/+1
| |
* | Expose PopupMenu get_item_multistate(), get_item_multistate_max() and ↵mrcdk2024-01-221-0/+24
| | | | | | | | set_item_multistate_max()
* | [macOS] Do not unbind PopupMenu from global menu on `clear` call.bruvzg2024-01-161-2/+3
| |
* | Merge pull request #86141 from Maran23/popup-hover-height-calcRémi Verschelde2024-01-151-4/+3
|\ \ | | | | | | | | | Fix Popup hover and height calculation are off by some pixels
| * | Fix Popup hover and height calculation are off by some pixelsMarius Hanl2023-12-141-4/+3
| | | | | | | | | | | | This was caused by an incorrect calculation of the v_separation where it was not needed
* | | Merge pull request #84946 from DarkMessiah/default-theme-checkbox-disabled-stateRémi Verschelde2024-01-101-3/+1
|\ \ \ | |_|/ |/| | | | | Use disabled icons for CheckBox in DefaultTheme
| * | Use disabled icons for CheckBox in DefaultThemeStanislav Labzyuk2023-11-191-3/+1
| |/
* | Merge pull request #84445 from Rubonnek/add-const-references-clang-tidyRémi Verschelde2024-01-041-2/+2
|\ \ | | | | | | | | | Add const references detected by clang-tidy
| * | Add const references detected by clang-tidyWilson E. Alvarez2023-12-161-2/+2
| |/
* | Merge pull request #82900 from bruvzg/macos_menu_global_shortcutsRémi Verschelde2024-01-031-7/+12
|\ \ | | | | | | | | | [PopupMenu] Handle shortcuts with "global" flag directly.
| * | [PopupMenu] Handle shortcuts with "global" flag directly.bruvzg2023-10-061-7/+12
| | |
* | | [PopupMenu] Handle physical_keycode and key_label of shortcuts.bruvzg2023-12-301-18/+24
| | |
* | | Merge pull request #81243 from Sauermann/fix-window-eventsYuri Sizov2023-12-191-4/+9
|\ \ \ | | | | | | | | | | | | Fix internal events not being delivered to some Window types
| * | | Fix internal events not being delivered to some Window typesMarkus Sauermann2023-11-141-4/+9
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | `AcceptDialog`, `Popup` and `PopupMenu` no longer subscribe to "window_input" signal, because that is only sent if it is not an internal signal. Instead they receive events in `_input_from_window`. They ensure that the event is also propagated to their super-function, just like previously the signals would be treated.
* / | [macOS] Add default Window and Help menus, allow special menu customization.bruvzg2023-12-131-1/+51
|/ /
* | Allow auto-generated node names in `PopupMenu::add_submenu_item`Yuri Sizov2023-11-091-1/+5
| |
* | Fix `activate_item_by_event` infinite recursion crashjsjtxietian2023-11-011-0/+1
| |
* | Ensure input event is valid in `PopupMenu::activate_item_by_event`A Thousand Ships2023-10-251-0/+1
| |
* | Add bulk change guards to successive theme overrides in Editor and GUIYuri Sizov2023-10-191-0/+2
| |