Searched +hist:0 +hist:f11085c (Results 1 - 3 of 3) sorted by relevance

/haiku/headers/os/interface/
H A DMenuItem.hdiff 0f11085c Tue Apr 04 07:02:52 MDT 2006 Axel Dörfler <axeld@pinc-software.de> * Rewrote MenuItem.h (we're no longer using Be's header).
* Renamed private SetSysTrigger() to SetAutomaticTrigger().
* Added the '_' prefix to private methods that aren't called by anything outside
BMenuItem (ie. no friend classes either).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17005 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 0f11085c Tue Apr 04 07:02:52 MDT 2006 Axel Dörfler <axeld@pinc-software.de> * Rewrote MenuItem.h (we're no longer using Be's header).
* Renamed private SetSysTrigger() to SetAutomaticTrigger().
* Added the '_' prefix to private methods that aren't called by anything outside
BMenuItem (ie. no friend classes either).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17005 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff bd780d99 Tue Apr 04 05:34:25 MDT 2006 Axel Dörfler <axeld@pinc-software.de> Implemented _DrawControlChar() - for some reason, though, they get still not
drawn (glyph cache returns character 0 for them), even though FontInspector
under Dano shows those arrows in the fonts used... need to check under R5
as well. This fixes the BMenuItem part of bug #158.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17003 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 0f11085c6cb253405a96edd783bd77f668c05c8c Tue Apr 04 07:02:52 MDT 2006 Axel Dörfler <axeld@pinc-software.de> * Rewrote MenuItem.h (we're no longer using Be's header).
* Renamed private SetSysTrigger() to SetAutomaticTrigger().
* Added the '_' prefix to private methods that aren't called by anything outside
BMenuItem (ie. no friend classes either).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17005 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff bd780d99357b568d6b1cf48db58508f3ee1b6450 Tue Apr 04 05:34:25 MDT 2006 Axel Dörfler <axeld@pinc-software.de> Implemented _DrawControlChar() - for some reason, though, they get still not
drawn (glyph cache returns character 0 for them), even though FontInspector
under Dano shows those arrows in the fonts used... need to check under R5
as well. This fixes the BMenuItem part of bug #158.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17003 a95241bf-73f2-0310-859d-f6bbb57e9c96
/haiku/src/kits/interface/
H A DMenuItem.cppdiff 89b4e5d2 Mon Dec 04 09:45:18 MST 2023 John Scipione <jscipione@gmail.com> BMenuItem: Add B_BACKSPACE and B_DELETE UTF-8 shortcut chars

U+232B Erase To The Left
U+2326 Erase To The Right

Special case B_DELETE so we don't have to fill out kUTF8ControlMap
with NULLs to get to the last char of the ASCII table at 0x7f.

Lowercase the A in the B_SPACE hex string matching other cases.

Change-Id: Ia5d793112ae8063dfe58366c9dd10d6e616af350
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7177
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
diff 0f11085c Tue Apr 04 07:02:52 MDT 2006 Axel Dörfler <axeld@pinc-software.de> * Rewrote MenuItem.h (we're no longer using Be's header).
* Renamed private SetSysTrigger() to SetAutomaticTrigger().
* Added the '_' prefix to private methods that aren't called by anything outside
BMenuItem (ie. no friend classes either).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17005 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 0f11085c Tue Apr 04 07:02:52 MDT 2006 Axel Dörfler <axeld@pinc-software.de> * Rewrote MenuItem.h (we're no longer using Be's header).
* Renamed private SetSysTrigger() to SetAutomaticTrigger().
* Added the '_' prefix to private methods that aren't called by anything outside
BMenuItem (ie. no friend classes either).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17005 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff bd780d99 Tue Apr 04 05:34:25 MDT 2006 Axel Dörfler <axeld@pinc-software.de> Implemented _DrawControlChar() - for some reason, though, they get still not
drawn (glyph cache returns character 0 for them), even though FontInspector
under Dano shows those arrows in the fonts used... need to check under R5
as well. This fixes the BMenuItem part of bug #158.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17003 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 0c14fc6d Wed Jan 19 02:03:47 MST 2005 Stefano Ceccherini <stefano.ceccherini@gmail.com> Changes to make BMenu behave correctly. Implemented SetTrackingHook(). AddItem() calls the debugger in some cases, as it should. Cleanups.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10868 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 0f11085c6cb253405a96edd783bd77f668c05c8c Tue Apr 04 07:02:52 MDT 2006 Axel Dörfler <axeld@pinc-software.de> * Rewrote MenuItem.h (we're no longer using Be's header).
* Renamed private SetSysTrigger() to SetAutomaticTrigger().
* Added the '_' prefix to private methods that aren't called by anything outside
BMenuItem (ie. no friend classes either).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17005 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff bd780d99357b568d6b1cf48db58508f3ee1b6450 Tue Apr 04 05:34:25 MDT 2006 Axel Dörfler <axeld@pinc-software.de> Implemented _DrawControlChar() - for some reason, though, they get still not
drawn (glyph cache returns character 0 for them), even though FontInspector
under Dano shows those arrows in the fonts used... need to check under R5
as well. This fixes the BMenuItem part of bug #158.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17003 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 0c14fc6dfd02183cabee248c9768c3b8b02fc69d Wed Jan 19 02:03:47 MST 2005 Stefano Ceccherini <stefano.ceccherini@gmail.com> Changes to make BMenu behave correctly. Implemented SetTrackingHook(). AddItem() calls the debugger in some cases, as it should. Cleanups.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10868 a95241bf-73f2-0310-859d-f6bbb57e9c96
H A DMenu.cppdiff 0f792e57 Mon Feb 12 02:31:04 MST 2024 Jérôme Duval <jerome.duval@gmail.com> BMenu: std::stable_sort uses a comparator function returning bool

thanks Madmax for the pointer.
fixes #18775

Change-Id: I1934c90a2976ce12c4aa8adb0205c48c239627d8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7401
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
diff 0a53cbb3 Sun Aug 01 13:44:40 MDT 2021 John Scipione <jscipione@gmail.com> BMenu: Add SortItems(), SwapItems() and MoveItem()

... methods which call the respective methods in BList.

These convinience methods allow you to sort a menu of menu items
via a compare function, swap two menu items, or move a menu item
to a new index. Update items layout if menu is open.

Previously there was no easy way to rearrange menu items in a menu.

Change-Id: Ice3d6e5404e895196d8bd32d696dce7c55bd72d4
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4296
Reviewed-by: John Scipione <jscipione@gmail.com>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
diff 0a973154 Tue Jan 08 17:50:52 MST 2019 Augustin Cavalier <waddlesplash@gmail.com> BMenu: Look for ASCII characters < 128, not < 255.

Otherwise we will include ISO 8859-15 (é, à, etc.)
Thanks to PulkoMandy for pointing this out!
diff 346d1496 Sun Nov 05 10:38:59 MST 2017 Humdinger <humdingerb@gmail.com> Properly terminate property_info lists

BListView's property_info list lacked termination, resulting in
garbage output at the and of 'hey getsuites'.

Use { 0 } everywhere for sake of consistency.

Thanks to waddlesplash for spotting the bug an providing the easy fix.
diff 0eb59784 Sat Oct 18 14:23:23 MDT 2014 Adrien Destugues <pulkomandy@gmail.com> BMenu: don't invalidate layout when changing marked item

* The layout does not need to change. The label may change in
SetLabelFromMarked mode, but this only affects the layout of the parent
menu.
* This would crash when programatically changing the menu marked item
while the menu is open.
diff 0b4c2d32 Thu Oct 31 14:45:43 MDT 2013 Ingo Weinhold <ingo_weinhold@gmx.de> BMenu: Use shift modifier for page-wise wheel scrolling

Fixes part of #9907.
diff 0eed2a7c Thu Aug 02 21:16:18 MDT 2012 Ryan Leavengood <leavengood@gmail.com> Fix flickering menus, especially menu bars.

Figured out by Stephan originally and only hacked in WebPositive, I knew
something about WebPositive was different because it did not flicker when
everything else did.

Since we fully draw the menus there is no need to have app_server fill in the
background with the view color. That is what was causing the flickering.

Should fix #484, #532 and #4335. Thanks diver for confirming the patch against
those tickets.
diff 0cf1ecfb Fri May 14 18:40:59 MDT 2010 Stephan Aßmus <superstippi@gmx.de> Patch by Ziusudra: Fixes navigation in to and out of sub menus with the cursor
keys. Thanks! Closes ticket #5996.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36819 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 0dcf122e Mon May 29 09:41:09 MDT 2006 Axel Dörfler <axeld@pinc-software.de> Removed now incorrect comment.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17634 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 0e0b8fd5 Wed Apr 12 05:25:59 MDT 2006 Stefano Ceccherini <stefano.ceccherini@gmail.com> more fixes

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

Completed in 246 milliseconds