Searched +hist:36 +hist:aa2198 (Results 1 - 2 of 2) sorted by relevance

/haiku/src/kits/interface/
H A DMenuBar.cppdiff 556f83c6 Fri Mar 07 14:26:36 MST 2008 Stefano Ceccherini <stefano.ceccherini@gmail.com> In the menubar tracking function, loop indefinitely if mouse stands
still. This way keyboard menu navigation works much better.
Unfortunately I can't apply the same trick for BMenu since it opens the
submenu with a delay, and that won't work anymore.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24296 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 36aa2198 Fri Apr 14 18:42:34 MDT 2006 Stefano Ceccherini <stefano.ceccherini@gmail.com> Some more changes, fixed bug 487, added a small hysteresis so menus could be more nice to navigate, some corrections in popupmenu

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17134 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 36aa2198 Fri Apr 14 18:42:34 MDT 2006 Stefano Ceccherini <stefano.ceccherini@gmail.com> Some more changes, fixed bug 487, added a small hysteresis so menus could be more nice to navigate, some corrections in popupmenu

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17134 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 31e911da Thu Dec 30 04:03:36 MST 2004 Stefano Ceccherini <stefano.ceccherini@gmail.com> Fixed BMenuBar drawing. Managed to have BMenu working (partially) with BMenuBar.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10551 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff c7499649 Fri Dec 24 10:45:36 MST 2004 Stefano Ceccherini <stefano.ceccherini@gmail.com> Hacked BMenuBar into something working, not yet with our own BMenu but with beos's one. B_WILL_FIX our BMenu. Not everything work, though.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10529 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 556f83c6f78235c08890d1658b9b6d5e3e92bc7a Fri Mar 07 14:26:36 MST 2008 Stefano Ceccherini <stefano.ceccherini@gmail.com> In the menubar tracking function, loop indefinitely if mouse stands
still. This way keyboard menu navigation works much better.
Unfortunately I can't apply the same trick for BMenu since it opens the
submenu with a delay, and that won't work anymore.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24296 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 36aa2198b715fd6f8440f73355c22cc951c4f22d Fri Apr 14 18:42:34 MDT 2006 Stefano Ceccherini <stefano.ceccherini@gmail.com> Some more changes, fixed bug 487, added a small hysteresis so menus could be more nice to navigate, some corrections in popupmenu

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17134 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 31e911da16b7d9a49f86013d0982f2a7507ed0b7 Thu Dec 30 04:03:36 MST 2004 Stefano Ceccherini <stefano.ceccherini@gmail.com> Fixed BMenuBar drawing. Managed to have BMenu working (partially) with BMenuBar.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10551 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff c74996495adb0875de384346dfaeffd20d031d73 Fri Dec 24 10:45:36 MST 2004 Stefano Ceccherini <stefano.ceccherini@gmail.com> Hacked BMenuBar into something working, not yet with our own BMenu but with beos's one. B_WILL_FIX our BMenu. Not everything work, though.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10529 a95241bf-73f2-0310-859d-f6bbb57e9c96
H A DMenu.cppdiff 8fbce873 Sun Jun 21 13:36:41 MDT 2020 X512 <danger_mail@list.ru> BMenu: implement scripting

Fixes #15540.

Change-Id: I965d04bcbb6db41cc7a744d18fa3c9ffab2a81f1
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2941
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
diff e10de1ec Thu Jul 12 09:36:09 MDT 2018 Ryan Leavengood <leavengood@gmail.com> Visually align shortcuts in menus

In a menu, we use the right side both for submenu arrows and shortcuts.
As a result, when an entry has both a shortcut and a submenu, its
shortcut is not aligned with others, and this does not look so nice.

The spacing for the arrow appears only if there is a submenu in any of
the items in the parent menu.

Change-Id: If91fdcdad36abb0141fb05d1f59141f89540c1db
Reviewed-on: https://review.haiku-os.org/c/haiku/+/355
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Reviewed-by: Ryan Leavengood <leavengood@gmail.com>
diff 52a022f2 Fri Dec 21 22:36:30 MST 2018 Augustin Cavalier <waddlesplash@gmail.com> BMenu: Accept any alphanumeric ASCII character on the first trigger pass.

Since we use sentence-cased menus, there is probably only one capital
letter in the line, so looking for only capitals won't be very useful.
Instead, accept any ASCII character (< 255) which is alphanumeric,
as these are more likely to be command-able in any given keymap.

(IsAlNum returns true for accented Latin characters also, which may
be un-command-able if they require dead keys to type.)
diff 60a7f115 Sat Aug 24 18:22:36 MDT 2013 John Scipione <jscipione@gmail.com> Menu: Handle Keyboard input better.

When you push an arrow key obscure the cursor so that it doesn't get in the
way of the menu items. BeOS R5 also did this.

When you select an item with Enter or Space, or cancel with Escape, set the
super menu to close in _QuitTracking() if you've specified onlyThis == false.
Also, show the cursor here in case you haven't moved the mouse since it was
obscured.

This fixes a problem where when you select an item in a menu via the keyboard
while your mouse is over the parent menu item or menu field it would pop the
menu back up again even though you've made your selection or cancelled.
diff cd9af8e7 Sat May 01 19:36:38 MDT 2010 Rene Gollent <anevilyak@gmail.com> Reverted r35463 and applied a patch by Stefano to handle the Terminal context
menu issue a different way. Should fix #5835.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36575 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff c944d11f Tue Apr 13 07:36:49 MDT 2010 Stephan Aßmus <superstippi@gmx.de> bonefish+stippi:
All views which cache layout information need to call ResetLayoutInvalidation()
when they have updated the cached information. Otherwise calling
InvalidateLayout() once they are already attached to a layout may not have any
effect.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36217 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff d587e0fb Fri Aug 21 13:36:07 MDT 2009 Axel Dörfler <axeld@pinc-software.de> * Not sure why we are that generous (copying BView behaviour), but pressing
Alt, Option, or Control while scrolling the menu via the mouse wheel now
scrolls page wise.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32581 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 33e0d2e4 Thu Jul 30 17:26:36 MDT 2009 Rene Gollent <anevilyak@gmail.com> Also remove no longer needed variable.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32003 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff c3f006de Thu Jun 12 18:36:06 MDT 2008 Alexandre Deckner <alex@zappotek.com> - initialize the variable, we never know :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25949 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 20817b77 Mon Jan 07 15:55:36 MST 2008 Stefano Ceccherini <stefano.ceccherini@gmail.com> Double sorry...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23284 a95241bf-73f2-0310-859d-f6bbb57e9c96

Completed in 280 milliseconds